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

iio: proximity: as3935: add missing required spi-max-frequency

spi-max-frequency is required to be set for the as3935 part, and
document such usage.

Cc: devicetree@vger.kernel.org
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Matt Ranostay and committed by
Rob Herring
e5e9b5fa 442e1f7e

+2
+2
Documentation/devicetree/bindings/iio/proximity/as3935.txt
··· 3 3 Required properties: 4 4 - compatible: must be "ams,as3935" 5 5 - reg: SPI chip select number for the device 6 + - spi-max-frequency: specifies maximum SPI clock frequency 6 7 - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI 7 8 slave node bindings. 8 9 - interrupt-parent : should be the phandle for the interrupt controller ··· 22 21 as3935@0 { 23 22 compatible = "ams,as3935"; 24 23 reg = <0>; 24 + spi-max-frequency = <400000>; 25 25 spi-cpha; 26 26 interrupt-parent = <&gpio1>; 27 27 interrupts = <16 1>;