diff mbox series

[v1,4/6] ARM: dts: rockchip: fix rk322x hdmi ports node

Message ID 4bdaddeb-06d6-4f43-a83c-6646a9a06f05@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1,1/6] dt-bindings: display: rockchip: rockchip,dw-hdmi: deprecate port property | expand

Commit Message

Johan Jonker Jan. 30, 2024, 2:57 p.m. UTC
Fix rk322x hdmi ports node so that it matches the
rockchip,dw-hdmi.yaml binding.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm/boot/dts/rockchip/rk322x.dtsi | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

--
2.39.2
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/rockchip/rk322x.dtsi b/arch/arm/boot/dts/rockchip/rk322x.dtsi
index 831561fc1814..ff8e778ea50f 100644
--- a/arch/arm/boot/dts/rockchip/rk322x.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk322x.dtsi
@@ -720,7 +720,6 @@  iep_mmu: iommu@20070800 {
 	hdmi: hdmi@200a0000 {
 		compatible = "rockchip,rk3228-dw-hdmi";
 		reg = <0x200a0000 0x20000>;
-		reg-io-width = <4>;
 		interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
 		assigned-clocks = <&cru SCLK_HDMI_PHY>;
 		assigned-clock-parents = <&hdmi_phy>;
@@ -732,18 +731,25 @@  hdmi: hdmi@200a0000 {
 		reset-names = "hdmi";
 		phys = <&hdmi_phy>;
 		phy-names = "hdmi";
+		reg-io-width = <4>;
 		rockchip,grf = <&grf>;
 		status = "disabled";

 		ports {
-			hdmi_in: port {
-				#address-cells = <1>;
-				#size-cells = <0>;
-				hdmi_in_vop: endpoint@0 {
-					reg = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			hdmi_in: port@0 {
+				reg = <0>;
+
+				hdmi_in_vop: endpoint {
 					remote-endpoint = <&vop_out_hdmi>;
 				};
 			};
+
+			hdmi_out: port@1 {
+				reg = <1>;
+			};
 		};
 	};