Messages in this thread | | | Date | Sun, 21 Jul 2013 16:45:23 +0200 | Subject | Re: [PATCH] regulator: ab8500: Provide map_voltage() functions | From | Linus Walleij <> |
| |
On Wed, Jul 3, 2013 at 11:16 AM, Mark Brown <broonie@kernel.org> wrote:
> From: Mark Brown <broonie@linaro.org> > > Since all the voltage tables for ab8500 are sorted in ascending order we > can improve performance by using regulator_map_voltage_ascend(). A couple > of the regulators can actually use linear maps which would be even better. > > Signed-off-by: Mark Brown <broonie@linaro.org>
Hm. Have you looked closer at this one voltage table in this driver:
static const unsigned int ldo_vaux56_voltages[] = { 1800000, 1050000, 1100000, 1200000, 1500000, 2200000, 2500000, 2790000, };
Or this one:
static const unsigned int ldo_sdio_voltages[] = { 1160000, 1050000, 1100000, 1500000, 1800000, 2200000, 2910000, 3050000, };
Yours, Linus Walleij
| |