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:40 +0530
committerRob Clark <robdclark@gmail.com>2016-02-29 09:48:30 -0500
commite00012b256d402efe5cd1c17571524be645af6e4 (patch)
treec6b7afee3fa7d71f29afa0181c4ebd25d1041bec /drivers/gpu/drm/msm/hdmi/hdmi.h
parentea184891b60dd202aa151828c04ec7f7b97502e5 (diff)
downloadlinux-e00012b256d402efe5cd1c17571524be645af6e4.tar.gz
linux-e00012b256d402efe5cd1c17571524be645af6e4.tar.bz2
linux-e00012b256d402efe5cd1c17571524be645af6e4.zip
drm/msm/hdmi: Make HDMI core get its PHY
Make HDMI core get its PHY by parsing the "phys" phandle. The core will use this PHY reference to enable/disable PHY. The driver defers probe until PHY isn't available. The DT bindings used here is the same as the one used for PHYs using the common PHY framework bindings. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.h b/drivers/gpu/drm/msm/hdmi/hdmi.h
index 1beace8bcb4b..f8122cf099b1 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi.h
+++ b/drivers/gpu/drm/msm/hdmi/hdmi.h
@@ -70,6 +70,8 @@ struct hdmi {
struct clk **pwr_clks;
struct hdmi_phy *phy;
+ struct device *phy_dev;
+
struct i2c_adapter *i2c;
struct drm_connector *connector;
struct drm_bridge *bridge;