modules: fix compile error if don't have strict module rwx
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / accel / adxl372.txt
1 Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer
2
3 http://www.analog.com/media/en/technical-documentation/data-sheets/adxl372.pdf
4
5 Required properties:
6  - compatible : should be "adi,adxl372"
7  - reg: the I2C address or SPI chip select number for the device
8
9 Required properties for SPI bus usage:
10  - spi-max-frequency: Max SPI frequency to use
11
12 Optional properties:
13  - interrupts: interrupt mapping for IRQ as documented in
14    Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
15
16 Example for a I2C device node:
17
18         accelerometer@53 {
19                 compatible = "adi,adxl372";
20                 reg = <0x53>;
21                 interrupt-parent = <&gpio>;
22                 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
23         };
24
25 Example for a SPI device node:
26
27         accelerometer@0 {
28                 compatible = "adi,adxl372";
29                 reg = <0>;
30                 spi-max-frequency = <1000000>;
31                 interrupt-parent = <&gpio>;
32                 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
33         };