* [PATCH] iio: proximity: as3935: add missing required spi-max-frequency
@ 2017-05-17 2:03 ` Matt Ranostay
0 siblings, 0 replies; 4+ messages in thread
From: Matt Ranostay @ 2017-05-17 2:03 UTC (permalink / raw)
To: jic23-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA, Matt Ranostay,
devicetree-u79uwXL29TY76Z2rM5mHXA
spi-max-frequency is required to be set for the as3935 part, and
document such usage.
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Signed-off-by: Matt Ranostay <matt.ranostay-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
---
Documentation/devicetree/bindings/iio/proximity/as3935.txt | 2 ++
1 file changed, 2 insertions(+)
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>;
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] iio: proximity: as3935: add missing required spi-max-frequency
@ 2017-05-17 2:03 ` Matt Ranostay
0 siblings, 0 replies; 4+ messages in thread
From: Matt Ranostay @ 2017-05-17 2:03 UTC (permalink / raw)
To: jic23; +Cc: linux-iio, Matt Ranostay, devicetree
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(+)
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>;
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: proximity: as3935: add missing required spi-max-frequency
2017-05-17 2:03 ` Matt Ranostay
@ 2017-05-23 0:31 ` Rob Herring
-1 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2017-05-23 0:31 UTC (permalink / raw)
To: Matt Ranostay
Cc: jic23-DgEjT+Ai2ygdnm+yROfE0A, linux-iio-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Signed-off-by: Matt Ranostay <matt.ranostay-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
> ---
> Documentation/devicetree/bindings/iio/proximity/as3935.txt | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: proximity: as3935: add missing required spi-max-frequency
@ 2017-05-23 0:31 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2017-05-23 0:31 UTC (permalink / raw)
To: Matt Ranostay; +Cc: jic23, linux-iio, devicetree
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-23 0:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 2:03 [PATCH] iio: proximity: as3935: add missing required spi-max-frequency Matt Ranostay
2017-05-17 2:03 ` Matt Ranostay
[not found] ` <20170517020310.21355-1-matt.ranostay-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2017-05-23 0:31 ` Rob Herring
2017-05-23 0:31 ` Rob Herring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.