]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: ux500: Switch battery nodes to standard
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Oct 2021 22:40:08 +0000 (00:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Oct 2021 15:41:10 +0000 (17:41 +0200)
commitc85508790137c212826c50304fae2f1ccf29f115
treece21ab442bdace835c228f8f355ce85c10d5612f
parentfdf20ccb94215eb0d1f9e81ef9ddf275e43855cd
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 ca124987b2c9
"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>
arch/arm/boot/dts/ste-ab8500.dtsi
arch/arm/boot/dts/ste-ab8505.dtsi
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-snowball.dts
arch/arm/boot/dts/ste-ux500-samsung-codina.dts
arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
arch/arm/boot/dts/ste-ux500-samsung-golden.dts
arch/arm/boot/dts/ste-ux500-samsung-janice.dts
arch/arm/boot/dts/ste-ux500-samsung-kyle.dts
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts