]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: aspeed: p10bmc: Update battery node name
authorEddie James <eajames@linux.ibm.com>
Tue, 21 Feb 2023 00:33:52 +0000 (11:03 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Apr 2023 10:10:35 +0000 (12:10 +0200)
[ Upstream commit a8cef541dd5ef9445130660008c029205c4c5aa5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index fcc890e3ad735f11b91844ab7ea77318d1814090..f11feb98fde33bd004945ad5f81cc2724517181a 100644 (file)
                };
        };
 
-       iio-hwmon-battery {
+       iio-hwmon {
                compatible = "iio-hwmon";
                io-channels = <&adc1 7>;
        };
index 4879da4cdbd25595f9c0428f663423d13a648ff2..77a3a27b04e2618c9f660ae9105e59f23014527a 100644 (file)
                };
        };
 
-       iio-hwmon-battery {
+       iio-hwmon {
                compatible = "iio-hwmon";
                io-channels = <&adc1 7>;
        };