diff options
author | Eddie James <eajames@linux.ibm.com> | 2023-02-21 03:33:52 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-02-27 16:46:15 +0300 |
commit | a8cef541dd5ef9445130660008c029205c4c5aa5 (patch) | |
tree | 78da8b168e00d3a35d71cd88afc56bf770e293a9 /arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | |
parent | e505e6bf4205255bf6e0daba9ea0f80b6391b936 (diff) | |
download | linux-a8cef541dd5ef9445130660008c029205c4c5aa5.tar.xz |
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: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230202152759.67069-1-eajames@linux.ibm.com
Fixes: bf1914e2cfed ("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>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts index 7f755e5a4624..d9b684ccb095 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts @@ -124,7 +124,7 @@ }; }; - iio-hwmon-battery { + iio-hwmon { compatible = "iio-hwmon"; io-channels = <&adc1 7>; }; |