regulator: Implement list_voltage for WM835x LDOs and DCDCs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Mar 2009 16:32:47 +0000 (16:32 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 31 Mar 2009 08:56:27 +0000 (09:56 +0100)
commit221a7c7c9c88bf9d3ea4e191b35c7da709ca30b7
tree7d2f0c4975a5a2b0b404d5e24b9b5da9ec83f752
parent1897e7423b73ff01db31c24dd20138968e39304c
regulator: Implement list_voltage for WM835x LDOs and DCDCs

Implement the recently added voltage step listing API for the WM835x
DCDCs and LDOs. DCDCs can use values up to 0x66, LDOs can use the full
range of values in the mask. Both masks are the lower bits of the
register.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/wm8350-regulator.c