From patchwork Mon Feb 18 14:03:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Havelange X-Patchwork-Id: 10818111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E975B1575 for ; Mon, 18 Feb 2019 14:24:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D763329FA1 for ; Mon, 18 Feb 2019 14:24:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB2962A06E; Mon, 18 Feb 2019 14:24:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7412429FA1 for ; Mon, 18 Feb 2019 14:24:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731432AbfBROYd (ORCPT ); Mon, 18 Feb 2019 09:24:33 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:46024 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389802AbfBROD5 (ORCPT ); Mon, 18 Feb 2019 09:03:57 -0500 Received: by mail-ed1-f65.google.com with SMTP id d9so13871692edh.12 for ; Mon, 18 Feb 2019 06:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TMKsmtSeB2s1AaZbZadZjj3xF8b5OyVicGrn8cs6Cxc=; b=KJPSI94h/3tr09gSDgWJ5ok7TSJC7JE/SFp+CPCPi5fV/xhzlIP8m+1T5aj3kNAVCS xawDKsAC8POcScc1qfEU3Mx7JR/0TIz2paMShO/Y2zlRdoxPpLXQcVNXOi1BkhNbvT5t k0Dsnts9zdDl5ya7+AE5PYVl1eet6ZUddv22gxrkx+FfPCHE1QFt1rqHB425oMLtX2dH DLj9oeRh/NaIiuETNkVr+lgZUDEJeC/mlCLreb/nV4Sgwr66LdO2XTOmd/gnnQ92GugB s6PgCWxnsmxMFnaVMIB24Cm2z6lH0e8xo+pB9gUvDoZQ5IXH9k28jMdD5ZInypUxMlVn vJpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TMKsmtSeB2s1AaZbZadZjj3xF8b5OyVicGrn8cs6Cxc=; b=h6C1DU0T4j5V3UZ4QNDVBunUZl36IxwpbHr0AC2A/E/k2j7PudDj0/BD3tHJgArPMG s2hk1hu4oRohbvwebHcu40hMpNcpGFCD1VpUb+ttAqmokmitjNonC5NFOpVAMVX50TbC vH7PIXNlZFIb0bC7HYHRSLUlbILR8+V8J05ZtlA7cH0GPtZAjSKShNwMC3NLDMph8kNs FTWxeZkfp5+DC6qUUmu30BpdMC/NSJLZRNsjcL0qhKf26lY0u3WQvClflUcT2ZksihtQ MTbHYp96qGst01zKng9YHulH74qSaviOk83+SOn8Pct4qLQoXYBov3E4thcFMa6pyy4S nLxw== X-Gm-Message-State: AHQUAuaQnGeLd9XnbjRj34FSHaBp83/21ZRssk8GnPwjv541yT8ofiDL 1/hmr7PCapAHmWa8foieuepLIA== X-Google-Smtp-Source: AHgI3IZWqJlESiACGZSBuFtcSlgUTXzB5UwYLjy0fJjTMr4Yq/bz8Bc0PoTINj2B3ihTtaQ8an9+iQ== X-Received: by 2002:a50:fc12:: with SMTP id i18mr19300418edr.149.1550498635286; Mon, 18 Feb 2019 06:03:55 -0800 (PST) Received: from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id w48sm1421606eda.88.2019.02.18.06.03.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 06:03:54 -0800 (PST) From: Patrick Havelange 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 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> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190218140321.19166-1-patrick.havelange@essensium.com> References: <20190218140321.19166-1-patrick.havelange@essensium.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP New optional parameter supported by updated driver. Signed-off-by: Patrick Havelange Reviewed-by: Esben Haabendal Reviewed-by: Rob Herring --- .../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 {