On Wed, Jul 3, 2013 at 11:16 AM, Mark Brown <[email protected]> wrote:

> From: Mark Brown <[email protected]>
>
> 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 <[email protected]>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to