Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2360699imc; Tue, 12 Mar 2019 12:10:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKaV1tjjv8cA/oD1gh+dCLQa/Yp4jmWyf9ekc5cmatrBUdNV8buW9AIHrKdZQNZCRT/0v4 X-Received: by 2002:a62:ee0e:: with SMTP id e14mr40301870pfi.201.1552417838838; Tue, 12 Mar 2019 12:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552417838; cv=none; d=google.com; s=arc-20160816; b=Q89zpUS0PZgRCv6BMYQRSOTDWOAjzBhtEd83h0U4T1m2TwBBobiZtqnrgWQYgMRO/d 52peGR3SvbDoN0mcM+HpI+TuhBd0zRyAb4+Yy78pvvubSU3ToOkZMBW8ePvqkPgOy2NX vOkPjpoKCO3MhmY9oKtMY0JCVrtpCMmL/qR8/jU9fw61cm8FepTAmZQw39Nm/HWzbrbR IwMX6Uc7iMOTFV5067FIDjataIpS5J7H0CgEqXsu3On1gdfiXuDmhfiAuGTeZ1U51hfk efq/CmyYs6BsVm63B+E4Z79o3qxRQXWjF/vFUX7JGcWDnGuvF3bmf01mDDemvVOsfM4O S/rg== 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=jJKOnB1P9PKNpKShB0uPqUX+B71dLq4m19fT/OZ0LME=; b=DJKlPvdw5s7/aLiDMISz7H4qDDplyaAxanQIPTTMYl3AxCm9tmAwRfyVZhXRIeyRUX WTK8W9qeF4xJI4/H6fTFVAmEWfV3QqUxRyTG+83ytO+MroYf+pRmF2Hi3SdgcNzliS9a uYe6XQGX5ArqdKbbAHFG7b1c8/jXgTTuu6F18M1lqbNWd5+9YWi6m5bmJcOCSPWnPQdZ rUvm/9QaAFdlJy7mBwuRuJcjb82RwwB5qMtmtAxBkeMf45h54tF7nLs/yzYR8O9d3y3q NlfBZVRDVxtGVsr/lAQ1Hzk1gw28wofj642/OVjvV1eZoVon43YyLPvxdDQn1douYlsF xR9A== 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 a2si8149803pga.476.2019.03.12.12.10.23; Tue, 12 Mar 2019 12:10:38 -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 S1727261AbfCLTJz (ORCPT + 99 others); Tue, 12 Mar 2019 15:09:55 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:34933 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbfCLTJz (ORCPT ); Tue, 12 Mar 2019 15:09:55 -0400 Received: by mail-oi1-f193.google.com with SMTP id u128so3064702oie.2; Tue, 12 Mar 2019 12:09:54 -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=jJKOnB1P9PKNpKShB0uPqUX+B71dLq4m19fT/OZ0LME=; b=dsZOQu8fS6TojTimb/iienLhE/NvQgDG0QUP1TkrfpAYnOF1VnvmGogvCgD+P2MezN QBhmVPA9Gqd4djbE8nWqEeIiRG4x4p4au/PUTZfLwF2/Q1tamfsGwGct+WfRspRilXsE 4RqWlqBdU2rIbvZP5YuDfAdA9PuMJJZy/yFktY2Ddz0KJFQ2mgdRN3DYC7+/pXAzRuxQ fHYpesVFand0HXX3WcSUQjzwvos4/TSgqBMq82X2IBuzcgQiuqM8XJZMgWS4fGVU1F2g D5wcQOYk9VEJqPLp1B8mlXm7KKFiLoFL2HjcsB7wNGC5YokhtpBnHLkFDQeK8qof2QPM x8mg== X-Gm-Message-State: APjAAAWJPBxpDTTG6/WJURjhRKL+6qZlBqx9pqBzKA4/2DTPqnn2wU7+ wnOI07p0QTTN9m+FXuu3HcTuS/WJiw== X-Received: by 2002:aca:dec4:: with SMTP id v187mr2810071oig.92.1552417793942; Tue, 12 Mar 2019 12:09:53 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l93sm3981536otc.15.2019.03.12.12.09.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 12:09:53 -0700 (PDT) Date: Tue, 12 Mar 2019 14:09:52 -0500 From: Rob Herring To: Patrick Havelange Cc: William Breathitt Gray , Mark Rutland , Shawn Guo , Li Yang , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Esben Haabendal , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Jonathan Cameron Subject: Re: [PATCH v2 4/7] dt-bindings: counter: ftm-quaddec Message-ID: <20190312190952.GA18547@bogus> References: <20190306111208.7454-1-patrick.havelange@essensium.com> <20190306111208.7454-5-patrick.havelange@essensium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190306111208.7454-5-patrick.havelange@essensium.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, Mar 06, 2019 at 12:12:05PM +0100, Patrick Havelange wrote: > FlexTimer quadrature decoder driver. > > Signed-off-by: Patrick Havelange > Reviewed-by: Esben Haabendal > --- > Changes v2 > - None > --- > .../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. Seems like this is more a mode of a h/w block than describing a h/w block. Bindings should do the latter. > + > +Required properties: > +- compatible: Must be "fsl,ftm-quaddec". > +- 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"; > + }; > -- > 2.19.1 >