power: supply: axp20x_ac_power: Allow offlining
authorSamuel Holland <samuel@sholland.org>
Mon, 13 Jan 2020 03:53:04 +0000 (21:53 -0600)
committerSebastian Reichel <sre@kernel.org>
Tue, 14 Jan 2020 00:00:41 +0000 (01:00 +0100)
commitddfec18b42c44c4792071d67ae139e5b1f211410
tree2711f86578f1f4d83b0ebc38d9bd32813e4a3beb
parent1c51aad8475d670ad58ae60adc9d32342381df8d
power: supply: axp20x_ac_power: Allow offlining

AXP803/AXP813 have a flag that enables/disables the AC power supply
input. Allow control of this flag via the ONLINE property on those
variants.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp20x_ac_power.c