diff mbox series

[v2] dt-bindings: iio: accel: fxls8962af: add wakeup-source property

Message ID 20241203-fxlsdt-v2-1-ef523461b507@geanix.com (mailing list archive)
State Accepted
Headers show
Series [v2] dt-bindings: iio: accel: fxls8962af: add wakeup-source property | expand

Commit Message

Sean Nyekjaer Dec. 3, 2024, 7:22 a.m. UTC
Add a wakeup-source property to the binding to describe whether the
wakeup interrupts from the accelerometer can wake the system from
suspend.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
Changes in v2:
- Corrected commit message
- Link to v1: https://lore.kernel.org/r/20241129-fxlsdt-v1-1-ff7697a47cca@geanix.com
---
 Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml | 6 ++++++
 1 file changed, 6 insertions(+)


---
base-commit: a61ff7eac77e86de828fe28c4e42b8ae9ec2b195
change-id: 20241129-fxlsdt-2012530ca076

Best regards,

Comments

Conor Dooley Dec. 3, 2024, 4:28 p.m. UTC | #1
On Tue, Dec 03, 2024 at 08:22:11AM +0100, Sean Nyekjaer wrote:
> Add a wakeup-source property to the binding to describe whether the
> wakeup interrupts from the accelerometer can wake the system from
> suspend.
> 
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Jonathan Cameron Dec. 8, 2024, 5:23 p.m. UTC | #2
On Tue, 3 Dec 2024 16:28:23 +0000
Conor Dooley <conor@kernel.org> wrote:

> On Tue, Dec 03, 2024 at 08:22:11AM +0100, Sean Nyekjaer wrote:
> > Add a wakeup-source property to the binding to describe whether the
> > wakeup interrupts from the accelerometer can wake the system from
> > suspend.
> > 
> > Signed-off-by: Sean Nyekjaer <sean@geanix.com>  
> Acked-by: Conor Dooley <conor.dooley@microchip.com>

Applied to the togreg branch of iio.git.

Thanks

Jonathan
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
index 2d99e3811da07ea0453feafbcf82a227185ecea2..c175f4c4cbdb8f8debb0fe64ed21157f3a878d59 100644
--- a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
@@ -46,6 +46,11 @@  properties:
   drive-open-drain:
     type: boolean
 
+  wakeup-source:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description:
+      Enable wake on accelerometer event
+
 required:
   - compatible
   - reg
@@ -69,6 +74,7 @@  examples:
             interrupt-parent = <&gpio0>;
             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
             interrupt-names = "INT1";
+            wakeup-source;
         };
     };
   - |