[PATCH 12/12] ARM: dts: rockchip rk3588: adjustments for vop

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 28 07:19:57 PDT 2024


The VOP2 driver currently has some adjustments from
https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux for
RK3588 support. This patch adds some adjustments to the rk3588.dtsi
to make these adjustments work.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/rk3588.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/dts/rk3588.dtsi b/arch/arm/dts/rk3588.dtsi
index 8fed50a5df..76c1b90630 100644
--- a/arch/arm/dts/rk3588.dtsi
+++ b/arch/arm/dts/rk3588.dtsi
@@ -47,3 +47,26 @@ hdmi0_out: port at 1 {
 		};
 	};
 };
+
+&vop {
+	clocks = <&cru ACLK_VOP>,
+		<&cru HCLK_VOP>,
+		<&cru DCLK_VOP0>,
+		<&cru DCLK_VOP1>,
+		<&cru DCLK_VOP2>,
+		<&cru DCLK_VOP3>,
+		<&cru PCLK_VOP_ROOT>,
+		<&hdptxphy_hdmi0>; /* added in barebox, above should be same as upstream */
+	clock-names = "aclk",
+		"hclk",
+		"dclk_vp0",
+		"dclk_vp1",
+		"dclk_vp2",
+		"dclk_vp3",
+		"pclk_vop",
+		"hdmi0_phy_pll"; /* added in barebox, above should be same as upstream */
+};
+
+&hdptxphy_hdmi0 {
+	#clock-cells = <0>;
+};

-- 
2.39.5




More information about the barebox mailing list