[PATCH v2 1/3] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property

22 views
Skip to first unread message

Samuel Holland

unread,
Jan 12, 2021, 11:05:50 PM1/12/21
to Hans de Goede, Dmitry Torokhov, Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, devic...@vger.kernel.org, linux...@vger.kernel.org, linux-...@vger.kernel.org, linux...@googlegroups.com, Samuel Holland
The LRADC provides an interrupt that can be used to wake the system.
Signify this by accepting a "wakeup-source" property in the binding.

Signed-off-by: Samuel Holland <sam...@sholland.org>
---
.../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
index cffd02028d02..d74f2002409e 100644
--- a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
+++ b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml
@@ -29,6 +29,8 @@ properties:
description:
Regulator for the LRADC reference voltage

+ wakeup-source: true
+
patternProperties:
"^button-[0-9]+$":
type: object
--
2.26.2

Rob Herring

unread,
Jan 25, 2021, 2:14:48 PM1/25/21
to Samuel Holland, Maxime Ripard, Rob Herring, Chen-Yu Tsai, devic...@vger.kernel.org, linux...@vger.kernel.org, linux...@googlegroups.com, Dmitry Torokhov, linux-...@vger.kernel.org, Hans de Goede, Jernej Skrabec
On Tue, 12 Jan 2021 22:05:40 -0600, Samuel Holland wrote:
> The LRADC provides an interrupt that can be used to wake the system.
> Signify this by accepting a "wakeup-source" property in the binding.
>
> Signed-off-by: Samuel Holland <sam...@sholland.org>
> ---
> .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>

Acked-by: Rob Herring <ro...@kernel.org>
Reply all
Reply to author
Forward
0 new messages