linux/include/drm/bridge
Cristian Ciocaltea f7a1de0d86 drm/bridge: dw-hdmi-qp: Fixup timer base setup
Currently the TIMER_BASE_CONFIG0 register gets initialized to a fixed
value as initially found in vendor driver code supporting the RK3588
SoC.  As a matter of fact the value matches the rate of the HDMI TX
reference clock, which is roughly 428.57 MHz.

However, on RK3576 SoC that rate is slightly lower, i.e. 396.00 MHz, and
the incorrect register configuration breaks CEC functionality.

Set the timer base according to the actual reference clock rate that
shall be provided by the platform driver.  Otherwise fallback to the
vendor default.

While at it, also drop the unnecessary empty lines in
dw_hdmi_qp_init_hw().

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250903-rk3588-hdmi-cec-v4-2-fa25163c4b08@collabora.com
2025-10-15 22:28:03 +02:00
..
analogix_dp.h drm/bridge: analogix_dp: Add support for RK3588 2025-04-21 01:27:10 +03:00
aux-bridge.h drm/bridge: aux-hpd-bridge: correct devm_drm_dp_hpd_bridge_add() stub 2024-05-11 13:02:14 +01:00
dw_dp.h drm/bridge: synopsys: Add DW DPTX Controller support library 2025-08-28 15:49:51 +03:00
dw_hdmi.h drm/bridge: imx: add driver for HDMI TX Parallel Audio Interface 2025-09-29 09:46:04 +08:00
dw_hdmi_qp.h drm/bridge: dw-hdmi-qp: Fixup timer base setup 2025-10-15 22:28:03 +02:00
dw_mipi_dsi.h drm/bridge: synopsys: dw-mipi-dsi: Add mode fixup support 2023-10-16 11:38:42 +02:00
dw_mipi_dsi2.h drm/bridge/synopsys: Add MIPI DSI2 host controller bridge 2024-12-10 23:53:04 +01:00
imx.h drm/imx: add forward declarations for types 2024-10-09 17:39:49 +03:00
mhl.h drm/bridge/mhl.h: Replace zero-length array with flexible-array member 2020-03-06 11:52:01 +01:00
samsung-dsim.h drm/bridge: samsung-dsim: add driver support for exynos7870 DSIM bridge 2025-09-15 19:55:15 +09:00