ARM: config: u8500: Re-enable AB8500 battery charging
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Apr 2022 12:37:20 +0000 (14:37 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Apr 2022 12:41:41 +0000 (14:41 +0200)
This is effectively a revert of the temporary disablement
patch. Battery charging now works!

We also enable static battery data for the Samsung SDI
batteries as used by the U8500 Samsung phones.

Cc: Lee Jones <lee.jones@linaro.org>
Fixes: a1149ae97554 ("ARM: ux500: Disable Power Supply and Battery Management by default")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/configs/u8500_defconfig

index 159dd98..a352207 100644 (file)
@@ -84,6 +84,8 @@ CONFIG_SPI_GPIO=y
 CONFIG_SPI_PL022=y
 CONFIG_GPIO_STMPE=y
 CONFIG_GPIO_TC3589X=y
+CONFIG_BATTERY_SAMSUNG_SDI=y
+CONFIG_AB8500_BM=y
 CONFIG_SENSORS_IIO_HWMON=y
 CONFIG_SENSORS_NTC_THERMISTOR=y
 CONFIG_THERMAL=y