[PATCH 05/20] ARM: dts: ux500: Use the standard battery chemistry property
Linus Walleij
linusw at kernel.org
Wed Nov 25 16:37:09 PST 2026
The simple-battery binding uses device-chemistry. Replace the unused
battery-type property so the power supply core can read the chemistry.
Found with CHECK_DTBS=1.
Fixes: be3a60a94390 ("ARM: dts: ux500: Switch battery nodes to standard")
Signed-off-by: Linus Walleij <linusw at kernel.org>
---
arch/arm/boot/dts/st/ste-href.dtsi | 2 +-
arch/arm/boot/dts/st/ste-snowball.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-href.dtsi b/arch/arm/boot/dts/st/ste-href.dtsi
index a85b2c352c69..459f82134d03 100644
--- a/arch/arm/boot/dts/st/ste-href.dtsi
+++ b/arch/arm/boot/dts/st/ste-href.dtsi
@@ -15,7 +15,7 @@ memory at 0 {
battery: battery {
compatible = "simple-battery";
- battery-type = "lithium-ion-polymer";
+ device-chemistry = "lithium-ion-polymer";
};
thermal-zones {
diff --git a/arch/arm/boot/dts/st/ste-snowball.dts b/arch/arm/boot/dts/st/ste-snowball.dts
index 3b629dd7f798..2e2f787871ed 100644
--- a/arch/arm/boot/dts/st/ste-snowball.dts
+++ b/arch/arm/boot/dts/st/ste-snowball.dts
@@ -19,7 +19,7 @@ memory at 0 {
battery: battery {
compatible = "simple-battery";
- battery-type = "lithium-ion-polymer";
+ device-chemistry = "lithium-ion-polymer";
};
thermal-zones {
--
2.56.1
More information about the linux-arm-kernel
mailing list