48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
From c62d8fdb27391ee72bfdf53328463813997844f1 Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Reichel <sebastian.reichel@collabora.com>
|
|
Date: Fri, 7 Mar 2025 12:18:57 +0300
|
|
Subject: arm64: dts: rockchip: Enable HDMI receiver on rock-5b
|
|
|
|
The Rock 5B has a Micro HDMI port, which can be used for receiving
|
|
HDMI data. This enables support for it.
|
|
|
|
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
|
|
Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com>
|
|
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
|
|
Link: https://lore.kernel.org/r/20250307091857.646581-3-dmitry.osipenko@collabora.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
@@ -257,6 +257,17 @@
|
|
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";
|
|
};
|
|
@@ -430,6 +441,12 @@
|
|
};
|
|
|
|
&pinctrl {
|
|
+ hdmirx {
|
|
+ hdmirx_hpd: hdmirx-5v-detection {
|
|
+ rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+
|
|
hym8563 {
|
|
hym8563_int: hym8563-int {
|
|
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
|