1 From b2e668a60ed866ba960acb5310d1fb6bf81d154f Mon Sep 17 00:00:00 2001
2 From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
3 Date: Sun, 23 Feb 2025 11:31:40 +0200
4 Subject: arm64: dts: rockchip: Add HDMI1 PHY PLL clock source to VOP2 on
7 VOP2 on RK3588 is able to use the HDMI PHY PLL as an alternative and
8 more accurate pixel clock source to improve handling of display modes up
9 to 4K@60Hz on video ports 0, 1 and 2.
11 The HDMI1 PHY PLL clock source cannot be added directly to vop node in
12 rk3588-base.dtsi, along with the HDMI0 related one, because HDMI1 is an
13 optional feature and its PHY node belongs to a separate (extra) DT file.
15 Therefore, add the HDMI1 PHY PLL clock source to VOP2 by overwriting its
16 clocks & clock-names properties in the extra DT file.
18 Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
19 Link: https://lore.kernel.org/r/20250223-vop2-hdmi1-disp-modes-v2-4-f4cec5e06fbe@collabora.com
20 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
22 --- a/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
23 +++ b/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
30 + clocks = <&cru ACLK_VOP>,
36 + <&cru PCLK_VOP_ROOT>,
39 + clock-names = "aclk",