regulator: add voltage selection capability to mc13783 regulators v2 .
authorAlberto Panizzo <maramaopercheseimorto@gmail.com>
Mon, 14 Dec 2009 17:26:38 +0000 (18:26 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 3 Mar 2010 14:49:22 +0000 (14:49 +0000)
commit1bd588fd9d2611d2573066f49477fb5be2aa13de
treebf24eb18a4eb47843f19ecd7874bb0f24c6995b7
parent3a5b27bf6f29574d667230c7e76e4b83fe3014e0
regulator: add voltage selection capability to mc13783 regulators v2 .

This patch, complete the mc13783 regulator subsystem driver with
voltage selecting capability.
Main Switches (SW1AB, SW2AB) are not supported yet.

version 2 diffs:
- delete the "Switchers PLL" enable and multiplication factor value
  selecting capability because it is not a voltage or current regulator.
  This will be a part of Main switcher supporting task.
- Correct many coding style problems pointed me out.

Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/mc13783-regulator.c