From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v2 1/8] ARM: shmobile: lager: Add VDD MPU regulator for DVFS
Date: Wed, 04 Jun 2014 23:33:00 +0000 [thread overview]
Message-ID: <20140604233300.GA27080@verge.net.au> (raw)
In-Reply-To: <538DB944.4060000@bp.renesas.com>
On Tue, Jun 03, 2014 at 09:02:12PM +0900, Gaku Inami wrote:
> From: Benoit Cousson <bcousson@baylibre.com>
>
> The CA15 cluster is capable of voltage scaling. Add the regulator
> in the i2c3 node, to allow the generic CPUFreq driver to use it.
>
> Enable the i2c3 pin mux and the device node as well since the
> da9210 is connected to that bus.
>
> Note: In R-CAR Gen2, each frequency is using the same voltage,
> and DVS control is not used. Therefore, this patch set the
> voltage(Vmin/Vmax) to 1000mv.
>
> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
> [gaku.inami.xw@bp.renesas.com: Changes Vmin for disabling DVS]
> Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Thanks, I have queued this up with Magnus's Ack.
> ---
>
> Changes since version 1:
> - added this patch for enabling da9210 regulator.
> - fixed subject.
>
> arch/arm/boot/dts/r8a7790-lager.dts | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index 9becef7..8428204 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -204,6 +204,11 @@
> "msiof1_tx";
> renesas,function = "msiof1";
> };
> +
> + i2c3_pins: i2c3 {
> + renesas,groups = "i2c3";
> + renesas,function = "i2c3";
> + };
> };
>
> ðer {
> @@ -317,3 +322,19 @@
> cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
> status = "okay";
> };
> +
> +&i2c3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c3_pins>;
> + status = "okay";
> +
> + vdd_dvfs: regulator@68 {
> + compatible = "diasemi,da9210";
> + reg = <0x68>;
> +
> + regulator-min-microvolt = <1000000>;
> + regulator-max-microvolt = <1000000>;
> + regulator-boot-on;
> + regulator-always-on;
> + };
> +};
> --
> 1.7.9.5
>
prev parent reply other threads:[~2014-06-04 23:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-03 12:02 [PATCH v2 1/8] ARM: shmobile: lager: Add VDD MPU regulator for DVFS Gaku Inami
2014-06-04 23:33 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140604233300.GA27080@verge.net.au \
--to=horms@verge.net.au \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).