Skip to contentSkip to conversation

arm64: dts: rockchip: Enable HDMI RX for Orange Pi 5 Ultra

PATCH New Jan Schär 1 participant 1 message Nov 20

Subsystems (2)
lore
Share & tools
lore

Jan Schär

author
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Enable HDMI RX for Orange Pi 5 Ultra

The Orange Pi 5 Ultra has an HDMI input, enable it. It was missing because the snps_hdmirx driver was introduced after the Orange Pi 5 Ultra DTS.

The pin definitions here match the schematic and the DTS in the Orange Pi vendor kernel. In the schematic, the hot-plug detect pin is named HDMI_RX_DET_L.

---
 .../dts/rockchip/rk3588-orangepi-5-ultra.dts    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-ultra.dts +17 -0
index 2b693dfb434c..ddcb1d2f9b49 100644
@@ -48,6 +48,17 @@ &hdmi1_sound {
 	status = "okay";
 };
 
+&hdmi_receiver_cma {
+	status = "okay";
+};
+
+&hdmi_receiver {
+	hpd-gpios = <&gpio3 RK_PD3 GPIO_ACTIVE_LOW>;
+	pinctrl-0 = <&hdmim2_rx_cec &hdmim2_rx_hpdin &hdmim2_rx_scl &hdmim2_rx_sda &hdmirx_det>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
 &hdptxphy1 {
 	status = "okay";
 };
@@ -71,6 +82,12 @@ hdmi1_tx_on_h: hdmi1-tx-on-h {
 		};
 	};
 
+	hdmirx {
+		hdmirx_det: hdmirx-det {
+			rockchip,pins = <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+
 	usb {
 		usb_otg_pwren: usb-otg-pwren {
 			rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;

base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3

Signature · 1 line
2.53.0