[PATCH V2 6/9] arm64: tegra: Add pwm based fan support on Tegra186
Rajkumar Rampelli
rrajk at nvidia.com
Tue Mar 20 21:40:41 PDT 2018
Add pwm fan driver support on Tegra186 SoC.
Signed-off-by: Rajkumar Rampelli <rrajk at nvidia.com>
---
V2: Removed generic-pwm-tachometer driver dt node and using pwm-fan driver
for reading fan speed.
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 19e1afc..27ae73e 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1053,4 +1053,10 @@
reset-names = "tachometer";
status = "disabled";
};
+
+ pwm_fan {
+ compatible = "pwm-fan";
+ pwms = <&tegra_tachometer 0 1000000>;
+ status = "disabled";
+ };
};
--
2.1.4
More information about the linux-arm-kernel
mailing list