diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2015-01-07 10:48:27 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-01-07 20:32:00 +0300 |
commit | 12b9f204e804b2a6c65a6662b1fbe2449bca677f (patch) | |
tree | 83cc469366dae142129fdc7e4d5fd1429b5d1bb1 /drivers/gpu/drm/bridge/dw_hdmi.c | |
parent | 74af9e4d03b80c79ee0c21be0a35ec348ffc74ea (diff) | |
download | linux-12b9f204e804b2a6c65a6662b1fbe2449bca677f.tar.xz |
drm: bridge/dw_hdmi: add rockchip rk3288 support
Rockchip RK3288 hdmi is compatible with dw_hdmi
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/bridge/dw_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/bridge/dw_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c index 3a97c8419d4f..80bb512a869f 100644 --- a/drivers/gpu/drm/bridge/dw_hdmi.c +++ b/drivers/gpu/drm/bridge/dw_hdmi.c @@ -852,6 +852,9 @@ static int hdmi_phy_configure(struct dw_hdmi *hdmi, unsigned char prep, dw_hdmi_phy_gen2_txpwron(hdmi, 1); dw_hdmi_phy_gen2_pddq(hdmi, 0); + if (hdmi->dev_type == RK3288_HDMI) + dw_hdmi_phy_enable_spare(hdmi, 1); + /*Wait for PHY PLL lock */ msec = 5; do { |