regulator: axp20x: Support AXP806 variant
authorChen-Yu Tsai <wens@csie.org>
Sat, 27 Aug 2016 07:55:39 +0000 (15:55 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 13 Sep 2016 11:49:45 +0000 (12:49 +0100)
commit2ca342d391e3d8b56ed64626db8cfba8101b7c1d
treebcaf1b7dfd41dfe3e1357e4a9127ce4791e260cd
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
regulator: axp20x: Support AXP806 variant

The X-Powers AXP806 PMIC has a new set of buck and LDO regulators, and
also a switch. The buck regulators support teaming into multi-phase
groups, with A+B, A+B+C, D+E groupings.

Some registers controlling DCDC converter work settings are at different
offsets. Deal with them as well.

Add support for this new variant.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/axp20x-regulator.c