drm: bridge: dw-hdmi: add default phy function for DW_HDMI_PHY_DWC_HDMI20_TX_PHY
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 28 Apr 2017 02:59:31 +0000 (10:59 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Tue, 2 May 2017 07:20:39 +0000 (15:20 +0800)
DWC HDMI 2.0 TX PHY has the same register layout with DWC HDMI
MHL TX PHY, so we use hdmi_phy_configure_dwc_hdmi_3d_tx as
DW_HDMI_PHY_DWC_HDMI20_TX_PHY default configuration function.

Change-Id: Ib50464b9eef87707a8597493cc05e61a1ecde240
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c

index 15155fa25325e5bdc970e9b7a4cff3041da28d3e..dc3fe9f0f1d2126bcd15214f765dd074c286175f 100644 (file)
@@ -2352,6 +2352,7 @@ static const struct dw_hdmi_phy_data dw_hdmi_phys[] = {
                .name = "DWC HDMI 2.0 TX PHY",
                .gen = 2,
                .has_svsret = true,
+               .configure = hdmi_phy_configure_dwc_hdmi_3d_tx,
        }, {
                .type = DW_HDMI_PHY_VENDOR_PHY,
                .name = "Vendor PHY",