projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e505e6b
)
ARM: dts: aspeed: p10bmc: Update battery node name
author
Eddie James
<eajames@linux.ibm.com>
Tue, 21 Feb 2023 00:33:52 +0000
(11:03 +1030)
committer
Arnd Bergmann
<arnd@arndb.de>
Mon, 27 Feb 2023 13:46:15 +0000
(14:46 +0100)
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>
arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
patch
|
blob
|
history
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
patch
|
blob
|
history
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
index
7f755e5
..
d9b684c
100644
(file)
--- 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>;
};
diff --git
a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
index
1448ea8
..
8ad5fe9
100644
(file)
--- a/
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
+++ b/
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
@@
-244,7
+244,7
@@
};
};
- iio-hwmon
-battery
{
+ iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc1 7>;
};
diff --git
a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index
20ef958
..
a3c55a0
100644
(file)
--- a/
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@
-220,7
+220,7
@@
};
};
- iio-hwmon
-battery
{
+ iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc1 7>;
};