[PATCH v2 2/2] regulator: rk808: add dvs support

Doug Anderson dianders at chromium.org
Thu Dec 11 14:05:11 PST 2014


Chris,

On Wed, Dec 10, 2014 at 7:16 PM, Chris Zhong <zyw at rock-chips.com> wrote:
> rk808 has a dvs function, there are 3 pins for dvs, dvs1 & dvs2 & dvsok.
> Normally, the voltage of DCDC1/DCDC2 are controlled by BUCKn_ON_VSEL, when
> we pull dvs1/dvs2 pin to active, they would be controlled by BUCKn_DVS_VSEL.
> And the dvsok pin is used to indicate whether regulating has been completed.
> When dvs1/dvs2 pin change, dvsok would be pull down, and it would be pull up
> once the regulating is complete.
>
> Signed-off-by: Chris Zhong <zyw at rock-chips.com>
>
> ---
>
> Changes in v2:
> - modify the multiline commenting
>
>  drivers/regulator/rk808-regulator.c | 192 +++++++++++++++++++++++++++++++++---
>  1 file changed, 180 insertions(+), 12 deletions(-)

Reviewed-by: Doug Anderson <dianders at chromium.org>



More information about the Linux-rockchip mailing list