Commit c59f57f3 authored by Hermann Lauer's avatar Hermann Lauer Committed by Greg Kroah-Hartman
Browse files

power: supply: axp20x_battery: allow disabling battery charging



[ Upstream commit 6a0fcc87 ]

Allow disabling and re-enabling battery charging of an axp209 PMIC
through a writable status property. With the current driver code
charging is always on.

This works on the axp209 of Banana {Pi M1+,Pro} and should work on all
AXP chips.

Signed-off-by: default avatar <Hermann.Lauer@uni-heidelberg.de>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Stable-dep-of: 61978807 ("power: supply: axp20x_battery: Remove design from min and max voltage")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8202306e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment