]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Add frl-enable-gpios to rk3588s-gameforce-ace
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 27 Apr 2026 21:57:24 +0000 (00:57 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 5 May 2026 18:28:40 +0000 (20:28 +0200)
The board exposes the GPIO4_B3 pin to control the voltage bias on the
HDMI0 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 hdmi0 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 ddc-en-gpios property and the
associated pinctrl-* entries from hdmi0-con, and rename the hdmi0_en
pinmux to hdmi0_tx_on_h, in line with the naming commonly used in
RK3588s-based board schematics.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20260428-dts-rk-frl-enable-gpios-v2-6-924df9db884a@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts

index 89618394c0bfb4c0da83860670c376e268925f4b..b657d54c2c59032092c2be64460a419b67f3c9ee 100644 (file)
 
        hdmi0-con {
                compatible = "hdmi-connector";
-               ddc-en-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
-               pinctrl-0 = <&hdmi0_en>;
-               pinctrl-names = "default";
                type = "d";
 
                port {
 
 &hdmi0 {
        no-hpd;
+       frl-enable-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
        pinctrl-0 = <&hdmim0_tx0_cec>, <&hdmim0_tx0_scl>,
-                   <&hdmim0_tx0_sda>;
+                   <&hdmim0_tx0_sda>, <&hdmi0_tx_on_h>;
        pinctrl-names = "default";
        status = "okay";
 };
        };
 
        hdmi {
-               hdmi0_en: hdmi0-en {
+               hdmi0_tx_on_h: hdmi0-tx-on-h {
                        rockchip,pins =
                                <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
                };