Skip to contentSkip to conversation

ARM: dts: sun8i: h3: beelink-x2: Add GPIO CEC node

PATCH Applied Jernej Skrabec 2 participants 2 messages Nov 20, 2021 – Nov 22, 2021

Subsystems (2)
lore
Share & tools
lore

Jernej Skrabec

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: sun8i: h3: beelink-x2: Add GPIO CEC node

Beelink X2 doesn't use HW CEC controller found in DW HDMI core. It has dedicated GPIO pin for that purpose.

Add a node for it.

---
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +6 -0
index f0e591e1c771..4ab4bbf001ba 100644
@@ -57,6 +57,12 @@ aliases {
 		ethernet1 = &sdiowifi;
 	};
 
+	cec-gpio {
+		compatible = "cec-gpio";
+		cec-gpios = <&pio 0 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PA14 */
+		hdmi-phandle = <&hdmi>;
+	};
+
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
Signature · 1 line
2.34.0
#1 lore raw
Quoted 6 lines · Jernej Skrabec

Beelink X2 doesn't use HW CEC controller found in DW HDMI core. It has dedicated GPIO pin for that purpose.

Add a node for it.

Applied to sunxi/linux.git (sunxi/dt-for-5.17).

Thanks!
Maxime