[PATCH] regulator: rk808: Fix min_uV for DCDC1 & DCDC2

Doug Anderson dianders at chromium.org
Tue Sep 30 09:43:47 PDT 2014


Chris,

On Tue, Sep 30, 2014 at 2:44 AM, Chris Zhong <zyw at rock-chips.com> wrote:
> The min_uv in DCDC1 & DCDC2 should be 712.5mv
>
> Signed-off-by: Chris Zhong <zyw at rock-chips.com>
>
> ---
>
>  drivers/regulator/rk808-regulator.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
> index e305416..196a5c8 100644
> --- a/drivers/regulator/rk808-regulator.c
> +++ b/drivers/regulator/rk808-regulator.c
> @@ -44,7 +44,7 @@ static const int rk808_buck_config_regs[] = {
>  };
>
>  static const struct regulator_linear_range rk808_buck_voltage_ranges[] = {
> -       REGULATOR_LINEAR_RANGE(700000, 0, 63, 12500),
> +       REGULATOR_LINEAR_RANGE(712500, 0, 63, 12500),
>  };

I have no problem with this (and the current "dts" file I see don't go
this low anyway), but it doesn't match the datasheet I have right now
which says "0.700 V" is the min.

-Doug



More information about the Linux-rockchip mailing list