diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-01-17 09:29:06 +0100 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-01-18 04:59:36 +0100 |
commit | faba6c3cff177689aec132291b1cf537831d9a2e (patch) | |
tree | 648aaf7b1770c62924f1de706215138a123a5317 /include/drm/bridge/dw_hdmi.h | |
parent | drm: bridge: dw-hdmi: Handle overflow workaround based on device version (diff) | |
download | linux-faba6c3cff177689aec132291b1cf537831d9a2e.tar.xz linux-faba6c3cff177689aec132291b1cf537831d9a2e.zip |
drm: bridge: dw-hdmi: Detect PHY type at runtime
Detect the PHY type and use it to handle the PHY type-specific SVSRET
signal.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170117082910.27023-17-laurent.pinchart+renesas@ideasonboard.com
Diffstat (limited to 'include/drm/bridge/dw_hdmi.h')
-rw-r--r-- | include/drm/bridge/dw_hdmi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h index 3bb22a849830..b080a171a23f 100644 --- a/include/drm/bridge/dw_hdmi.h +++ b/include/drm/bridge/dw_hdmi.h @@ -27,6 +27,16 @@ enum dw_hdmi_devtype { RK3288_HDMI, }; +enum dw_hdmi_phy_type { + DW_HDMI_PHY_DWC_HDMI_TX_PHY = 0x00, + DW_HDMI_PHY_DWC_MHL_PHY_HEAC = 0xb2, + DW_HDMI_PHY_DWC_MHL_PHY = 0xc2, + DW_HDMI_PHY_DWC_HDMI_3D_TX_PHY_HEAC = 0xe2, + DW_HDMI_PHY_DWC_HDMI_3D_TX_PHY = 0xf2, + DW_HDMI_PHY_DWC_HDMI20_TX_PHY = 0xf3, + DW_HDMI_PHY_VENDOR_PHY = 0xfe, +}; + struct dw_hdmi_mpll_config { unsigned long mpixelclock; struct { |