]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/iio/imu/st_lsm6dsx.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[karo-tx-linux.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,lsm6ds3h"
7   "st,lsm6dsl"
8   "st,lsm6dsm"
9 - reg: i2c address of the sensor / spi cs line
10
11 Optional properties:
12 - st,drdy-int-pin: the pin on the package that will be used to signal
13   "data ready" (valid values: 1 or 2).
14 - interrupt-parent: should be the phandle for the interrupt controller
15 - interrupts: interrupt mapping for IRQ. It should be configured with
16   flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
17   IRQ_TYPE_EDGE_FALLING.
18
19   Refer to interrupt-controller/interrupts.txt for generic interrupt
20   client node bindings.
21
22 Example:
23
24 lsm6dsm@6b {
25         compatible = "st,lsm6dsm";
26         reg = <0x6b>;
27         interrupt-parent = <&gpio0>;
28         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
29 };