diff options
author | Archit Taneja <architt@codeaurora.org> | 2016-02-25 08:52:44 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-02-29 17:48:32 +0300 |
commit | e17afdceb4f2f40d5877fb26c91cc380b00a2c51 (patch) | |
tree | 841191930e16ced469cd562929dea73bebefca8c /drivers/gpu/drm/msm/hdmi/hdmi_phy.c | |
parent | e9a2ce1349d4e3698676d7903aa448b2422a3629 (diff) | |
download | linux-e17afdceb4f2f40d5877fb26c91cc380b00a2c51.tar.xz |
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_phy.c')
-rw-r--r-- | drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c index 9ad4573b6fd5..4bfeb0ededaf 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c @@ -127,6 +127,9 @@ static int hdmi_phy_pll_init(struct platform_device *pdev, case MSM_HDMI_PHY_8960: ret = hdmi_pll_8960_init(pdev); break; + case MSM_HDMI_PHY_8996: + ret = hdmi_pll_8996_init(pdev); + break; /* * we don't have PLL support for these, don't report an error for now */ @@ -202,6 +205,8 @@ static const struct of_device_id hdmi_phy_dt_match[] = { .data = &hdmi_phy_8x74_cfg }, { .compatible = "qcom,hdmi-phy-8084", .data = &hdmi_phy_8x74_cfg }, + { .compatible = "qcom,hdmi-phy-8996", + .data = &hdmi_phy_8996_cfg }, {} }; |