Skip to contentSkip to conversation

dt-bindings: iio: accel: fxls8962af: add wakeup-source property

PATCH Applied Sean Nyekjaer 3 participants 3 messages Dec 3, 2024 – Dec 8, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: iio: accel: fxls8962af: add wakeup-source property

Add a wakeup-source property to the binding to describe whether the wakeup interrupts from the accelerometer can wake the system from suspend.

---
Changes in v2:
- Corrected commit message
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml +6 -0
index 2d99e3811da07ea0453feafbcf82a227185ecea2..c175f4c4cbdb8f8debb0fe64ed21157f3a878d59 100644
@@ -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;
         };
     };
   - |

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

Best regards,

Signature · 1 line
Sean Nyekjaer <[email protected]>