From patchwork Tue Apr 2 06:30:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 10881105 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 C88E617E0 for ; Tue, 2 Apr 2019 06:32:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B14A428770 for ; Tue, 2 Apr 2019 06:32:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A564A28843; Tue, 2 Apr 2019 06:32:48 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 867C528770 for ; Tue, 2 Apr 2019 06:32:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729277AbfDBGcm (ORCPT ); Tue, 2 Apr 2019 02:32:42 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45405 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfDBGcm (ORCPT ); Tue, 2 Apr 2019 02:32:42 -0400 Received: by mail-pg1-f193.google.com with SMTP id y3so6007739pgk.12; Mon, 01 Apr 2019 23:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NHS2OJqKj6xRANV1sj2z+WTKmkExPEvasKWv9BLPxUI=; b=OtEgzesw2B0IUv5mVHvaxNwujAktKsr5w00A91ZxGIV7gsSSslrvvQxf8VWtStCEDx 7082XQx6h/pRgh6LjRwyESCB3Gv30/T5Ir2zuFlTjt6qawwCZBgxeaVsThf/GY/aLEVl CGwcgudKMRvXmGv5Y+S9vKkzW5f8CZVEeTLHWxgcLc/2MlOEOpDp3zd8RA6wvYDHxCpV LgJI1oDSPvSxazZrqSe3lLHlIvG1JUNwvKhHeBl1Kvr4yeae9TH4B4D8LuR8OEylh0qV XP25kZvfRSgiEAN/nla8HGltQFI6dLx+Ji69nS25sPQQhbozx3hTyasVMWzBOhUrUcnO NBkA== 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:mime-version:content-transfer-encoding; bh=NHS2OJqKj6xRANV1sj2z+WTKmkExPEvasKWv9BLPxUI=; b=DzNVT1gkId5WA229459TwWGLa3c+k63CReqamuHFArLUxoo0pVwqbc7TMYbuv7Q2dK 6v1bpXWRwHL0bfY2OZXOE3TPPc2fKQPo+ciFG5y3quHY72wb76LSRMxdtihUNPHeoDZq Mvpdb4fEdh3tvZvXSWms9kl2od5n/6iYARBceBtjPa99tfKCdAJl+j9+bJWCz3Dn+nUW pMVtZOh1MaZsu771B2uXpLpCVYqHWZHtsaSaXCrdWzVeCdSYLvG9GgZCEXR4QyrLlnIQ CMCqOVjI6LO+EU9pHX2ZQ0rNwU+CqBXrVrwwUSahA9NQprvihzyMN4ZUrv1ODeFm9SbC 9QqQ== X-Gm-Message-State: APjAAAWw9nuK5rMJAdbnLW94EmqXU79VCAIHK1Aa2DwwRy9khNDTRG3M FsrgdH5FHiQh9YPUJ8ZyGqQ= X-Google-Smtp-Source: APXvYqwp7lbXFM74wVWgWuUn8e2AojrE5yckHl/rYqUc14StMv0sEf9qHtA/NNgvqW3iXpZdFch9yQ== X-Received: by 2002:a63:6c87:: with SMTP id h129mr65618774pgc.190.1554186761385; Mon, 01 Apr 2019 23:32:41 -0700 (PDT) Received: from localhost.localdomain ([2001:268:c0a5:4ce0:c70:4af9:86e2:2]) by smtp.gmail.com with ESMTPSA id a17sm19327289pfj.123.2019.04.01.23.32.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Apr 2019 23:32:40 -0700 (PDT) From: William Breathitt Gray To: gregkh@linuxfoundation.org Cc: jic23@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, fabrice.gasnier@st.com, benjamin.gaignard@st.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, akpm@linux-foundation.org, david@lechnology.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, daniel.lezcano@linaro.org, tglx@linutronix.de, thierry.reding@gmail.com, esben@haabendal.dk, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, patrick.havelange@essensium.com, William Breathitt Gray Subject: [PATCH v10 15/18] dt-bindings: counter: ftm-quaddec Date: Tue, 2 Apr 2019 15:30:50 +0900 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 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 From: Patrick Havelange FlexTimer quadrature decoder driver. Reviewed-by: Esben Haabendal Signed-off-by: Patrick Havelange Signed-off-by: William Breathitt Gray --- .../bindings/counter/ftm-quaddec.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/ftm-quaddec.txt diff --git a/Documentation/devicetree/bindings/counter/ftm-quaddec.txt b/Documentation/devicetree/bindings/counter/ftm-quaddec.txt new file mode 100644 index 000000000000..4d18cd722074 --- /dev/null +++ b/Documentation/devicetree/bindings/counter/ftm-quaddec.txt @@ -0,0 +1,18 @@ +FlexTimer Quadrature decoder counter + +This driver exposes a simple counter for the quadrature decoder mode. + +Required properties: +- compatible: Must be "fsl,ftm-quaddec". +- reg: Must be set to the memory region of the flextimer. + +Optional property: +- big-endian: Access the device registers in big-endian mode. + +Example: + counter0: counter@29d0000 { + compatible = "fsl,ftm-quaddec"; + reg = <0x0 0x29d0000 0x0 0x10000>; + big-endian; + status = "disabled"; + };