Skip to content

Commit 3fd6e33

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Add HDMI node for RK3128
RK3128 has Innosilicon based HDMI TX controller similar to the one found in RK3036. Add it and the respective port nodes to the SoC device tree. Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20231222174220.55249-29-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 695b9b5 commit 3fd6e33

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@
270270
vop_out: port {
271271
#address-cells = <1>;
272272
#size-cells = <0>;
273+
274+
vop_out_hdmi: endpoint@0 {
275+
reg = <0>;
276+
remote-endpoint = <&hdmi_in_vop>;
277+
};
273278
};
274279
};
275280

@@ -463,6 +468,34 @@
463468
};
464469
};
465470

471+
hdmi: hdmi@20034000 {
472+
compatible = "rockchip,rk3128-inno-hdmi";
473+
reg = <0x20034000 0x4000>;
474+
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
475+
clocks = <&cru PCLK_HDMI>, <&cru DCLK_VOP>;
476+
clock-names = "pclk", "ref";
477+
pinctrl-names = "default";
478+
pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>;
479+
power-domains = <&power RK3128_PD_VIO>;
480+
status = "disabled";
481+
482+
ports {
483+
#address-cells = <1>;
484+
#size-cells = <0>;
485+
486+
hdmi_in: port@0 {
487+
reg = <0>;
488+
hdmi_in_vop: endpoint {
489+
remote-endpoint = <&vop_out_hdmi>;
490+
};
491+
};
492+
493+
hdmi_out: port@1 {
494+
reg = <1>;
495+
};
496+
};
497+
};
498+
466499
timer0: timer@20044000 {
467500
compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer";
468501
reg = <0x20044000 0x20>;

0 commit comments

Comments
 (0)