1* ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors
2
3Required properties:
4- compatible: must be one of:
5  "st,lsm6ds3"
6  "st,lsm6ds3h"
7  "st,lsm6dsl"
8  "st,lsm6dsm"
9  "st,ism330dlc"
10  "st,lsm6dso"
11  "st,asm330lhh"
12  "st,lsm6dsox"
13  "st,lsm6dsr"
14  "st,lsm6ds3tr-c"
15  "st,ism330dhcx"
16  "st,lsm9ds1-imu"
17- reg: i2c address of the sensor / spi cs line
18
19Optional properties:
20- st,drdy-int-pin: the pin on the package that will be used to signal
21  "data ready" (valid values: 1 or 2).
22- st,pullups : enable/disable internal i2c controller pullup resistors.
23- drive-open-drain: the interrupt/data ready line will be configured
24  as open drain, which is useful if several sensors share the same
25  interrupt line. This is a boolean property.
26  (This binding is taken from pinctrl/pinctrl-bindings.txt)
27  If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or
28  IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
29  when it is not active, whereas a pull-up one is needed when interrupt
30  line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.
31- interrupts: interrupt mapping for IRQ. It should be configured with
32  flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
33  IRQ_TYPE_EDGE_FALLING.
34
35  Refer to interrupt-controller/interrupts.txt for generic interrupt
36  client node bindings.
37
38Example:
39
40lsm6dsm@6b {
41	compatible = "st,lsm6dsm";
42	reg = <0x6b>;
43	interrupt-parent = <&gpio0>;
44	interrupts = <0 IRQ_TYPE_EDGE_RISING>;
45};
46