]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
authorSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 7 Mar 2025 09:18:57 +0000 (12:18 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 8 Mar 2025 16:58:24 +0000 (17:58 +0100)
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>
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

index 0208fc0fbe4f90b7c86145ef3cf478156c071419..d22068475c5dc6cb885f878f3f527a66edf1ba70 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";
 };
 };
 
 &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>;