* [PATCH v4 0/2] fixed the overshoot when adjust voltage @ 2015-07-20 9:23 Chris Zhong [not found] ` <1437384233-26169-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Chris Zhong @ 2015-07-20 9:23 UTC (permalink / raw) To: broonie-DgEjT+Ai2ygdnm+yROfE0A Cc: heiko-4mtYJXux2i+zQB+pC5nmwQ, dianders-F7+t8E8rja9g9hUCZPvPmw, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, sonnyrao-F7+t8E8rja9g9hUCZPvPmw, amstan-hpIqsD4AKlfQT0dZR+AlfA, mark.rutland-5wv7dgnIgG8, lee.jones-QSEj5FYQhm4dnm+yROfE0A, Chris Zhong, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Liam Girdwood, Kumar Gala, Zhang Qing, Ian Campbell, Rob Herring, Pawel Moll Hi Mark Sorry for the belated update. As you said, constantly checking dvsok pin and waiting it to active is not a good idea, so I remove the dvsok pin in latest patch. This patchset have been tested on ChromeBook, the overshoot has disappeared on the boards with dvs pin. And for the other boards without dvs pin, the overshoot alse significantly reduced to a negligible level. Changes in v4: - Remove the description about dvs-ok - remove dvsok pin - add support gradual adjustment Changes in v3: - Modify the syntax error Changes in v2: - increase description about dvs pins - modify the multiline commenting Chris Zhong (2): mfd: dt-bindings: add the description about dvs gpio for rk808 regulator: rk808: fixed the overshoot when adjust voltage Documentation/devicetree/bindings/mfd/rk808.txt | 8 +- drivers/regulator/rk808-regulator.c | 219 ++++++++++++++++++++++-- 2 files changed, 214 insertions(+), 13 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <1437384233-26169-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* [PATCH v4 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808 [not found] ` <1437384233-26169-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2015-07-20 9:23 ` Chris Zhong [not found] ` <1437384233-26169-2-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Chris Zhong @ 2015-07-20 9:23 UTC (permalink / raw) To: broonie-DgEjT+Ai2ygdnm+yROfE0A Cc: mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA, amstan-hpIqsD4AKlfQT0dZR+AlfA, heiko-4mtYJXux2i+zQB+pC5nmwQ, Pawel Moll, Ian Campbell, lee.jones-QSEj5FYQhm4dnm+yROfE0A, Zhang Qing, dianders-F7+t8E8rja9g9hUCZPvPmw, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring, Kumar Gala, Chris Zhong, sonnyrao-F7+t8E8rja9g9hUCZPvPmw add the description about dvs1, dvs2, and add the example. Signed-off-by: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> Reviewed-by: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> --- Changes in v4: - Remove the description about dvs-ok Changes in v3: - Modify the syntax error Changes in v2: - increase description about dvs pins Documentation/devicetree/bindings/mfd/rk808.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/devicetree/bindings/mfd/rk808.txt index 9e6e259..4ca6aab 100644 --- a/Documentation/devicetree/bindings/mfd/rk808.txt +++ b/Documentation/devicetree/bindings/mfd/rk808.txt @@ -24,6 +24,10 @@ Optional properties: - vcc10-supply: The input supply for LDO_REG6 - vcc11-supply: The input supply for LDO_REG8 - vcc12-supply: The input supply for SWITCH_REG2 +- dvs-gpios: buck1/2 can be controlled by gpio dvs, this is GPIO specifiers + for 2 host gpio's used for dvs. The format of the gpio specifier depends in + the gpio controller. If DVS GPIOs aren't present, voltage changes will happen + very quickly with no slow ramp time. Regulators: All the regulators of RK808 to be instantiated shall be listed in a child node named 'regulators'. Each regulator is represented @@ -55,7 +59,9 @@ Example: interrupt-parent = <&gpio0>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; - pinctrl-0 = <&pmic_int>; + pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>; + dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>, + <&gpio7 15 GPIO_ACTIVE_HIGH>; reg = <0x1b>; rockchip,system-power-controller; wakeup-source; -- 1.9.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1437384233-26169-2-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>]
* Re: [PATCH v4 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808 [not found] ` <1437384233-26169-2-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> @ 2015-07-23 14:49 ` Lee Jones 0 siblings, 0 replies; 3+ messages in thread From: Lee Jones @ 2015-07-23 14:49 UTC (permalink / raw) To: Chris Zhong Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A, heiko-4mtYJXux2i+zQB+pC5nmwQ, dianders-F7+t8E8rja9g9hUCZPvPmw, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, sonnyrao-F7+t8E8rja9g9hUCZPvPmw, amstan-hpIqsD4AKlfQT0dZR+AlfA, mark.rutland-5wv7dgnIgG8, Rob Herring, Pawel Moll, Ian Campbell, Kumar Gala, Zhang Qing, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA On Mon, 20 Jul 2015, Chris Zhong wrote: > add the description about dvs1, dvs2, and add the example. > > Signed-off-by: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> > Reviewed-by: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> > > --- > > Changes in v4: > - Remove the description about dvs-ok > > Changes in v3: > - Modify the syntax error > > Changes in v2: > - increase description about dvs pins > > Documentation/devicetree/bindings/mfd/rk808.txt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) Applied, thanks. > diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/devicetree/bindings/mfd/rk808.txt > index 9e6e259..4ca6aab 100644 > --- a/Documentation/devicetree/bindings/mfd/rk808.txt > +++ b/Documentation/devicetree/bindings/mfd/rk808.txt > @@ -24,6 +24,10 @@ Optional properties: > - vcc10-supply: The input supply for LDO_REG6 > - vcc11-supply: The input supply for LDO_REG8 > - vcc12-supply: The input supply for SWITCH_REG2 > +- dvs-gpios: buck1/2 can be controlled by gpio dvs, this is GPIO specifiers > + for 2 host gpio's used for dvs. The format of the gpio specifier depends in > + the gpio controller. If DVS GPIOs aren't present, voltage changes will happen > + very quickly with no slow ramp time. > > Regulators: All the regulators of RK808 to be instantiated shall be > listed in a child node named 'regulators'. Each regulator is represented > @@ -55,7 +59,9 @@ Example: > interrupt-parent = <&gpio0>; > interrupts = <4 IRQ_TYPE_LEVEL_LOW>; > pinctrl-names = "default"; > - pinctrl-0 = <&pmic_int>; > + pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>; > + dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>, > + <&gpio7 15 GPIO_ACTIVE_HIGH>; > reg = <0x1b>; > rockchip,system-power-controller; > wakeup-source; -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-23 14:49 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-07-20 9:23 [PATCH v4 0/2] fixed the overshoot when adjust voltage Chris Zhong [not found] ` <1437384233-26169-1-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-07-20 9:23 ` [PATCH v4 1/2] mfd: dt-bindings: add the description about dvs gpio for rk808 Chris Zhong [not found] ` <1437384233-26169-2-git-send-email-zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> 2015-07-23 14:49 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).