Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: phy-rockchip-samsung-hdptx: Add support for RK3576

Despite the compatible already being listed in the bindings, the PHY
driver never gained explicit support for it. This is especially a
problem because the explicitly listed PHY addresses need to be specified
for each SoC.

To solve this, add the compatible, and a PHY config, with the address
gleaned from rk3576.dtsi.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250306-rk3576-hdptx-phy-v1-1-288cc4b0611a@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Nicolas Frattaroli and committed by
Vinod Koul
4a8463ae 49166afb

+11
+11
drivers/phy/rockchip/phy-rockchip-samsung-hdptx.c
··· 2017 2017 rk_hdptx_phy_runtime_resume, NULL) 2018 2018 }; 2019 2019 2020 + static const struct rk_hdptx_phy_cfg rk3576_hdptx_phy_cfgs = { 2021 + .num_phys = 1, 2022 + .phy_ids = { 2023 + 0x2b000000, 2024 + }, 2025 + }; 2026 + 2020 2027 static const struct rk_hdptx_phy_cfg rk3588_hdptx_phy_cfgs = { 2021 2028 .num_phys = 2, 2022 2029 .phy_ids = { ··· 2033 2026 }; 2034 2027 2035 2028 static const struct of_device_id rk_hdptx_phy_of_match[] = { 2029 + { 2030 + .compatible = "rockchip,rk3576-hdptx-phy", 2031 + .data = &rk3576_hdptx_phy_cfgs 2032 + }, 2036 2033 { 2037 2034 .compatible = "rockchip,rk3588-hdptx-phy", 2038 2035 .data = &rk3588_hdptx_phy_cfgs