regulator: axp20x: Add support for AXP22X regulators
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 10 Apr 2015 04:09:04 +0000 (12:09 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 13 May 2015 15:26:18 +0000 (16:26 +0100)
commit1b82b4e4f9546fbed0b61ee68cdae5db7518dd28
tree6f3fb23a157f887ddb93926afc56feaba3b6eec9
parent866bd951f2205ce36ebf2dd6f88c2ecd3ce245a8
regulator: axp20x: Add support for AXP22X regulators

Add AXP22X regulator definitions and variant id associations.
This introduces a new "switch" type output for one of the regulators.
It is a switchable secondary output of one regulator, with the same
voltage level as the primary output.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
[wens@csie.org: Moved variant choosing to multi family support patch]
[wens@csie.org: Add dc-dc work frequency range]
[wens@csie.org: Add "switch" type output regulator DC1SW]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/axp20x-regulator.c