mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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. Signed-off-by: Sean Nyekjaer <sean@geanix.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20241203-fxlsdt-v2-1-ef523461b507@geanix.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
aed2bcd2aa
commit
c3084fada9
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,11 @@ properties:
|
||||||
drive-open-drain:
|
drive-open-drain:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
||||||
|
wakeup-source:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/flag
|
||||||
|
description:
|
||||||
|
Enable wake on accelerometer event
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
@ -69,6 +74,7 @@ examples:
|
||||||
interrupt-parent = <&gpio0>;
|
interrupt-parent = <&gpio0>;
|
||||||
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
interrupt-names = "INT1";
|
interrupt-names = "INT1";
|
||||||
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
- |
|
- |
|
||||||
|
|
Loading…
Add table
Reference in a new issue