Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3970217img; Mon, 25 Mar 2019 23:48:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwih7FIIHJp5f56PFnf1FmAtQxHtdkwTzaBI9p5XokLyoMdYjdGCeHRWhBicn+l9PqtQf01 X-Received: by 2002:a63:c54a:: with SMTP id g10mr5550468pgd.71.1553582936005; Mon, 25 Mar 2019 23:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553582935; cv=none; d=google.com; s=arc-20160816; b=MO1skN1KhHdj3PfITZ751Ymnhz1wWd67tO88pMKd7S//SxHRR7dJmaFvebAudf3SH5 LgBamVSbpAC/t4/R6xn5o+6M6DcWOHNJsumeZU+2gaLAvFGGJAo8N7kVy8Uu6QXdFqYq T1/Z7QCeyr+zv/NsaDWnZYmPFqhuE+LeiHL5W2kauI/j5hjTFBvQbE7n0QjcrnKv96W0 uyj0hsq75+2ev8KhGhrAAjuV+fETy6NBE4p5L2Yl4Uaj2Jef5+AzBaaTEBt8T65o4OHz 4CFYBSDSv52wUXSVfRgi7WApxciIrec8QwL3fp20xf4rUvChYJLVAEBOarPzKLBg8m4F POVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=/spXVNsw1VFoBKszlwVqbbpeSdVBWpQYsA8KbzaEwYg=; b=hcM1FZwl5lbHTpZH9Nl2oF9AHOwnjHuwI06zcVbRzLyy1areohz/frBlRvVL3EAuVJ E/pEWVNRaJbk1FDz/ywMmD/3DKZdesUnX57p+7RVuBWL7/u2GGsAq2rgLAcQVjTQo3dv Uk3Lnr85igviyRj9GhDbeQ9QFmy3cmUg81L7q8hVU+XKXYQ1u9YfB7vz6yqav0G97rMf 3QkKgkV8qenizqeBtV/QgAAK3J+fCzFXcENIh5mu1pFPdxFNNWoPbGgfsw3WwiWoD8te IKcpyzjfhJX8yZAu86MgtkJvxHR5oCdflGfc5EKP0qy34OT4M4K/MmG6tN/N87Nd9Ne2 N2AA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i24si12912607pgh.434.2019.03.25.23.48.40; Mon, 25 Mar 2019 23:48:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731793AbfCZGq5 (ORCPT + 99 others); Tue, 26 Mar 2019 02:46:57 -0400 Received: from mx.socionext.com ([202.248.49.38]:11549 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730569AbfCZGch (ORCPT ); Tue, 26 Mar 2019 02:32:37 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 26 Mar 2019 15:32:35 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 2AE0C6117D; Tue, 26 Mar 2019 15:32:35 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Tue, 26 Mar 2019 15:32:35 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id DA31840385; Tue, 26 Mar 2019 15:32:34 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id BAA92120487; Tue, 26 Mar 2019 15:32:34 +0900 (JST) From: Shinji Kanematsu To: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, orito.takao@socionext.com, sugaya.taichi@socionext.com, kasai.kazuhiro@socionext.com, kanematsu.shinji@socionext.com Subject: [PATCH 0/2] Add Updown Counter support for Milbeaut M10V SoC Date: Tue, 26 Mar 2019 15:32:34 +0900 Message-Id: <1553581954-13487-1-git-send-email-kanematsu.shinji@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a series of patch which adds Updown Counter support on Milbeaut M10V SoC. The Updown Counter counts input pulse signal from external quadrature encoder. It also has input pulse signal counter function. Shinji Kanematsu (2): dt-bindings: iio: counter: Add Milbeaut Updown Counter iio: counter: Add support for Milbeaut Updown Counter .../bindings/iio/counter/milbeaut-updown_cnt.txt | 22 ++ drivers/iio/counter/Kconfig | 12 + drivers/iio/counter/Makefile | 1 + drivers/iio/counter/milbeaut-updown.h | 38 ++ drivers/iio/counter/milbeaut-updown_cnt.c | 385 +++++++++++++++++++++ 5 files changed, 458 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/counter/milbeaut-updown_cnt.txt create mode 100644 drivers/iio/counter/milbeaut-updown.h create mode 100644 drivers/iio/counter/milbeaut-updown_cnt.c -- 1.9.1