diff mbox series

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

Message ID 20210113040542.34247-2-samuel@sholland.org
State Superseded
Headers show
Series PinePhone volume key (LRADC) wakeup support | expand

Commit Message

Samuel Holland Jan. 13, 2021, 4:05 a.m. UTC
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 <samuel@sholland.org>
---
 .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml          | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) Jan. 25, 2021, 7:14 p.m. UTC | #1
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 <samuel@sholland.org>
> ---
>  .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml          | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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