summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/regs-hdmi.h
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2014-05-20 10:36:05 +0530
committerInki Dae <daeinki@gmail.com>2014-06-02 02:07:09 +0900
commit049d34e94f9aa2c3ed22a7bad75dd188ec7dacb9 (patch)
tree644a0638e2f35b8f3224e2a7ad5494f68d6257a9 /drivers/gpu/drm/exynos/regs-hdmi.h
parent122beea84bb90236b1ae545f08267af58591c21b (diff)
drm/exynos: use regmap interface to set hdmiphy control bit in pmu
Exynos drm hdmi driver used to get dummy hdmiphy clock to control the PMU bit for hdmiphy. This bit needs to be set before setting any resolution to hdmi hardware. This was handled using dummy hdmiphy clock which is removed here. PMU is already defined as system controller for exynos SoCs. Hdmi driver is modified to control the phy enable bit inside PMU using regmap interfaces. Devicetree binding document for hdmi is also updated. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/regs-hdmi.h b/drivers/gpu/drm/exynos/regs-hdmi.h
index 84a69cdd8e8d..6d846b979045 100644
--- a/drivers/gpu/drm/exynos/regs-hdmi.h
+++ b/drivers/gpu/drm/exynos/regs-hdmi.h
@@ -585,4 +585,8 @@
#define HDMI_PHY_DISABLE_MODE_SET 0x80
#define HDMI_PHY_ENABLE_MODE_SET 0x00
+/* PMU Registers for PHY */
+#define PMU_HDMI_PHY_CONTROL 0x700
+#define PMU_HDMI_PHY_ENABLE_BIT BIT(0)
+
#endif /* SAMSUNG_REGS_HDMI_H */