[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1519196339-9377-8-git-send-email-rrajk@nvidia.com>
Date: Wed, 21 Feb 2018 12:28:56 +0530
From: Rajkumar Rampelli <rrajk@...dia.com>
To: <robh+dt@...nel.org>, <mark.rutland@....com>,
<thierry.reding@...il.com>, <jonathanh@...dia.com>,
<jdelvare@...e.com>, <linux@...ck-us.net>, <corbet@....net>,
<catalin.marinas@....com>, <will.deacon@....com>,
<kstewart@...uxfoundation.org>, <gregkh@...uxfoundation.org>,
<pombredanne@...b.com>, <mmaddireddy@...dia.com>,
<mperttunen@...dia.com>, <arnd@...db.de>,
<gregory.clement@...e-electrons.com>, <timur@...eaurora.org>,
<andy.gross@...aro.org>, <xuwei5@...ilicon.com>,
<elder@...aro.org>, <heiko@...ech.de>, <krzk@...nel.org>,
<ard.biesheuvel@...aro.org>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-pwm@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<linux-hwmon@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <ldewangan@...dia.com>,
<rrajk@...dia.com>
Subject: [PATCH 07/10] arm64: tegra: Add PWM based Tachometer support on Tegra186
Add PWM based Tachometer support on Tegra186 to measure
number of rotations of a Fan per minute by using PWM
capture interface
Signed-off-by: Rajkumar Rampelli <rrajk@...dia.com>
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index 8f2d598..37149e9 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1042,4 +1042,10 @@
reset-names = "tachometer";
status = "disabled";
};
+
+ generic_pwm_tachometer {
+ compatible = "generic-pwm-tachometer";
+ pwms = <&tegra_tachometer 0 1000000>;
+ status = "disabled";
+ };
};
--
2.1.4
Powered by blists - more mailing lists