Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1319041ybl; Wed, 21 Aug 2019 13:32:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqweR0NIFKNvmVl0+JpFDzmlVBdTcSD5m1eXFpfo/Vktw2+eaqzktnpQj5/x2HJTKRQztVrW X-Received: by 2002:a65:6817:: with SMTP id l23mr30788350pgt.46.1566419562110; Wed, 21 Aug 2019 13:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566419562; cv=none; d=google.com; s=arc-20160816; b=wHLARkWUxXhxZNtMx6W0XzXlXPCZ5Eb9vTrmYwWNLbVatXGp6rmtefcE0M6I2IXiTB xmS1VzgFsTIvWTwYdKHcofoxI3DAi04AHYy3vEIUHaEo4o05mSjiP/PlDhavT6O0+cqp HoHYzPshQuAeXYIbr06aJWuJUj/Ap16svwSF2gfiSy2DpQQnU81R1nYRAJwcMdHN1oQf 6VGkDHhsUR+hW07P5UO9UQTkfP7UmEW//N3nV0UD64PYcrhu7a8LR/2Dko22+XX4yZQ+ OihaQoT/IgedUtJMsm3Jz1s1Z5KqXuMfP0WtbVxGizeG5UbZ57ixvmds/BiqH7cRCzY8 2tmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=iabTxjGtNwFPz618omlBwY8T1BonwpR5OPoPhDx+RAI=; b=ecRtGhYlZjNbJZnqJlfX596eJ3J2CovFXbY39AMuGyOYAjnuq2+QpHOvzKBNINlQPE Wo/Wa6b1A3c0xwlUh9WLypyHpaY433BH1xgOtna4IRm83penVpcS0FBYle7yYrJFMjH2 Wp4/o9KQmBo2A+lmwIJLBmbl05S3sMiC/rXHY4YTxVDuq8ooKpiXgJCZ+dLqRY/jJriD BiU10GLaOhQicThWgPONQlX3zyg4Wxi3Hye0cWkIhrqbh1tKx613rqVByU4B9VlGeNn5 x0rG7UB2nlBKBcUSZ/DZUvSGBTIeDoK08sT0t1xuMBTzewpqy2pUtLFw7ND5/yM4g720 uzJw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x126si15053940pgx.356.2019.08.21.13.32.26; Wed, 21 Aug 2019 13:32:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729405AbfHUUba (ORCPT + 99 others); Wed, 21 Aug 2019 16:31:30 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34295 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfHUUba (ORCPT ); Wed, 21 Aug 2019 16:31:30 -0400 Received: by mail-ot1-f65.google.com with SMTP id c7so3361351otp.1; Wed, 21 Aug 2019 13:31:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iabTxjGtNwFPz618omlBwY8T1BonwpR5OPoPhDx+RAI=; b=WYbOEE9Gy49PJrRZIF4UzXIVNnr3FJk4n4J+C/Tb1KQz9hvmb1uczkBPxMBKM/igic 0SNsn4mNhaeqU/Tb5AS8Ni2Rpxxh0j+0WWN/5WrfIZKcY5/63lI2NMfwf6PK3BVqdPN7 DLwab1EEfwZ9T2vS9ceWnkIJ9hGAkJy2bszpoRGNyKJsgu0XQj6i0Ig1ziJW4CM6RPau cowsQARkeHukD1/vawY5anj2mN2vbrYwmeTtCyUQ84uswelQdf7WQIOBV64CU1Rw5I+W CJAZry04iuRsvm0CC4NOIPbEQg/SmOfaANmd0lA+ZgZxDdT0rpkkQkqr2eWD+2GPtH/k /45Q== X-Gm-Message-State: APjAAAVoW7QyrpPLjF+scMFmsL/Rg9cl9HWIKDAC+JUaS/iUwjv1Cu7P 0C+M/iPipBU9yGSzkHGDtA== X-Received: by 2002:a9d:7a5a:: with SMTP id z26mr26056383otm.348.1566419488855; Wed, 21 Aug 2019 13:31:28 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d22sm6221319oic.23.2019.08.21.13.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 13:31:28 -0700 (PDT) Date: Wed, 21 Aug 2019 15:31:27 -0500 From: Rob Herring To: David Lechner Cc: linux-iio@vger.kernel.org, linux-omap@vger.kernel.org, Mark Rutland , =?iso-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , William Breathitt Gray , Thierry Reding , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH v2 2/5] dt-bindings: counter: new bindings for TI eQEP Message-ID: <20190821203127.GA29308@bogus> References: <20190807194023.15318-1-david@lechnology.com> <20190807194023.15318-3-david@lechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190807194023.15318-3-david@lechnology.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 07, 2019 at 02:40:20PM -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 > --- > > 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" No need for quotes > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: The eQEP event interrupt Don't really have to have a description when there is only 1 entry. > + maxItems: 1 > + > + clocks: > + description: The clock that determines the SYSCLKOUT rate for the eQEP > + peripheral. Same here. 2 spaces in from description is the normal indentation. > + maxItems: 1 > + > + clock-names: > + const: sysclkout > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + eqep0: eqep@180 { counter@... > + compatible = "ti,am3352-eqep"; > + reg = <0x180 0x80>; > + clocks = <&l4ls_gclk>; > + clock-names = "sysclkout"; > + interrupts = <79>; > + }; > + > +... > -- > 2.17.1 >