mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
The dw_hdmi-rockchip driver validates pixel clock rates against the HDMI PHY's internal clock provider on certain SoCs like RK3328. This is currently achieved by dereferencing hdmi->phy->dev.of_node to obtain the provider node, which violates the Generic PHY API's encapsulation (the goal is for struct phy to be an opaque pointer with a hidden definition, to be interacted with only using API functions or NULL pointer checks, for the case where optional variants of phy_get() did not find a PHY). Refactor dw_hdmi_rockchip_bind() to perform a manual phandle lookup on the "hdmi" PHY index within the controller's DT node. This provides a parallel path to the clock provider's OF node without relying on the internal structure of the struct phy handle. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/20260505100523.1922388-16-vladimir.oltean@nxp.com |
||
|---|---|---|
| .. | ||
| analogix_dp-rockchip.c | ||
| cdn-dp-core.c | ||
| cdn-dp-core.h | ||
| cdn-dp-reg.c | ||
| cdn-dp-reg.h | ||
| dw_dp-rockchip.c | ||
| dw_hdmi_qp-rockchip.c | ||
| dw_hdmi-rockchip.c | ||
| dw-mipi-dsi-rockchip.c | ||
| dw-mipi-dsi2-rockchip.c | ||
| inno_hdmi-rockchip.c | ||
| Kconfig | ||
| Makefile | ||
| rk3066_hdmi.c | ||
| rk3066_hdmi.h | ||
| rockchip_drm_drv.c | ||
| rockchip_drm_drv.h | ||
| rockchip_drm_fb.c | ||
| rockchip_drm_fb.h | ||
| rockchip_drm_gem.c | ||
| rockchip_drm_gem.h | ||
| rockchip_drm_vop.c | ||
| rockchip_drm_vop.h | ||
| rockchip_drm_vop2.c | ||
| rockchip_drm_vop2.h | ||
| rockchip_lvds.c | ||
| rockchip_lvds.h | ||
| rockchip_rgb.c | ||
| rockchip_rgb.h | ||
| rockchip_vop_reg.c | ||
| rockchip_vop_reg.h | ||
| rockchip_vop2_reg.c | ||