]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: rockchip: samsung-hdptx: Setup TMDS char rate via phy_configure_opts_hdmi
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 18 Mar 2025 12:35:43 +0000 (14:35 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Apr 2025 11:48:04 +0000 (17:18 +0530)
commitc871a311edf0ebb1b934946a84a6c532cac0c035
tree9183701936533bd97e3de1bbf690f562584bcd6f
parent0edf9d2bb9b4ba7566dfdc7605883e04575129d9
phy: rockchip: samsung-hdptx: Setup TMDS char rate via phy_configure_opts_hdmi

The current workaround to setup the TMDS character rate relies on the
unconventional usage of phy_set_bus_width().

Make use of the recently introduced HDMI PHY configuration API to
properly handle the setup.  The workaround will be dropped as soon as
the switch has been completed on both ends.

Rename rk_hdptx_phy_verify_config() to rk_hdptx_phy_verify_dp_config()
and introduce the rk_hdptx_phy_verify_hdmi_config() helper to check the
HDMI parameters during phy_configure().

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20250318-phy-sam-hdptx-bpc-v6-9-8cb1678e7663@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c