linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: sunxi: Add CPU regulator for cpufreq
Date: Tue, 12 Jan 2016 22:17:31 +0800	[thread overview]
Message-ID: <CAGb2v67a7DATu-sesVPE9Aypn_n0-K++TjdpXmxRSMZRiyHJ7A@mail.gmail.com> (raw)
In-Reply-To: <1452607153-8698-1-git-send-email-maxime.ripard@free-electrons.com>

On Tue, Jan 12, 2016 at 9:59 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> The current DT doesn't have a phandle to the CPU regulator in the CPU node,
> which disables the CPU voltage scaling entirely.

Commit message doesn't say which chip (family).

ChenYu

> Add that phandle.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
> index 530ab28e9ca2..f6898c6b84d4 100644
> --- a/arch/arm/boot/dts/sun5i-r8-chip.dts
> +++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
> @@ -70,6 +70,10 @@
>         status = "okay";
>  };
>
> +&cpu0 {
> +       cpu-supply = <&reg_dcdc2>;
> +};
> +
>  &ehci0 {
>         status = "okay";
>  };
> --
> 2.6.4
>

  reply	other threads:[~2016-01-12 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 13:59 [PATCH] ARM: sunxi: Add CPU regulator for cpufreq Maxime Ripard
2016-01-12 14:17 ` Chen-Yu Tsai [this message]
2016-01-17 19:59   ` Maxime Ripard

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=CAGb2v67a7DATu-sesVPE9Aypn_n0-K++TjdpXmxRSMZRiyHJ7A@mail.gmail.com \
    --to=wens@csie.org \
    --cc=linux-arm-kernel@lists.infradead.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).