Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5869152ybh; Wed, 7 Aug 2019 12:53:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/QtinTWC8aprUSr6NcTrCHkTLTgpdPd0dvKLKU5GDIgC7bQpqudn4BW1qqP1pxnHT3S+h X-Received: by 2002:a17:90a:21ac:: with SMTP id q41mr92195pjc.31.1565207581520; Wed, 07 Aug 2019 12:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565207581; cv=none; d=google.com; s=arc-20160816; b=krTn1FIMmrRUhV9iq9m01p8bFvyvJSEyPfATdWMNircLouSzncB0XPWpCooMRKuxW3 UR52XPXvEk6A4dGwQHS1o5RuWKnPvz4GhASGFfeQA5a9Y7utIuPrTeo03Hy49bISnk4F mCA6oJlac23E2aKZJCPTl9kgq16MnSeQeaRItXNtWYpJMlBfORQ4IzAvtUNpg6RI+fXD j8WKbsaA+37kDMs9gsntEaIq7o5qTJw3oGz/5W1HU8tCkWCzEJ+uGyeR4PThaWAPDl04 /qG1mNtSSydvXRh2iyc0802JMMzZcVX6ZGEWYTeMaUx/DvG7B9I0Xyw6aKnuZy++IDmM HALA== 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=JZcnPzar3TAVprcml8r+efuLQk5t0pInzE4jZWaXCBk=; b=WE0EC+AO0XLtR05SZ8RLDFVKLadnf+fqGyRRlx4VLuxOaKwE52k8IVgeFD3eFcj5ry Ivkn4xhpILF4z0tIlDvpzMBJ5WykEG9tKi/LcmwjJzjzz8ttKUgS+p5tBJQ/AS2TRiD/ LQUZ9XgNvgvyn+wjlO3cqavBmkZpTWO7ZHydMruz3IrPXhsA2qEl1WFS+gJCqF1OiAzc BBuvDshKQ2JhC90z/WPp6sUNLDVePgduz2gkms4hh8IziFDHS3YU/XtS3F5T9WsvnM1Z 3qg5XpIGVbHz0vdRWUTCu20a3SPjqVqfS/zioRUddRnHjawr/k9w2idvqZotowOIiqZt XjiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=XXGPKLB2; 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 q10si45250266pls.42.2019.08.07.12.52.45; Wed, 07 Aug 2019 12:53:01 -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=XXGPKLB2; 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 S2389542AbfHGTlR (ORCPT + 99 others); Wed, 7 Aug 2019 15:41:17 -0400 Received: from vern.gendns.com ([98.142.107.122]:43666 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389465AbfHGTlE (ORCPT ); Wed, 7 Aug 2019 15:41:04 -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=JZcnPzar3TAVprcml8r+efuLQk5t0pInzE4jZWaXCBk=; b=XXGPKLB2Mm4mjXRvx8gH2vX9Q VLCywFtIlZubPg6sogAXy7XWrvWth5acPhOUfP8OFXdsBdZ3QTpi7U1OvQKGNcV6og0GnTUPh2/wp h7Qhwbqvj89S52YfAKOU2juuCZ4cbwfxuKOqyEDDMLTNQOcoK4DcZhQJBnHHNSbZ9I+lK7iRsAmH6 Mi/PRO3UMsrkHunn/LEiXC+QMDZV6cDBU6QuLAjlYRKGxWyoQOTvO1ditorowhxBTxyOF4OEh12qr tmdnByzhoywqjF3AausbXT6hj3P8u+a7DWcGV3Bx2ojP1vG2zWRahZTMl6Q/qfFJI0lnswHHS6zGP JxxaHGGEQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:60292 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hvRnx-00006r-V4; Wed, 07 Aug 2019 15:41:02 -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 v2 2/5] dt-bindings: counter: new bindings for TI eQEP Date: Wed, 7 Aug 2019 14:40:20 -0500 Message-Id: <20190807194023.15318-3-david@lechnology.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190807194023.15318-1-david@lechnology.com> References: <20190807194023.15318-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 --- 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..8f8b2e87e5c3 --- /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: eqep@180 { + compatible = "ti,am3352-eqep"; + reg = <0x180 0x80>; + clocks = <&l4ls_gclk>; + clock-names = "sysclkout"; + interrupts = <79>; + }; + +... -- 2.17.1