diff options
author | Shirish S <s.shirish@samsung.com> | 2014-04-03 19:11:02 +0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-06-01 21:07:15 +0400 |
commit | 6a296e20499f8aa15d4939bf3d4c13dbf81c948c (patch) | |
tree | 403cb791a1f42c1d17b237e012e20ad537a70c2a /drivers/gpu/drm/exynos/regs-hdmi.h | |
parent | 85a64f7cc95bef1941d923cf6263460638d6e2ab (diff) | |
download | linux-6a296e20499f8aa15d4939bf3d4c13dbf81c948c.tar.xz |
drm/exynos: add hdmiphy power on/off sequence
This patch implements the power on/off sequence
of HDMI PHY in exynos5420 and exynos5250 as provided
by the hardware team.
This has been verified for mulitple iterations of
S2R.
Signed-off-by: Shirish S <s.shirish@samsung.com>
Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/regs-hdmi.h')
-rw-r--r-- | drivers/gpu/drm/exynos/regs-hdmi.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/regs-hdmi.h b/drivers/gpu/drm/exynos/regs-hdmi.h index 6d846b979045..3f35ac6d8a47 100644 --- a/drivers/gpu/drm/exynos/regs-hdmi.h +++ b/drivers/gpu/drm/exynos/regs-hdmi.h @@ -579,7 +579,12 @@ #define HDMI_TG_3D HDMI_TG_BASE(0x00F0) /* HDMI PHY Registers Offsets*/ -#define HDMIPHY_MODE_SET_DONE (0x7C >> 2) +#define HDMIPHY_POWER (0x74 >> 2) +#define HDMIPHY_MODE_SET_DONE (0x7c >> 2) + +/* HDMI PHY Values */ +#define HDMI_PHY_POWER_ON 0x80 +#define HDMI_PHY_POWER_OFF 0xff /* HDMI PHY Values */ #define HDMI_PHY_DISABLE_MODE_SET 0x80 |