diff options
author | Chris Zhong <zyw@rock-chips.com> | 2015-07-20 17:23:52 +0800 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-11 15:08:55 +0100 |
commit | 34885237bf7d744433d3c4558a852e20fb2c2837 (patch) | |
tree | aeec3419f2d27e0889e1c7d6e90549adb8e56a80 /Documentation | |
parent | f1837e4ad502d6b15be864ace04b681e5b0fd49e (diff) | |
download | linux-stable-34885237bf7d744433d3c4558a852e20fb2c2837.tar.gz linux-stable-34885237bf7d744433d3c4558a852e20fb2c2837.tar.bz2 linux-stable-34885237bf7d744433d3c4558a852e20fb2c2837.zip |
mfd: rk808: dt: 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: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/rk808.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentation/devicetree/bindings/mfd/rk808.txt index 9e6e2592e5c8..4ca6aab4273a 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; |