Skip to content

Commit ad6e1fb

Browse files
stefpopajic23
authored andcommitted
dt-bindings: iio: accel: Add docs for ADXL372
Add the device tree binding documentation for the ADXL372 3-axis digital accelerometer. Signed-off-by: Stefan Popa <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 4097da4 commit ad6e1fb

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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: SPI chip select number for the device
8+
- spi-max-frequency: Max SPI frequency to use
9+
10+
Optional properties:
11+
- interrupts: interrupt mapping for IRQ as documented in
12+
Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
13+
14+
Example:
15+
16+
accelerometer@0 {
17+
compatible = "adi,adxl372";
18+
reg = <0>;
19+
spi-max-frequency = <1000000>;
20+
interrupt-parent = <&gpio>;
21+
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
22+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ M: Stefan Popa <[email protected]>
548548
W: http://ez.analog.com/community/linux-device-drivers
549549
S: Supported
550550
F: drivers/iio/accel/adxl372.c
551+
F: Documentation/devicetree/bindings/iio/accel/adxl372.txt
551552

552553
AF9013 MEDIA DRIVER
553554
M: Antti Palosaari <[email protected]>

0 commit comments

Comments
 (0)