drm/msm: add hdmi support for apq8x74/mdp5
authorRob Clark <robdclark@gmail.com>
Sun, 1 Dec 2013 17:12:54 +0000 (12:12 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 9 Jan 2014 19:44:05 +0000 (14:44 -0500)
commitdada25bd22a52a4351357209a8c227070cfd406d
treea90fd5973a2f7d730cec2918875a0006a1e3d3e8
parent9e0efa63565511dc75846e6b036a4b80e92b9a98
drm/msm: add hdmi support for apq8x74/mdp5

The HDMI block is basically the same between older SoC's with mdp4
display controller, and newer ones with mdp5.

So mostly this consists of better abstracting out the different sets of
regulators, clks, etc.  In particular, for regulators and clks we can
split it up by what is needed for hot plug detect to work, and what is
needed to light up the display.

Also, 8x74 has a new phy.. a very simple one, but split out into a
different mmio space.  And with mdp5, the irq is shared with mdp, so we
don't directly register our own irq handler.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/hdmi/hdmi.c
drivers/gpu/drm/msm/hdmi/hdmi.h
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c
drivers/gpu/drm/msm/hdmi/hdmi_connector.c
drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c [new file with mode: 0644]
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/msm_drv.h