Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio:as3935: Add DT binding docs for AS3935 driver

Document compatible string, required and optional DT properties for
AS3935 chipset driver.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Matt Ranostay and committed by
Jonathan Cameron
43c7ecb1 598db581

+29
+28
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-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI 7 + slave node bindings. 8 + - interrupt-parent : should be the phandle for the interrupt controller 9 + - interrupts : the sole interrupt generated by the device 10 + 11 + Refer to interrupt-controller/interrupts.txt for generic 12 + interrupt client node bindings. 13 + 14 + Optional properties: 15 + - ams,tuning-capacitor-pf: Calibration tuning capacitor stepping 16 + value 0 - 120pF. This will require using the calibration data from 17 + the manufacturer. 18 + 19 + Example: 20 + 21 + as3935@0 { 22 + compatible = "ams,as3935"; 23 + reg = <0>; 24 + spi-cpha; 25 + interrupt-parent = <&gpio1>; 26 + interrupts = <16 1>; 27 + ams,tuning-capacitor-pf = <80>; 28 + };
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 11 11 allwinner Allwinner Technology Co., Ltd. 12 12 altr Altera Corp. 13 13 amcc Applied Micro Circuits Corporation (APM, formally AMCC) 14 + ams AMS AG 14 15 amstaos AMS-Taos Inc. 15 16 apm Applied Micro Circuits Corporation (APM) 16 17 arm ARM Ltd.