* [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button
@ 2021-03-23 20:43 Jernej Skrabec
2021-03-24 3:00 ` [linux-sunxi] " Chen-Yu Tsai
2021-03-24 9:25 ` Maxime Ripard
0 siblings, 2 replies; 3+ messages in thread
From: Jernej Skrabec @ 2021-03-23 20:43 UTC (permalink / raw)
To: mripard, wens
Cc: robh+dt, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
Beelink X2 has power button. Add node for it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
Changes from v1:
- renamed node name so it doesn't contain underscores
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 62b5280ec093..f0e591e1c771 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -111,6 +111,17 @@ spdif_out: spdif-out {
#sound-dai-cells = <0>;
compatible = "linux,spdif-dit";
};
+
+ r-gpio-keys {
+ compatible = "gpio-keys";
+
+ power {
+ label = "power";
+ linux,code = <KEY_POWER>;
+ gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
+ wakeup-source;
+ };
+ };
};
&de {
--
2.31.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [linux-sunxi] [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button
2021-03-23 20:43 [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button Jernej Skrabec
@ 2021-03-24 3:00 ` Chen-Yu Tsai
2021-03-24 9:25 ` Maxime Ripard
1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2021-03-24 3:00 UTC (permalink / raw)
To: Jernej Skrabec
Cc: Maxime Ripard, Rob Herring, devicetree, linux-arm-kernel,
linux-kernel, linux-sunxi
On Wed, Mar 24, 2021 at 4:44 AM Jernej Skrabec <jernej.skrabec@siol.net> wrote:
>
> Beelink X2 has power button. Add node for it.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button
2021-03-23 20:43 [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button Jernej Skrabec
2021-03-24 3:00 ` [linux-sunxi] " Chen-Yu Tsai
@ 2021-03-24 9:25 ` Maxime Ripard
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2021-03-24 9:25 UTC (permalink / raw)
To: Jernej Skrabec
Cc: wens, robh+dt, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
hi,
On Tue, Mar 23, 2021 at 09:43:41PM +0100, Jernej Skrabec wrote:
> Beelink X2 has power button. Add node for it.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Applied, thanks
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-24 9:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 20:43 [PATCH v2] ARM: dts: sun8i: h3: beelink-x2: Add power button Jernej Skrabec
2021-03-24 3:00 ` [linux-sunxi] " Chen-Yu Tsai
2021-03-24 9:25 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).