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

[ Upstream commit a8cef541dd ]

The ADC sensor for the battery needs to be named "iio-hwmon" for
compatibility with user space applications.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230202152759.67069-1-eajames@linux.ibm.com
Fixes: bf1914e2cf ("ARM: dts: aspeed: p10bmc: Fix ADC iio-hwmon battery node name")
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230221003352.1218797-1-joel@jms.id.au
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Eddie James 2023-02-21 11:03:52 +10:30 committed by Greg Kroah-Hartman
parent 84cfcf240f
commit 942100ec92
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@ led-pcieslot-power {
};
};
iio-hwmon-battery {
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc1 7>;
};

View file

@ -220,7 +220,7 @@ event-fan5-presence {
};
};
iio-hwmon-battery {
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc1 7>;
};