]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt
Documentation: dt: iio: imu: st_lsm6dsx: add st,drdy-int-pin property
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / iio / imu / st_lsm6dsx.txt
1 * ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors
2
3 Required properties:
4 - compatible: must be one of:
5 "st,lsm6ds3"
6 "st,lsm6dsm"
7 - reg: i2c address of the sensor / spi cs line
8
9 Optional properties:
10 - st,drdy-int-pin: the pin on the package that will be used to signal
11 "data ready" (valid values: 1 or 2).
12 - interrupt-parent: should be the phandle for the interrupt controller
13 - interrupts: interrupt mapping for IRQ. It should be configured with
14 flags IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING.
15
16 Refer to interrupt-controller/interrupts.txt for generic interrupt
17 client node bindings.
18
19 Example:
20
21 lsm6dsm@6b {
22 compatible = "st,lsm6dsm";
23 reg = <0x6b>;
24 interrupt-parent = <&gpio0>;
25 interrupts = <0 IRQ_TYPE_EDGE_RISING>;
26 };