Re: [PATCH 7/8] dt-bindings: iio/counter: ftm-quaddec: add poll-interval parameter

2019-02-28 Thread Rob Herring
On Mon, 18 Feb 2019 15:03:20 +0100, Patrick Havelange wrote:
> New optional parameter supported by updated driver.
> 
> Signed-off-by: Patrick Havelange 
> Reviewed-by: Esben Haabendal 
> ---
>  .../devicetree/bindings/iio/counter/ftm-quaddec.txt   | 8 +++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring 


[PATCH 7/8] dt-bindings: iio/counter: ftm-quaddec: add poll-interval parameter

2019-02-18 Thread Patrick Havelange
New optional parameter supported by updated driver.

Signed-off-by: Patrick Havelange 
Reviewed-by: Esben Haabendal 
---
 .../devicetree/bindings/iio/counter/ftm-quaddec.txt   | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt 
b/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt
index 4d18cd722074..60554e6c4367 100644
--- a/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt
+++ b/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt
@@ -6,8 +6,14 @@ Required properties:
 - compatible:  Must be "fsl,ftm-quaddec".
 - reg: Must be set to the memory region of the flextimer.
 
-Optional property:
+Optional properties:
 - big-endian:  Access the device registers in big-endian mode.
+- poll-intervalPoll interval time in milliseconds for detecting
+   the under/overflow of the counter. Default value
+   is 100.
+   A value of 0 disables polling. This value can also
+   be set at runtime, but not to less than this initial
+   value (except 0 for disabling).
 
 Example:
counter0: counter@29d {
-- 
2.17.1