summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/regs-hdmi.h
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2012-11-28 11:30:25 +0530
committerInki Dae <inki.dae@samsung.com>2012-12-14 15:40:49 +0900
commita55622570dc3e2d294db2ca7677cc32d65dfbf33 (patch)
tree4d32dddb29a143261390cb44e7a24c16ab3ae473 /drivers/gpu/drm/exynos/regs-hdmi.h
parent000f13083d38681eaa3038c65d499f6ad5d62625 (diff)
downloadlinux-a55622570dc3e2d294db2ca7677cc32d65dfbf33.tar.gz
drm/exynos: add support for hdmiphy power control for exynos5
This patch adds support for controlling power of hdmi phy for exynos5 soc. A special bit is provided in exynos5 for directly switching of PHY while in exynos4, phy power needs to be controlled through i2c settings. I2C configuration may affect the suspend to resume and wake-up time requirements hence not added. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/regs-hdmi.h b/drivers/gpu/drm/exynos/regs-hdmi.h
index 970cdb518eb1..ef1b3eb3ba6e 100644
--- a/drivers/gpu/drm/exynos/regs-hdmi.h
+++ b/drivers/gpu/drm/exynos/regs-hdmi.h
@@ -176,6 +176,11 @@
#define HDMI_PHY_CMU HDMI_CTRL_BASE(0x007C)
#define HDMI_CORE_RSTOUT HDMI_CTRL_BASE(0x0080)
+/* PHY Control bit definition */
+
+/* HDMI_PHY_CON_0 */
+#define HDMI_PHY_POWER_OFF_EN (1 << 0)
+
/* Video related registers */
#define HDMI_YMAX HDMI_CORE_BASE(0x0060)
#define HDMI_YMIN HDMI_CORE_BASE(0x0064)