[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1519196339-9377-11-git-send-email-rrajk@nvidia.com>
Date: Wed, 21 Feb 2018 12:28:59 +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 10/10] arm64: tegra: Add PWM controller on Tegra186 soc
The NVIDIA Tegra186 SoC has a PWM controller which is
used in FAN control use case.
Signed-off-by: Rajkumar Rampelli <rrajk@...dia.com>
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index 37149e9..c6f154e 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1032,6 +1032,17 @@
interrupt-parent = <&gic>;
};
+ pwm@...0000 {
+ compatible = "nvidia,tegra186-pwm";
+ reg = <0x0 0xc340000 0x0 0x10000>;
+ clocks = <&bpmp TEGRA186_CLK_PWM4>;
+ clock-names = "pwm";
+ #pwm-cells = <2>;
+ resets = <&bpmp TEGRA186_RESET_PWM4>;
+ reset-names = "pwm";
+ status = "disabled";
+ };
+
tegra_tachometer: tachometer@...0000 {
compatible = "nvidia,tegra186-pwm-tachometer";
reg = <0x0 0x039c0000 0x0 0x10>;
--
2.1.4
Powered by blists - more mailing lists