summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/Makefile
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-02-25 06:52:39 +0100
committerRob Clark <robdclark@gmail.com>2016-02-29 15:48:30 +0100
commitea184891b60dd202aa151828c04ec7f7b97502e5 (patch)
treea7a6f087beac52f44a25e8220b810fd811c28f66 /drivers/gpu/drm/msm/Makefile
parentdrm/msm/hdmi: Create a separate HDMI PHY driver (diff)
downloadlinux-ea184891b60dd202aa151828c04ec7f7b97502e5.tar.xz
linux-ea184891b60dd202aa151828c04ec7f7b97502e5.zip
drm/msm/hdmi: Manage HDMI PLL through PHY driver
Add a helper to initialize PLL in the PHY driver. HDMI PLLs are going to have their own mmio base different from that of PHY. For the clock code in hdmi_phy_8960.c, some changes were needed for it to work with the updated register offsets. Create a copy of the updated clock code in hdmi_pll_8960.c, instead of rewriting it in hdmi_phy_8960.c itself. This removes the need to place CONFIG_COMMON_CLOCK checks all around, makes the code more legible, and also removes some old checkpatch warnings with the original code. The older hdmi pll clock ops in hdmi_phy_8960.c will be removed later. The driver will use these until the HDMI PHY/PLL register offsets aren't considered as separate domains (i.e. their offsets start from 0). Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/Makefile')
-rw-r--r--drivers/gpu/drm/msm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/Makefile b/drivers/gpu/drm/msm/Makefile
index 6ad0f7e625e7..0c5c9c2c2049 100644
--- a/drivers/gpu/drm/msm/Makefile
+++ b/drivers/gpu/drm/msm/Makefile
@@ -53,6 +53,7 @@ msm-y := \
msm-$(CONFIG_DRM_FBDEV_EMULATION) += msm_fbdev.o
msm-$(CONFIG_COMMON_CLK) += mdp/mdp4/mdp4_lvds_pll.o
+msm-$(CONFIG_COMMON_CLK) += hdmi/hdmi_pll_8960.o
msm-$(CONFIG_DRM_MSM_DSI) += dsi/dsi.o \
mdp/mdp4/mdp4_dsi_encoder.o \