Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1029694yba; Tue, 2 Apr 2019 00:22:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOXBDG4X431qf5iffNNdc6MwNqCihbmlD7G8o6Kl/r45hTBv+sBjk6F1c/62C7HTphiYAB X-Received: by 2002:a17:902:599d:: with SMTP id p29mr33778394pli.156.1554189763629; Tue, 02 Apr 2019 00:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554189763; cv=none; d=google.com; s=arc-20160816; b=ijx5FizLcYTTQem/VjjfMqnn8BsbcT1RG3mkdOOcdVa79q9xJQGnd+0mmnJ++SNt5I 3rAGOUfXlZ38/oTqy30LB7WODxJaSLbEldL6P2YgD5taqA8cRHRilF3ZRb0AT9QVuBVL rL7hdrfsS2FwxwF0+VyN+mmvuaL0ZBG2RCxcpi4uKHH6aeYS36rpdM2aWRXYNev6OVgj yqrX9YeSJHp9sHN7U84PfZlJ1DHAf+IoWMj7OTd3lh6ve7NKwjeSJw9p5svPyKO4todh 8gFCbFTOJ557MDbgdaQt0GitUFAC8kVMbej3WD0dpPnuawmQMMPl6X44hmle1CYA3SpY C9zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NHS2OJqKj6xRANV1sj2z+WTKmkExPEvasKWv9BLPxUI=; b=pRLMSjEcsyHmi0ewqc9aWm6kZCL7uFf6Pr3x49mtf101pFm7SNXofktWw6REI0Vtf2 hXI0Nj61YnzBXILqFwEI0WGQtzAbjuIjR0DuW4d3jmiTNl/aLAh/y+Azx0Us1gJshMa/ oa/rGx8MrpnNSmu6e05Mosr+nt2VMa2CMjJVtuXS3eicQN8edHIYAYmfmT++wXczYq26 Zisw5+dZ9dnpuWQpWb6ivm+sxNYPgb8Orp7j3q7u7/vt1+T/qUadFrJP7L0obJ2zpdoB OjrfTuuZu2TDmG6J5b4Wu+oX9Wko4b0e758V1HtWgj8yuP7PcGglGyLQm5MKglGSuCoD AGcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OtEgzesw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10si10387627pgq.287.2019.04.02.00.22.28; Tue, 02 Apr 2019 00:22:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OtEgzesw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729290AbfDBGcm (ORCPT + 99 others); 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-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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; + }; -- 2.21.0