diff mbox series

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

Message ID 20211120102024.439456-1-jernej.skrabec@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: sun8i: h3: beelink-x2: Add GPIO CEC node | expand

Commit Message

Jernej Škrabec Nov. 20, 2021, 10:20 a.m. UTC
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.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
---
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Maxime Ripard Nov. 22, 2021, 9:07 a.m. UTC | #1
On Sat, 20 Nov 2021 11:20:24 +0100, Jernej Skrabec wrote:
> 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
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index f0e591e1c771..4ab4bbf001ba 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -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";
 	};