aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ranostay <[email protected]>2017-05-16 19:03:10 -0700
committerRob Herring <[email protected]>2017-05-22 19:32:20 -0500
commite5e9b5fae7e7d1fad87e4abb52f5f3d55c9f4e25 (patch)
tree95710b0ef986d81096af1a6856f67d099911ae57
parent442e1f7eb8e6858408a7ad58bb10813c19877ae5 (diff)
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: [email protected] Signed-off-by: Matt Ranostay <[email protected]> Signed-off-by: Rob Herring <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/iio/proximity/as3935.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/proximity/as3935.txt b/Documentation/devicetree/bindings/iio/proximity/as3935.txt
index ae23dd8da736..38d74314b7ab 100644
--- a/Documentation/devicetree/bindings/iio/proximity/as3935.txt
+++ b/Documentation/devicetree/bindings/iio/proximity/as3935.txt
@@ -3,6 +3,7 @@ Austrian Microsystems AS3935 Franklin lightning sensor device driver
Required properties:
- compatible: must be "ams,as3935"
- reg: SPI chip select number for the device
+ - spi-max-frequency: specifies maximum SPI clock frequency
- spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI
slave node bindings.
- interrupt-parent : should be the phandle for the interrupt controller
@@ -21,6 +22,7 @@ Example:
as3935@0 {
compatible = "ams,as3935";
reg = <0>;
+ spi-max-frequency = <400000>;
spi-cpha;
interrupt-parent = <&gpio1>;
interrupts = <16 1>;