]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/iio/accel/mma8452.txt
Merge remote-tracking branch 'staging/staging-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / iio / accel / mma8452.txt
1 Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC or MMA8653FC
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
13   - reg: the I2C address of the chip
14
15 Optional properties:
16
17   - interrupt-parent: should be the phandle for the interrupt controller
18
19   - interrupts: interrupt mapping for GPIO IRQ
20
21   - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
22                      interrupt line in use.
23
24 Example:
25
26         mma8453fc@1d {
27                 compatible = "fsl,mma8453";
28                 reg = <0x1d>;
29                 interrupt-parent = <&gpio1>;
30                 interrupts = <5 0>;
31                 interrupt-names = "INT2";
32         };