Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp688456yba; Fri, 26 Apr 2019 07:11:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxYMCZtQPxzxHZAW8+PBh7nOTbwRJK2kNF4P1nlKTpYbRrJchgK0ExjQ5rsVH+fvHtSlfx X-Received: by 2002:a17:902:9b92:: with SMTP id y18mr37864169plp.187.1556287906640; Fri, 26 Apr 2019 07:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556287906; cv=none; d=google.com; s=arc-20160816; b=JO0SngKV5jYBcmqako5KCIh/RfqwuZygOaJPRzxeUdnvkvdjbnTEE2gRyIOINILQf1 zkQGFQ0vYxRKgAYirE3X8PdjLOHvpsDsMLirHosbfQUtatUmTLq8ASRDyccoe1CVyvFR 6CSGVX7jA+whSmfMpX3Zu0iv6LCdrHrO6njT9BgUa3dYo8k7/XKLBITEr+/Uo2TQ6/m/ u/K4GS/meQbZGav/2sQPomEoTpmvWa1qWkJkYsq9Ry52mN7SiTpiZBAarO2oIyifMUnB gTHoPu7S0Z9iFXG/IlQf7RufEbitYPV7kVnPT47vje8mi/W+AEUgiggDJGphagXFLlND J3qA== 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=8v9DH79LZGkh+kC4t48ObZxoaexvFW5xWdyB9L1ZiiY=; b=ZxMZz1AQDeizmgRCfltp+1214wRgrCEa+ZGeEPsPh0PpL6qtgmwItmfeNpk+jgUJX7 BTxROU5ioKZKJX71OIBAAHNdbNah33oQsnbksAkhmxnyPEVJCz8rt1wJS1SZOWxhONIk H8+jn0Gv5XJyoBbFH1PTvss3P/AqHWYFsu5iDdiNs9k7Ai2aRqTnb/zaIQJ+f7IV7gGX R6FVktd3FzPKEnyiswdl/7g77V4rXNgqtYVqM2mL0ELGfizsBFDgMhRVOvHsMJOJiRw/ qhLGAXIu79rYogphbycDxiuHWUaCdPWK6htu5xRElpkLBQyr7Ek2tjktz5DOq/udVHKt +R7w== 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 e192si24057657pgc.222.2019.04.26.07.11.31; Fri, 26 Apr 2019 07:11:46 -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 S1726349AbfDZOKa (ORCPT + 99 others); Fri, 26 Apr 2019 10:10:30 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:34203 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbfDZOKa (ORCPT ); Fri, 26 Apr 2019 10:10:30 -0400 Received: by mail-oi1-f194.google.com with SMTP id v10so3052145oib.1; Fri, 26 Apr 2019 07:10: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=8v9DH79LZGkh+kC4t48ObZxoaexvFW5xWdyB9L1ZiiY=; b=r6FSPcYzjheO764C3o5pX+HQoA+W7ATX827TH/c4u4XMIizSFq0r6ll6HQ62BZAd8t Kl9ec41Lo21UIDTE5I/acziMn0ZJmrCZe53ivWacQ0tYnBbfIzhuoxhBam7ks6jxoRjH OgHTMh4otj6lQEzJc7QVc3xF3Q2Ggx5FqDzKWALcqAJs44dppjPJuwvugMN9zvmvL29Z JakWtCr7sPsG94bYg82SKyKjnbwMeeujMAUN5qoFzYOCeMZ5ZR8YPriGxC0JoOodr+49 8CPEyuWcRaTgNzzgXqkMAAidaD5XPUoJ3rgqJ6yOlfETmyLhZi6bORXGt6rO0OLQTu7B qHGg== X-Gm-Message-State: APjAAAVpL56oQVKmLOTV1E1HHDbHvq9m5mGfqjnR+YFJgCoQnP9rwicw IRxAzZXeGg9OSTsvBr4aOA== X-Received: by 2002:aca:dcc4:: with SMTP id t187mr7488561oig.3.1556287828943; Fri, 26 Apr 2019 07:10:28 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id p205sm10213668oia.49.2019.04.26.07.10.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2019 07:10:28 -0700 (PDT) Date: Fri, 26 Apr 2019 09:10:27 -0500 From: Rob Herring To: William Breathitt Gray Cc: gregkh@linuxfoundation.org, 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, 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 Subject: Re: [PATCH v10 15/18] dt-bindings: counter: ftm-quaddec Message-ID: <20190426141027.GA27110@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Apr 02, 2019 at 03:30:50PM +0900, William Breathitt Gray wrote: > 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". This needs an SoC specific compatible. > +- 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"; Don't show status in examples. > + }; > -- > 2.21.0 >