Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: rk808: add the description about dvs gpio for rk808

add the description about dvs1, dvs2, and add the example.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chris Zhong and committed by
Mark Brown
0ec5f8bd bc0195aa

+7 -1
+7 -1
Documentation/devicetree/bindings/mfd/rk808.txt
··· 24 24 - vcc10-supply: The input supply for LDO_REG6 25 25 - vcc11-supply: The input supply for LDO_REG8 26 26 - vcc12-supply: The input supply for SWITCH_REG2 27 + - dvs-gpios: buck1/2 can be controlled by gpio dvs, this is GPIO specifiers 28 + for 2 host gpio's used for dvs. The format of the gpio specifier depends in 29 + the gpio controller. If DVS GPIOs aren't present, voltage changes will happen 30 + very quickly with no slow ramp time. 27 31 28 32 Regulators: All the regulators of RK808 to be instantiated shall be 29 33 listed in a child node named 'regulators'. Each regulator is represented ··· 59 55 interrupt-parent = <&gpio0>; 60 56 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 61 57 pinctrl-names = "default"; 62 - pinctrl-0 = <&pmic_int>; 58 + pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>; 59 + dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>, 60 + <&gpio7 15 GPIO_ACTIVE_HIGH>; 63 61 reg = <0x1b>; 64 62 rockchip,system-power-controller; 65 63 wakeup-source;