summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/hdmi/hdmi.h
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-02-25 11:22:44 +0530
committerRob Clark <robdclark@gmail.com>2016-02-29 09:48:32 -0500
commite17afdceb4f2f40d5877fb26c91cc380b00a2c51 (patch)
tree841191930e16ced469cd562929dea73bebefca8c /drivers/gpu/drm/msm/hdmi/hdmi.h
parente9a2ce1349d4e3698676d7903aa448b2422a3629 (diff)
downloadlinux-e17afdceb4f2f40d5877fb26c91cc380b00a2c51.tar.bz2
drm/msm/hdmi: HDMI 8996 PHY/PLL support
Add support for the HDMI PHY/PLL found in MSM8996/APQ8096. Unlike the previous PHYs supported in the driver, this doesn't need the powerup/powerdown ops. The PLL prepare/unprepare clock ops enable/disable the phy itself. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/hdmi/hdmi.h')
-rw-r--r--drivers/gpu/drm/msm/hdmi/hdmi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.h b/drivers/gpu/drm/msm/hdmi/hdmi.h
index 1f498b017b93..88557e59f750 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi.h
+++ b/drivers/gpu/drm/msm/hdmi/hdmi.h
@@ -147,6 +147,7 @@ enum hdmi_phy_type {
MSM_HDMI_PHY_8x60,
MSM_HDMI_PHY_8960,
MSM_HDMI_PHY_8x74,
+ MSM_HDMI_PHY_8996,
MSM_HDMI_PHY_MAX,
};
@@ -163,6 +164,7 @@ struct hdmi_phy_cfg {
extern const struct hdmi_phy_cfg hdmi_phy_8x60_cfg;
extern const struct hdmi_phy_cfg hdmi_phy_8960_cfg;
extern const struct hdmi_phy_cfg hdmi_phy_8x74_cfg;
+extern const struct hdmi_phy_cfg hdmi_phy_8996_cfg;
struct hdmi_phy {
struct platform_device *pdev;
@@ -192,11 +194,17 @@ void __exit hdmi_phy_driver_unregister(void);
#ifdef CONFIG_COMMON_CLK
int hdmi_pll_8960_init(struct platform_device *pdev);
+int hdmi_pll_8996_init(struct platform_device *pdev);
#else
int hdmi_pll_8960_init(struct platform_device *pdev);
{
return -ENODEV;
}
+
+int hdmi_pll_8996_init(struct platform_device *pdev)
+{
+ return -ENODEV;
+}
#endif
/*