summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>2026-04-28 00:57:21 +0300
committerHeiko Stuebner <heiko@sntech.de>2026-05-05 21:28:39 +0300
commitba0d7cfb9870064296a8d4d57ff2c230166ada3c (patch)
tree8078f586abcd88b99a3dae6b9d7e4430514b27b9
parent12eb09ee67cba1e3cc0c75149d0a04a5187ca575 (diff)
downloadlinux-ba0d7cfb9870064296a8d4d57ff2c230166ada3c.tar.xz
arm64: dts: rockchip: Add frl-enable-gpios to rk3576-nanopi-r76s
The board exposes the GPIO4_C6 pin to control the voltage bias on the HDMI data lines. It must be asserted when operating in HDMI 2.1 FRL mode and deasserted for HDMI 1.4/2.0 TMDS mode. Wire up the hdmi node to its dedicated GPIO via frl-enable-gpios to allow adjusting the bias when transitioning between TMDS and FRL modes. Additionally, drop the now unnecessary workaround of using vcc5v_hdmi_tx as hdmi-pwr-supply solely to drive the GPIO into its default state. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Link: https://patch.msgid.link/20260428-dts-rk-frl-enable-gpios-v2-3-924df9db884a@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts16
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts
index 7ec27b05ff10..0a5cd5f6fd33 100644
--- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts
@@ -70,7 +70,6 @@
hdmi-con {
compatible = "hdmi-connector";
- hdmi-pwr-supply = <&vcc5v_hdmi_tx>;
type = "a";
port {
@@ -109,18 +108,6 @@
regulator-name = "vcc5v_dcin";
};
- vcc5v_hdmi_tx: regulator-vcc5v-hdmi-tx {
- compatible = "regulator-fixed";
- enable-active-high;
- gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
- pinctrl-names = "default";
- pinctrl-0 = <&hdmi_tx_on_h>;
- regulator-min-microvolt = <5000000>;
- regulator-max-microvolt = <5000000>;
- regulator-name = "vcc5v_hdmi_tx";
- vin-supply = <&vcc5v0_sys_s5>;
- };
-
vcc5v0_device_s0: regulator-vcc5v0-device-s0 {
compatible = "regulator-fixed";
regulator-always-on;
@@ -252,6 +239,9 @@
};
&hdmi {
+ frl-enable-gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&hdmi_txm0_pins &hdmi_tx_scl &hdmi_tx_sda &hdmi_tx_on_h>;
+ pinctrl-names = "default";
status = "okay";
};