linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rajkumar Rampelli <rrajk@nvidia.com>
To: <robh+dt@kernel.org>, <mark.rutland@arm.com>,
	<thierry.reding@gmail.com>, <jonathanh@nvidia.com>,
	<jdelvare@suse.com>, <linux@roeck-us.net>, <corbet@lwn.net>,
	<catalin.marinas@arm.com>, <will.deacon@arm.com>,
	<kstewart@linuxfoundation.org>, <gregkh@linuxfoundation.org>,
	<pombredanne@nexb.com>, <mmaddireddy@nvidia.com>,
	<mperttunen@nvidia.com>, <arnd@arndb.de>,
	<gregory.clement@free-electrons.com>, <timur@codeaurora.org>,
	<andy.gross@linaro.org>, <xuwei5@hisilicon.com>,
	<elder@linaro.org>, <heiko@sntech.de>, <krzk@kernel.org>,
	<ard.biesheuvel@linaro.org>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-pwm@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
	<linux-hwmon@vger.kernel.org>, <linux-doc@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <ldewangan@nvidia.com>,
	<rrajk@nvidia.com>
Subject: [PATCH 02/10] dt-bindings: Tegra186 tachometer device tree bindings
Date: Wed, 21 Feb 2018 12:28:51 +0530	[thread overview]
Message-ID: <1519196339-9377-3-git-send-email-rrajk@nvidia.com> (raw)
In-Reply-To: <1519196339-9377-1-git-send-email-rrajk@nvidia.com>

Supply Device tree binding documentation for the NVIDIA
Tegra186 SoC's Tachometer Controller

Signed-off-by: Rajkumar Rampelli <rrajk@nvidia.com>
---
 .../bindings/pwm/pwm-tegra-tachometer.txt          | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-tegra-tachometer.txt

diff --git a/Documentation/devicetree/bindings/pwm/pwm-tegra-tachometer.txt b/Documentation/devicetree/bindings/pwm/pwm-tegra-tachometer.txt
new file mode 100644
index 0000000..4a7ead4
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/pwm-tegra-tachometer.txt
@@ -0,0 +1,31 @@
+Bindings for a PWM based Tachometer driver
+
+Required properties:
+- compatible: Must be "nvidia,tegra186-pwm-tachometer"
+- reg: physical base addresses of the controller and length of
+  memory mapped region.
+- #pwm-cells: should be 2. See pwm.txt in this directory for a
+  description of the cells format.
+- clocks: phandle list of tachometer clocks
+- clock-names: should be "tachometer". See clock-bindings.txt in documentations
+- resets: phandle to the reset controller for the Tachometer IP
+- reset-names: should be "tachometer". See reset.txt in documentations
+- nvidia,pulse-per-rev: Integer, pulses per revolution of a Fan. This value
+  obtained from Fan specification document.
+- nvidia,capture-window-len: Integer, window of the Fan Tach monitor, it indicates
+  that how many period of the input fan tach signal will the FAN TACH logic
+  monitor. Valid values are 1, 2, 4 and 8 only.
+
+Example:
+	tegra_tachometer: tachometer@39c0000 {
+		compatible = "nvidia,tegra186-pwm-tachometer";
+		reg = <0x0 0x039c0000 0x0 0x10>;
+		#pwm-cells = <2>;
+		clocks = <&tegra_car TEGRA186_CLK_TACH>;
+		clock-names = "tachometer";
+		resets = <&tegra_car TEGRA186_RESET_TACH>;
+		reset-names = "tachometer";
+		nvidia,pulse-per-rev = <2>;
+		nvidia,capture-window-len = <2>;
+		status = "disabled";
+	};
-- 
2.1.4

  parent reply	other threads:[~2018-02-21  6:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21  6:58 [PATCH 00/10] Implementation of Tegra Tachometer driver Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 01/10] pwm: core: Add support for PWM HW driver with pwm capture only Rajkumar Rampelli
2018-02-21  6:58 ` Rajkumar Rampelli [this message]
2018-02-21  6:58 ` [PATCH 03/10] pwm: tegra: Add PWM based Tachometer driver Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 04/10] hwmon: generic-pwm-tachometer: Add DT binding details Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 05/10] hwmon: generic-pwm-tachometer: Add generic PWM based tachometer Rajkumar Rampelli
2018-02-21  7:15   ` Mikko Perttunen
2018-02-21 14:46     ` Guenter Roeck
2018-02-21 15:20       ` Mikko Perttunen
2018-02-21 16:08         ` Guenter Roeck
2018-02-23 11:45           ` RAJKUMAR
2018-03-01 22:08         ` Rob Herring
2018-02-21 14:50   ` Guenter Roeck
2018-02-28  5:38     ` Rajkumar Rampelli
2018-02-28  5:58       ` Guenter Roeck
2018-02-28  6:07         ` Rajkumar Rampelli
2018-02-28  6:12         ` Rajkumar Rampelli
2018-02-28  7:03           ` Mikko Perttunen
2018-02-28 14:29             ` Guenter Roeck
2018-03-07  9:47               ` Rajkumar Rampelli
2018-03-07 14:20                 ` Guenter Roeck
2018-03-08  6:06                   ` Laxman Dewangan
2018-03-08 14:31                     ` Guenter Roeck
2018-03-08 15:21                       ` Laxman Dewangan
2018-03-08  7:57                   ` Mikko Perttunen
2018-03-08 14:33                     ` Guenter Roeck
2018-02-21  6:58 ` [PATCH 06/10] arm64: tegra: Add Tachometer Controller on Tegra186 Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 07/10] arm64: tegra: Add PWM based Tachometer support " Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 08/10] arm64: defconfig: enable Nvidia Tegra Tachometer as a module Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 09/10] arm64: defconfig: Enable Generic PWM based Tachometer driver Rajkumar Rampelli
2018-02-21  6:58 ` [PATCH 10/10] arm64: tegra: Add PWM controller on Tegra186 soc Rajkumar Rampelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519196339-9377-3-git-send-email-rrajk@nvidia.com \
    --to=rrajk@nvidia.com \
    --cc=andy.gross@linaro.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=arnd@arndb.de \
    --cc=catalin.marinas@arm.com \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=elder@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=gregory.clement@free-electrons.com \
    --cc=heiko@sntech.de \
    --cc=jdelvare@suse.com \
    --cc=jonathanh@nvidia.com \
    --cc=krzk@kernel.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mark.rutland@arm.com \
    --cc=mmaddireddy@nvidia.com \
    --cc=mperttunen@nvidia.com \
    --cc=pombredanne@nexb.com \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=timur@codeaurora.org \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).