Skip to contentSkip to conversation

ARM: dts: aspeed: Fix ADC iio-hwmon battery node name

PATCH New Eddie James 1 participant 1 message Sep 24, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: Fix ADC iio-hwmon battery node name

In keeping with previous systems, call the iio-hwmon bridge node "iio-hwmon-battery" to distinguish it as the battery voltage sensor.

Fixes 9eefd58fb7 ("ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest")
---
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +-
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +1 -1
index 9d04d195b718..0acf9edb3d6d 100644
@@ -244,7 +244,7 @@ led-pcieslot-power {
 		};
 	};
 
-	iio-hwmon {
+	iio-hwmon-battery {
 		compatible = "iio-hwmon";
 		io-channels = <&adc1 7>;
 	};
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +1 -1
index 27806deaca66..f7f4973318da 100644
@@ -219,7 +219,7 @@ fan5-presence {
 		};
 	};
 
-	iio-hwmon {
+	iio-hwmon-battery {
 		compatible = "iio-hwmon";
 		io-channels = <&adc1 7>;
 	};
Signature · 1 line
2.27.0