Commit a8cef541 authored by Eddie James's avatar Eddie James Committed by Arnd Bergmann

ARM: dts: aspeed: p10bmc: Update battery node name

The ADC sensor for the battery needs to be named "iio-hwmon" for
compatibility with user space applications.
Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230202152759.67069-1-eajames@linux.ibm.com
Fixes: bf1914e2 ("ARM: dts: aspeed: p10bmc: Fix ADC iio-hwmon battery node name")
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230221003352.1218797-1-joel@jms.id.auSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent e505e6bf
...@@ -124,7 +124,7 @@ fan1-presence { ...@@ -124,7 +124,7 @@ fan1-presence {
}; };
}; };
iio-hwmon-battery { iio-hwmon {
compatible = "iio-hwmon"; compatible = "iio-hwmon";
io-channels = <&adc1 7>; io-channels = <&adc1 7>;
}; };
......
...@@ -244,7 +244,7 @@ led-pcieslot-power { ...@@ -244,7 +244,7 @@ led-pcieslot-power {
}; };
}; };
iio-hwmon-battery { iio-hwmon {
compatible = "iio-hwmon"; compatible = "iio-hwmon";
io-channels = <&adc1 7>; io-channels = <&adc1 7>;
}; };
......
...@@ -220,7 +220,7 @@ event-fan5-presence { ...@@ -220,7 +220,7 @@ event-fan5-presence {
}; };
}; };
iio-hwmon-battery { iio-hwmon {
compatible = "iio-hwmon"; compatible = "iio-hwmon";
io-channels = <&adc1 7>; io-channels = <&adc1 7>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment