Re: Fwd: [PATCH v5 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-10-01 Thread Zheng Yang
Hi, Heiko: Reviewed-by: zhengyang The rk3328 uses a dw-hdmi controller with an external hdmi phy from Innosilicon which uses the generic phy framework for access. Add the necessary data and the compatible for the rk3328 to the rockchip dw-hdmi driver. Signed-off-by: Heiko Stuebner Tested-by

Re: Fwd: [PATCH v5 4/6] drm/rockchip: dw_hdmi: allow including external phys

2018-09-28 Thread Zheng Yang
Hi, Heiko: Reviewed-by: zhengyang Some variants of the dw-hdmi on Rockchip socs use a separate phy block accessed via the generic phy framework, so allow them to be included if such a phy reference is found. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy ---  drivers/gpu/drm/rockchip

Re: Fwd: [PATCH v5 5/6] drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object

2018-09-28 Thread Zheng Yang
Hi, Heiko: Reviewed-by: zhengyang When using special phy handling operations we'll often need access to the rockchip_hdmi struct. As the chip-data that occupies the phy_data pointer initially gets assigned to the rockchip_hdmi struct, we can now re-use this phy_data pointer to hold the refer

Re: [PATCH v5 1/6] drm/bridge: dw-hdmi: allow forcing vendor phy-type

2018-09-28 Thread Zheng Yang
Hi, Heiko: Reviewed-by: zhengyang In some IP implementations the reading of the phy-type may be broken. One example are the Rockchip rk3228 and rk3328 socs that use a separate vendor-type phy from Innosilicon but still report the HDMI20_TX type. So allow the glue driver to force the vendor-p

Re: Fwd: [PATCH v5 2/6] drm/rockchip: dw_hdmi: Allow outputs that don't need output switching

2018-09-28 Thread Zheng Yang
Hi, Heiko: Hi, Heiko: Hi, Heiko: Reviewed-by: zhengyang So far we always encountered socs with 2 output crtcs needing the driver to tell the hdmi block which output to connect to. But there also exist socs with only one crtc like the rk3228, rk3328 and rk3368. So adapt the register field t

Re: [PATCH] drm: bridge: synopsys/dw-hdmi: Provide default configuration function for HDMI 2.0 PHY

2017-06-22 Thread Zheng Yang
Hi, Jose: The value of RK3399 reg HDMI_CONFIG2_ID is 0xf3. Using hdmi_phy_configure_dwc_hdmi_3d_tx() for hdmi 2.0 phy, we test all HDMI video mode(including 594MHz) and it woks good. And our customer has pass the HDMI CTS. If you send a patch with a general config function fo