Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2460692imj; Mon, 18 Feb 2019 06:25:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IYvc+/Erpg8UepU+4vw4F+yRYQ+COgaWtjjq4amnc4a3KHO8A2HXBOZ6gFs7g0RlhsfSo9J X-Received: by 2002:a63:6196:: with SMTP id v144mr19058426pgb.137.1550499959575; Mon, 18 Feb 2019 06:25:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550499959; cv=none; d=google.com; s=arc-20160816; b=z5DgJQgGcoQL4wm8Zyi3k6q6t3EJULi5j/Q1w+Vya5QCagAr2pei8E9tJjD5Elux/W uVNlfW3la5JshKEes3DfFDefDN+AUf9uZu7UkCM/WoJx3GvU+edPaYUqRtjknKdvGoua sljAEJm0Z9hxGFhtPL6ll2OgA8RjPs59I2tdVEZjKccJkEHwXiyh0u6HlW/NN2ywzXHD t7h0UfHm42qjyFD/RQWeIjeNV1j9PML247bSb8r20UnIDkDKpR7nfMVrUsq0uBKVLYel 4JtQ4V/Apw0PFBJ1CeFRJsC+uydq/jIaTUCVsviBDXagPVgRrgjkkAs5WDmOkfKZXzlK BX3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=I6Qr3PnJqhUErKNHRtGnpwGVLGbDm4vYaQedao4hHXI=; b=A188mB9Mj8LN7tg+XVIL2bOYOKRjiLLNYlwhjagl0ZqvhoSek5ziNc5CypX8K8ltU5 913/k/9MJ+rDVx1ldAM6LGSdz6uOP6unQ1UPCpvtEGY0WqPp+7l8lq6HwtA3M5fjHToR TR8oIBxbmqT77/Hoq3CyxfISvoL/xxAZx7a7nubwVQoK4iMzcWTp8D2ZkUuAzRMkExoo hWdaWtCEPJOWRFZhyDFhAY60odbgfXUZxOrZrU7EVrjgbsEJJEOtoEqu4hMxbKjWh+9c 5XvCCtWTG9q6YMdwIEfFqTHz/PIWsOqZbp/UvBvmE/sCS4zDy3HKIBhQXVx8WS6yG2W+ sQlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@essensium-com.20150623.gappssmtp.com header.s=20150623 header.b=kdHcXhxC; 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 m16si12894664pgi.386.2019.02.18.06.25.43; Mon, 18 Feb 2019 06:25:59 -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=kdHcXhxC; 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 S2390065AbfBROYx (ORCPT + 99 others); Mon, 18 Feb 2019 09:24:53 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:43477 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389770AbfBRODx (ORCPT ); Mon, 18 Feb 2019 09:03:53 -0500 Received: by mail-ed1-f68.google.com with SMTP id m35so9950590ede.10 for ; Mon, 18 Feb 2019 06:03:52 -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; bh=I6Qr3PnJqhUErKNHRtGnpwGVLGbDm4vYaQedao4hHXI=; b=kdHcXhxCjuyfL/RsbUdI7m1L2Yqy6Ch6aOf/JLBNnD5HRcGRSlgFnLV7GDHT0+O/ZH WwhadtXZC4vVGNOZDuBn55xN7S4uRWX++KyhraFKHbfOfDIpV2BF2i1X1ZZmPSUG4VoF AkRhIRakB9igwGHCOjQRaHFAWn158WcLofcO9Bvujyxj6a9Q5/FR2tK/sXcaVtMFDepB mzDtU5X9T6XAokc0oVHVyJYLk6aWrjK7mlq7vIRYN+67ZQfflVjoZTlS3hBnJ8v3vCvY cUmqgkNmUgZCJM9+9LD/mdkYFxEuSclcXauFOzLsjW1gmke/0ca5/PZRLVfeL0qwR77Y 7kDw== 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; bh=I6Qr3PnJqhUErKNHRtGnpwGVLGbDm4vYaQedao4hHXI=; b=VXRaBq1P/07I8MkF/ffPHhZbo4VPrg34eDUwo0incBoUkpB4KCJ4nWr0EltN0ww/bY 3Pi5ONiogOciOy+gDjj9rujQbpF5nn4KKvOvZWj398cpTvdxVvSMM0zdgG5IUGTTWDP6 erNymSgIgHQEj8cxctfbCFF4Y7FDyWGqVKJNtnht6GB2VhfSncF3Vz2hjiVptFqkdUAQ SR+5xmtbjq5VwCC4EvFEG7jATZ+Rxesh5xUUIo06sjFiZYSTKAd6zXkFig0FJvkx2Mpt iSDUwVPbSs3VrkqrkpbcZEjfqko0Y6nVnJeIy8DmLYZ1o6UNkmAXgi6R2uHCT7gEM6dT zKDg== X-Gm-Message-State: AHQUAuaWD9w2VtBHq+K+ik+ysg29Z5P2FwrwLsdwoVZAiuBUEAvVLn3z hNJT0oB9Z9chJ5EBIxCgneXrVA== X-Received: by 2002:a17:906:ee2:: with SMTP id x2mr16832980eji.202.1550498631380; Mon, 18 Feb 2019 06:03:51 -0800 (PST) Received: from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id w48sm1421606eda.88.2019.02.18.06.03.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 06:03:50 -0800 (PST) From: Patrick Havelange To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Shawn Guo , Li Yang , Daniel Lezcano , Thomas Gleixner , Thierry Reding , Esben Haabendal , William Breathitt Gray , Linus Walleij , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: Patrick Havelange Subject: [PATCH 4/8] dt-bindings: iio/counter: ftm-quaddec Date: Mon, 18 Feb 2019 15:03:17 +0100 Message-Id: <20190218140321.19166-4-patrick.havelange@essensium.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190218140321.19166-1-patrick.havelange@essensium.com> References: <20190218140321.19166-1-patrick.havelange@essensium.com> 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 --- .../bindings/iio/counter/ftm-quaddec.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt diff --git a/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt b/Documentation/devicetree/bindings/iio/counter/ftm-quaddec.txt new file mode 100644 index 000000000000..4d18cd722074 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/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.17.1