Commit ad6e1fb0 authored by Stefan Popa's avatar Stefan Popa Committed by Jonathan Cameron
Browse files

dt-bindings: iio: accel: Add docs for ADXL372



Add the device tree binding documentation for the ADXL372 3-axis digital
accelerometer.

Signed-off-by: default avatarStefan Popa <stefan.popa@analog.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 4097da40
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
Analog Devices ADXL372 3-Axis, +/-(200g) Digital Accelerometer

http://www.analog.com/media/en/technical-documentation/data-sheets/adxl372.pdf

Required properties:
 - compatible : should be "adi,adxl372"
 - reg: SPI chip select number for the device
 - spi-max-frequency: Max SPI frequency to use

Optional properties:
 - interrupts: interrupt mapping for IRQ as documented in
   Documentation/devicetree/bindings/interrupt-controller/interrupts.txt

Example:

	accelerometer@0 {
		compatible = "adi,adxl372";
		reg = <0>;
		spi-max-frequency = <1000000>;
		interrupt-parent = <&gpio>;
		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
	};
+1 −0
Original line number Diff line number Diff line
@@ -548,6 +548,7 @@ M: Stefan Popa <stefan.popa@analog.com>
W:	http://ez.analog.com/community/linux-device-drivers
S:	Supported
F:	drivers/iio/accel/adxl372.c
F:	Documentation/devicetree/bindings/iio/accel/adxl372.txt

AF9013 MEDIA DRIVER
M:	Antti Palosaari <crope@iki.fi>