Merge tag 'v5.1' into next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / accel / mma8452.txt
1 Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
2 triaxial accelerometer
3
4 Required properties:
5
6   - compatible: should contain one of
7     * "fsl,mma8451"
8     * "fsl,mma8452"
9     * "fsl,mma8453"
10     * "fsl,mma8652"
11     * "fsl,mma8653"
12     * "fsl,fxls8471"
13
14   - reg: the I2C address of the chip
15
16 Optional properties:
17
18   - interrupts: interrupt mapping for GPIO IRQ
19
20   - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
21                      interrupt line in use.
22
23   - vdd-supply: phandle to the regulator that provides vdd power to the accelerometer.
24
25   - vddio-supply: phandle to the regulator that provides vddio power to the accelerometer.
26
27 Example:
28
29         mma8453fc@1d {
30                 compatible = "fsl,mma8453";
31                 reg = <0x1d>;
32                 interrupt-parent = <&gpio1>;
33                 interrupts = <5 0>;
34                 interrupt-names = "INT2";
35         };