Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4105919imb; Wed, 6 Mar 2019 05:32:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwPlfZ5DR/FgeorLKp2K81p41eMueAoWkhKrZni5g7iB3+EJID1BRB8eyVsy8rwqq0I2Lpn X-Received: by 2002:a62:5959:: with SMTP id n86mr7207979pfb.237.1551879177282; Wed, 06 Mar 2019 05:32:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551879177; cv=none; d=google.com; s=arc-20160816; b=ka8Kijx1fy/qFV9EPqofLE7E3cj5kUT1cOMXVzqANisa/cWZry6ztI9IK/FgeVOtHm 3/AHoilaOH/KgByYVffmHjeS3moIqrRnJE5685+nLE4kcjeNF1MFpBRQIA7WMGFPfp8p myT9KWOR5g7IolED+6AT6IzMTw3kaOGk42ivFqIF/QGOeMcRtj3kN9FQAd0n3LMSnwEO 0BJ/wrzoZKo11HrgvpthwnxCHF8WBjel6K40gvmbUFNOYIA/iQb+S+4V/dVEqdjrF49c Rt0WIlJt5dWWC2bS2OGnWXAE6XUYLznhEVFrApImHJ1zmb4bXwg+WUYGfJH0cbI8I/Fn Nkfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ou+uYUfe21KQvShwFfjSgk1lTlPUbyeUE0c8BFU5pzA=; b=rJ3WLoRa3IDGKCGXvaHGNU1N4vv2TyV5+GMgM7OkX18+jN6TbInYDE1exBRxvN5JRu QnKTUCc6EQ0B7V58yuBiZjFQqN/GFbHgj/SlZFsxli5E07Jn9HNBnIG718m4fhZcCJQz W2UUhoFRy3T9hWrFJEPGj5vEyhMoc6AHCScGEBVvRLRm9TC5DyNyfTrz46P6NIsRt46C ndPsPswTD52nfgTD+HGjZvEpjFSGzcPCU1yZINUFZqLi04T8dc9pUpHhS1K2sUz4LP68 MPklKr2EFqD4zdHaTt4KUCf2vW3l11H+6b5Ofj+7ciG+iOgyMNMGAs82qiKhhqF+TuNh zSSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@essensium-com.20150623.gappssmtp.com header.s=20150623 header.b=ohMKKSde; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d40si1545876pla.114.2019.03.06.05.32.42; Wed, 06 Mar 2019 05:32:57 -0800 (PST) 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; dkim=pass header.i=@essensium-com.20150623.gappssmtp.com header.s=20150623 header.b=ohMKKSde; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730391AbfCFLMg (ORCPT + 99 others); Wed, 6 Mar 2019 06:12:36 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:35635 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730367AbfCFLMe (ORCPT ); Wed, 6 Mar 2019 06:12:34 -0500 Received: by mail-ed1-f68.google.com with SMTP id g19so10012233edp.2 for ; Wed, 06 Mar 2019 03:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ou+uYUfe21KQvShwFfjSgk1lTlPUbyeUE0c8BFU5pzA=; b=ohMKKSdeSm8YddG5u+fHRRu+AsNlEbFGI7ONNyiR6e+siGjEpc8D8UP4Leq3JYTvkX PkPOf4P+oJqBWTlkDXnAONiSnP3/t6muPkybKtqOsHzSw14gP33djGLKMLWZoEAaXKJZ y1tJhqCERXBU4Bhf8JtLBbk4nZS0gT0715vQ84V/qVIX8aQH9x1hjL8zlPlOE6H6+VKb PA4Hc2yaFHkvwyuTxuxmNckb94mxvv0n/BZGGK4YOMaOIS/TbUbq0d6LEUCzAZDNdXOE DmbPWnv0BtkO+QiVVSn04QkWA62rLQkBFkKcIiaiVfe5Vu/tXs4IlyBfIVnZwOtvxtjE EhcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ou+uYUfe21KQvShwFfjSgk1lTlPUbyeUE0c8BFU5pzA=; b=sj5K2LqkY8TMxqmph1tTRKO/rH0vVFGnGlE9Qzy3sBTa/4E7cZge5+FDLVREwHdaIZ PCIn2QUGaTGt/AqdNhZgb9l7hgCL8EOklSVmQp8IpdzH8/ET4VOKytOGCcfsXkv6p7nc Es1OzugGpbtZ1ekYmoyme8UNU49bmHepMV2KP4dTYyKIBK5+MVU36VIkTfwZ3z/lBxUb PHpzv3ZRT6KVyRw98uT+SIajdhYoAQDk0D7POoyGIUvorOn8Ht8XijJvpqfaPXPnPEa+ WbKLLxpozyMpp/evtWPBWoeB4pxKME/y/k/QL2OGI9Df7yzMJA4LPVhU2KOwHjG+gFyu AhTg== X-Gm-Message-State: APjAAAXje/jIA8BwQpkQ4oVprsPl3iyAO8ADbZFzNCM4muSMHFKYvb/g Tu6xvoyuDj6sgvzcldUzUWxBJg== X-Received: by 2002:a50:b4db:: with SMTP id x27mr23421357edd.90.1551870752427; Wed, 06 Mar 2019 03:12:32 -0800 (PST) Received: from ph-ThinkPad-E560.local.ess-mail.com (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id t25sm277879ejr.30.2019.03.06.03.12.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 03:12:31 -0800 (PST) From: Patrick Havelange To: William Breathitt Gray , Rob Herring , 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 Cc: Patrick Havelange Subject: [PATCH v2 4/7] dt-bindings: counter: ftm-quaddec Date: Wed, 6 Mar 2019 12:12:05 +0100 Message-Id: <20190306111208.7454-5-patrick.havelange@essensium.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190306111208.7454-1-patrick.havelange@essensium.com> References: <20190306111208.7454-1-patrick.havelange@essensium.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + +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