]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/iio/proximity/as3935.txt
Merge tag 'renesas-fixes4-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / Documentation / devicetree / bindings / iio / proximity / as3935.txt
1 Austrian Microsystems AS3935 Franklin lightning sensor device driver
2
3 Required properties:
4         - compatible: must be "ams,as3935"
5         - reg: SPI chip select number for the device
6         - spi-max-frequency: specifies maximum SPI clock frequency
7         - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI
8         slave node bindings.
9         - interrupt-parent : should be the phandle for the interrupt controller
10         - interrupts : the sole interrupt generated by the device
11
12         Refer to interrupt-controller/interrupts.txt for generic
13         interrupt client node bindings.
14
15 Optional properties:
16         - ams,tuning-capacitor-pf: Calibration tuning capacitor stepping
17           value 0 - 120pF. This will require using the calibration data from
18           the manufacturer.
19
20 Example:
21
22 as3935@0 {
23         compatible = "ams,as3935";
24         reg = <0>;
25         spi-max-frequency = <400000>;
26         spi-cpha;
27         interrupt-parent = <&gpio1>;
28         interrupts = <16 1>;
29         ams,tuning-capacitor-pf = <80>;
30 };