From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Havelange Subject: [PATCH 7/8] dt-bindings: iio/counter: ftm-quaddec: add poll-interval parameter Date: Mon, 18 Feb 2019 15:03:20 +0100 Message-ID: <20190218140321.19166-7-patrick.havelange@essensium.com> References: <20190218140321.19166-1-patrick.havelange@essensium.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190218140321.19166-1-patrick.havelange@essensium.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Shawn Guo , Li Yang , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Esben Haabendal , William Breathitt Gray , Linus Walleij , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Patrick Havelange List-Id: devicetree@vger.kernel.org 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-interval Poll 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@29d0000 { -- 2.17.1