]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: Enable HDMI receiver on orangepi 5 plus
authorMaud Spierings <maud_spierings@hotmail.com>
Sat, 23 Aug 2025 12:43:51 +0000 (14:43 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 24 Aug 2025 06:14:32 +0000 (08:14 +0200)
Enable support for the HDMI input port found on the orangepi 5 plus.

Signed-off-by: Maud Spierings <maud_spierings@hotmail.com>
Reviewed-by: Ondřej Jirman <megi@xff.cz>
Link: https://lore.kernel.org/r/20250823-orangepi5-v1-2-ae77dd0e06d7@hotmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts

index 121e4d1c3fa5dab0d08edf7cba692a765b48f7b4..345686c59a87adb34e805c6b9aa021f9400577ac 100644 (file)
        status = "okay";
 };
 
+&hdmi_receiver_cma {
+       status = "okay";
+};
+
+&hdmi_receiver {
+       hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
+       pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>;
+       pinctrl-names = "default";
+       status = "okay";
+};
+
 &hdptxphy0 {
        status = "okay";
 };
                };
        };
 
+       hdmirx {
+               hdmirx_hpd: hdmirx-5v-detection {
+                       rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        ir-receiver {
                ir_receiver_pin: ir-receiver-pin {
                        rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;