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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, USER_AGENT_MUTT autolearn=ham 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 AECF8C43381 for ; Tue, 12 Mar 2019 19:10:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 74FC02147C for ; Tue, 12 Mar 2019 19:10:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WYP5d+cz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 74FC02147C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BWezy3tVUqZY6XUKW2m7N5/bFJy4a5I06HM/WYOEUAE=; b=WYP5d+czcfzFw8 6LkqwYMI+NPog+9/64hrAR9b7shLrcHdENiL6z5QeFkd9sR5MGalNF4mMThBjKX5o2kX/nIRR6Teq AwVCUPiDjrWy5vgID8OAQH5ab5IZlZs7F08mvnODCEEU9lNOZruL4oe3FM6AbSQu1LDNjgy1ctyZp vNf9FkRpeoqtw70Yd831BxQfE4gfw3nDL7ll8FQqeui+LL0kwH+NwJdA1u/bhWIjId2SD5M3wyzag MbjY+qaOgFzPLZIN+EDrgI5QWIxReV7iBmvKsuZ+Kxsxzl4/EFxibxklunxjmzU7+DUt+3VaDQg/p EeXt2AEU9LUIAaj/puBA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3mmj-0004sa-PH; Tue, 12 Mar 2019 19:09:57 +0000 Received: from mail-oi1-f194.google.com ([209.85.167.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3mmg-0004s4-NT for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2019 19:09:56 +0000 Received: by mail-oi1-f194.google.com with SMTP id i8so3023437oib.10 for ; 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=mSiixYac9odMJZxLHuo2eWXsZiDxbWCPG9ZD6ZwqDonIdj+Hm3S3GLBc3OdedLFDfT SOKjy9PiTOwj4lNsXHjU0iVxTiDmTJlClQDIfOOtwGcWROBwG7FPVbNyrE1/acy03wAE 7MnHmYR/hmYkoAtG7Vw62nytRUZ924KWTUhpajXSD3R4HI2i7bt2m4zqlJp9rwLUlBna ofbGF1S/FFZFQ3McHGBzdnnQ5fkkBPHpIWqlvxWT36x0KtoWqgzsjmmYQrc800CkF1i1 TWBk259tNsQTFjJ5gDhvt4H5lUyMh+7g39RUvuEayLBo0Xspv5xllqV6DjIdGlvoian0 Gxlg== X-Gm-Message-State: APjAAAVz/nx+OwLvEiYc8s+oFUmYRn8f/VZyvE8F5LdIPAHBDT38T1a6 FZOM6LSgSwcgZEQdv/lfrw== X-Google-Smtp-Source: APXvYqzOmYiyevn4pfx/OmhV9QmJPBrm3c1cxWiC68YfOw7IRUa9Y5zI+wZ8qBznprpY0q72PHFdMw== 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 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-Disposition: inline In-Reply-To: <20190306111208.7454-5-patrick.havelange@essensium.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190312_120954_766382_96F360D8 X-CRM114-Status: GOOD ( 17.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Jonathan Cameron , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Lezcano , William Breathitt Gray , Li Yang , Thierry Reding , linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Shawn Guo , Esben Haabendal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel