[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150723144915.GH3436@x1>
Date: Thu, 23 Jul 2015 15:49:15 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Chris Zhong <zyw@...k-chips.com>
Cc: broonie@...nel.org, heiko@...ech.de, dianders@...omium.org,
linux-rockchip@...ts.infradead.org, sonnyrao@...omium.org,
amstan@...gle.com, mark.rutland@....com,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Zhang Qing <zhangqing@...k-chips.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 1/2] mfd: dt-bindings: add the description about dvs
gpio for rk808
On Mon, 20 Jul 2015, Chris Zhong wrote:
> add the description about dvs1, dvs2, and add the example.
>
> Signed-off-by: Chris Zhong <zyw@...k-chips.com>
> Reviewed-by: Doug Anderson <dianders@...omium.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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists