Skip to contentSkip to conversation

arm64: tegra: Update PWM fan node name

PATCH In review Jon Hunter 1 participant 2 messages Apr 6, 2022

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 arm64: tegra: Update PWM fan node name

According to the device-tree binding document for PWM fans [0], the PWM fan node name should be 'pwm-fan'. Update the PWM fan node name to align with this.

[0] Documentation/devicetree/bindings/hwmon/pwm-fan.txt

---
 arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts | 2 +-
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts            | 2 +-
 arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi           | 2 +-
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts +1 -1
index 4631504c3c7a..7e9aad9ff177 100644
@@ -349,7 +349,7 @@ gpu@17000000 {
 		status = "okay";
 	};
 
-	fan: fan {
+	fan: pwm-fan {
 		compatible = "pwm-fan";
 		pwms = <&pwm4 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +1 -1
index 2478ece9e67c..27d28626bf5b 100644
@@ -1989,7 +1989,7 @@ pcie-ep@141a0000 {
 			    "p2u-5", "p2u-6", "p2u-7";
 	};
 
-	fan: fan {
+	fan: pwm-fan {
 		compatible = "pwm-fan";
 		pwms = <&pwm4 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +1 -1
index 32ce7904f44f..8033be098f34 100644
@@ -1993,7 +1993,7 @@ pcie-ep@141a0000 {
 			    "p2u-5", "p2u-6", "p2u-7";
 	};
 
-	fan: fan {
+	fan: pwm-fan {
 		compatible = "pwm-fan";
 		pwms = <&pwm6 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +1 -1
index 72c2dc3c14ea..746bd52ea3f7 100644
@@ -1657,7 +1657,7 @@ cpu-sleep {
 		};
 	};
 
-	fan: fan {
+	fan: pwm-fan {
 		compatible = "pwm-fan";
 		pwms = <&pwm 3 45334>;
 
Signature · 1 line
2.25.1
author maintainer
#1 lore raw

Adding linux-tegra ...

Quoted 66 lines · Jon Hunter

According to the device-tree binding document for PWM fans [0], the PWM fan node name should be 'pwm-fan'. Update the PWM fan node name to align with this.

[0] Documentation/devicetree/bindings/hwmon/pwm-fan.txt

---
  arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts | 2 +-
  arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts            | 2 +-
  arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi           | 2 +-
  arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts            | 2 +-
  4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts +1 -1
index 4631504c3c7a..7e9aad9ff177 100644
@@ -349,7 +349,7 @@ gpu@17000000 {
  		status = "okay";
  	};
 
-	fan: fan {
+	fan: pwm-fan {
  		compatible = "pwm-fan";
  		pwms = <&pwm4 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +1 -1
index 2478ece9e67c..27d28626bf5b 100644
@@ -1989,7 +1989,7 @@ pcie-ep@141a0000 {
  			    "p2u-5", "p2u-6", "p2u-7";
  	};
 
-	fan: fan {
+	fan: pwm-fan {
  		compatible = "pwm-fan";
  		pwms = <&pwm4 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +1 -1
index 32ce7904f44f..8033be098f34 100644
@@ -1993,7 +1993,7 @@ pcie-ep@141a0000 {
  			    "p2u-5", "p2u-6", "p2u-7";
  	};
 
-	fan: fan {
+	fan: pwm-fan {
  		compatible = "pwm-fan";
  		pwms = <&pwm6 0 45334>;
 
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +1 -1
index 72c2dc3c14ea..746bd52ea3f7 100644
@@ -1657,7 +1657,7 @@ cpu-sleep {
  		};
  	};
 
-	fan: fan {
+	fan: pwm-fan {
  		compatible = "pwm-fan";
  		pwms = <&pwm 3 45334>;
 
Signature · 1 line
nvpublic