Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3549470ybl; Sun, 1 Sep 2019 16:01:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSjEwd1ReXeHC3WekBSFR4BVYLmsLv9RxXVzS96G5QbIE6ZkhFkHVkVoYQbWml1W3JNX+w X-Received: by 2002:a17:902:b590:: with SMTP id a16mr27200224pls.190.1567378869696; Sun, 01 Sep 2019 16:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567378869; cv=none; d=google.com; s=arc-20160816; b=AaCFZFLxLtiV+Zg7epI40Ze5AR48+RsI5Ps3FSdu5QKG6sQ8eymu3Nq+N9pv0o6kGE 2+tK3hqSoguE8JgrHDxhIE/0J7S2nD248StO1VSDYYFS4JyDM4cS69HNhOKGP6vZ7lVU LbszqtvO/osdTU4Y3QKC3AzUVdTcmxiyU8FBqI/GIHvuHd3f+QLMawAWqWJqn2TkUFZP 0c8glL+tNUwcnTz+xIWPzDdeJnZRq7wq+WjSy54gDPTQSy5gkyRO4oBZSOwRW38YVv00 ECBjDa85MVmtLfxmdZlrJQWrO8rTxY1CCQKfE+nYpF+asmNT7gUqG4Va1rSBOc04lZ0r adqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=oGzwM3DUSRY7LxjqeoVdBJ9iKAUFa7Zf/+cgqE96YPY=; b=jWEFOSicMM1dqEp1V+uT9l5DVVnRNexiPkLyk+U4TbYKBDXJzKG8oKc3m2jZ0CW6EM mkzOhy00MA0c/apSynBoKl2/+KcPrJZmAB4TkUrfRjpxA4KfBTZvhoyDkJjHVjmdseJQ /fhCgBcMvB2MlPZinxCnGaVue6/zsbEoGuRIVUEh+4HYiQw+RKDlcYpPGe1uxG8JIwWP T9ShhcpgBPAzmvGyrHPrtMsO3hS5+jE/lZFyMjYIclPFUC05qo0cKxdoqJ9fYfIR6pY/ 9IwLBxrxSbu2AC28W+TSkeeWrJMXc8lg6sGbB7e6j55vD6b2VkINDizjXX8isIbtBUcR +R9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=dVaLhi49; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si10470781plm.292.2019.09.01.16.00.54; Sun, 01 Sep 2019 16:01:09 -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=fail header.i=@lechnology.com header.s=default header.b=dVaLhi49; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729296AbfIAW7L (ORCPT + 99 others); Sun, 1 Sep 2019 18:59:11 -0400 Received: from vern.gendns.com ([98.142.107.122]:37404 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729136AbfIAW6t (ORCPT ); Sun, 1 Sep 2019 18:58:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oGzwM3DUSRY7LxjqeoVdBJ9iKAUFa7Zf/+cgqE96YPY=; b=dVaLhi49Hq3UsLNguYJYOE/Nh Xuv4xthiSR3KmYMBd+w2qIhljz5Hod4jQnRN5BtZcylgIoNGk9+NciGZK6O3HpD8Vee8Ocf4Y6ceD +6rf3a930buRAwDX4wQ3KB4tEan8df1bc69+YpTU6UnrBSci//Q5F5/F+pOpOuAui6+wcQeNMYVHL 2ZOif0Ieig6qyd4dHlcYeG4PorRdySQNlzTHi/eE0WebQ4jk3xJd1bww8m4vvlbKGOQALmL+tsQsY srM2ReVA5uXTGC8Ph8MgD6q2BYpbt1LBarokklB6Zcl7AH5hL6o+U0SoCy/eFefWsxDXbDeCqV3VF pD3DHeTDw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58390 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1i4Yo1-000351-VC; Sun, 01 Sep 2019 18:58:46 -0400 From: David Lechner To: linux-iio@vger.kernel.org, linux-omap@vger.kernel.org Cc: David Lechner , Rob Herring , Mark Rutland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , William Breathitt Gray , Thierry Reding , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: [PATCH v3 2/6] dt-bindings: counter: new bindings for TI eQEP Date: Sun, 1 Sep 2019 17:58:23 -0500 Message-Id: <20190901225827.12301-3-david@lechnology.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190901225827.12301-1-david@lechnology.com> References: <20190901225827.12301-1-david@lechnology.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This documents device tree binding for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module found in various TI SoCs. Signed-off-by: David Lechner --- v3 changes: - fixed style issues - fixed generic node name - (was suggested to drop descriptions since there is only one interrupt and one clock, but I opted to keep them anyway) v2 changes: - convert to .yaml format - rename clock to "sysclkout" .../devicetree/bindings/counter/ti-eqep.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/counter/ti-eqep.yaml diff --git a/Documentation/devicetree/bindings/counter/ti-eqep.yaml b/Documentation/devicetree/bindings/counter/ti-eqep.yaml new file mode 100644 index 000000000000..85f1ff83afe7 --- /dev/null +++ b/Documentation/devicetree/bindings/counter/ti-eqep.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/counter/ti-eqep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module + +maintainers: + - David Lechner + +properties: + compatible: + const: ti,am3352-eqep + + reg: + maxItems: 1 + + interrupts: + description: The eQEP event interrupt + maxItems: 1 + + clocks: + description: The clock that determines the SYSCLKOUT rate for the eQEP + peripheral. + maxItems: 1 + + clock-names: + const: sysclkout + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + eqep0: counter@180 { + compatible = "ti,am3352-eqep"; + reg = <0x180 0x80>; + clocks = <&l4ls_gclk>; + clock-names = "sysclkout"; + interrupts = <79>; + }; + +... -- 2.17.1