diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-10-07 00:40:08 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-10-14 17:41:10 +0200 |
commit | be3a60a94390651499ea317ae6853bdb5c756065 (patch) | |
tree | ce21ab442bdace835c228f8f355ce85c10d5612f /arch/arm/boot/dts/ste-ux500-samsung-janice.dts | |
parent | 41b086b22fd84b3141e697ba978a66c5ea4997c6 (diff) | |
download | linux-be3a60a94390651499ea317ae6853bdb5c756065.tar.bz2 |
ARM: dts: ux500: Switch battery nodes to standard
This force-converts the per-device battery node into the standard
properties using "simple-battery" for the HREF machines and the
corresponding Samsung battery for the mobile phones.
This is fine to do since the battery data in the DTS files has never
been deployed or used. In commit a1149ae97554
"ARM: ux500: Disable Power Supply and Battery Management by default"
it was turned off and has not been switched back on since. In
the meantime standardized bindings for batteries have appeared
making the old AB8500 battery bindings obsolete.
The battery node which is now in the middle of an included file
is obviously a per-device piece of information so push this down
to each board. The HREF machines all have the same battery and can
share a single node in the HREF dtsi file.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-ux500-samsung-janice.dts')
-rw-r--r-- | arch/arm/boot/dts/ste-ux500-samsung-janice.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts index 825b62146134..5ddcbc1a855d 100644 --- a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts +++ b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts @@ -20,6 +20,10 @@ stdout-path = &serial2; }; + battery: battery { + compatible = "samsung,eb535151vu"; + }; + /* External LDO for eMMC LDO VMEM_3V3 controlled by GPIO6 */ ldo_3v3_reg: regulator-gpio-ldo-3v3 { compatible = "regulator-fixed"; |