Re: [PATCH] regulator: rk808: Convert rk805 buck1/2 to use linear range

From: Otavio Salvador
Date: Mon Feb 04 2019 - 18:15:30 EST


On Mon, Feb 4, 2019 at 5:10 AM Axel Lin <axel.lin@xxxxxxxxxx> wrote:
>
> It looks like linear range is suitable to describe the voltage table
> for rk805 buck1/2:
>
> selector 0 ~ 59: 0.7125V with uV_step = 12500
> selector 60 ~ 62: 1.8V with uV_step = 200000
> selector 63: 2.3V
>
> With this change, then rk805 buck1/2 can reuse rk808_reg_ops_ranges.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Cool! Thanks for looking at that!

Tested-by: Otavio Salvador <otavio@xxxxxxxxxxxxxxxx>

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750