From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5D8FC433FF for ; Sat, 27 Jul 2019 19:48:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BBC672064A for ; Sat, 27 Jul 2019 19:48:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388078AbfG0Tsm (ORCPT ); Sat, 27 Jul 2019 15:48:42 -0400 Received: from saturn.retrosnub.co.uk ([46.235.226.198]:45078 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387841AbfG0Tsm (ORCPT ); Sat, 27 Jul 2019 15:48:42 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id 69FA69E774D; Sat, 27 Jul 2019 20:48:39 +0100 (BST) Date: Sat, 27 Jul 2019 20:48:36 +0100 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Mark Rutland , =?UTF-8?B?QmVub8OudA==?= Cousson , Tony Lindgren , William Breathitt Gray , Thierry Reding , linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: counter: new bindings for TI eQEP Message-ID: <20190727204836.1514265d@archlinux> In-Reply-To: <20190722154538.5314-2-david@lechnology.com> References: <20190722154538.5314-1-david@lechnology.com> <20190722154538.5314-2-david@lechnology.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 22 Jul 2019 10:45:35 -0500 David Lechner wrote: > 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 Up to William given it is a counter binding, (unless Rob overrules) but new bindings are generally preferred as yaml. Content looks fine to me. Thanks, Jonathan > --- > .../devicetree/bindings/counter/ti-eqep.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/counter/ti-eqep.txt > > diff --git a/Documentation/devicetree/bindings/counter/ti-eqep.txt b/Documentation/devicetree/bindings/counter/ti-eqep.txt > new file mode 100644 > index 000000000000..fbcebc2c2cc2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/counter/ti-eqep.txt > @@ -0,0 +1,18 @@ > +Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) Module > + > +Required properties: > +- compatible: Must be "ti,am3352-eqep". > +- reg: Physical base address and size of the registers map. > +- clocks: Handle to the PWM's functional clock. > +- clock-names: Must be "fck". > +- interrupts: Handle to the eQEP event interrupt > + > +Example: > + > + eqep0: eqep@180 { > + compatible = "ti,am3352-eqep"; > + reg = <0x180 0x80>; > + clocks = <&l4ls_gclk>; > + clock-names = "fck"; > + interrupts = <79>; > + };