diff mbox

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

Message ID 20170517020310.21355-1-matt.ranostay@konsulko.com
State Accepted, archived
Headers show

Commit Message

Matt Ranostay May 17, 2017, 2:03 a.m. UTC
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>
---
 Documentation/devicetree/bindings/iio/proximity/as3935.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring May 23, 2017, 12:31 a.m. UTC | #1
On Tue, May 16, 2017 at 07:03:10PM -0700, Matt Ranostay wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/iio/proximity/as3935.txt | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/iio/proximity/as3935.txt b/Documentation/devicetree/bindings/iio/proximity/as3935.txt
index ae23dd8da736..96dad93fccca 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>;