All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: sunxi: Add CPU regulator for cpufreq
@ 2016-01-12 13:59 Maxime Ripard
  2016-01-12 14:17 ` Chen-Yu Tsai
  0 siblings, 1 reply; 3+ messages in thread
From: Maxime Ripard @ 2016-01-12 13:59 UTC (permalink / raw)
  To: linux-arm-kernel

The current DT doesn't have a phandle to the CPU regulator in the CPU node,
which disables the CPU voltage scaling entirely.

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: sunxi: Add CPU regulator for cpufreq
  2016-01-12 13:59 [PATCH] ARM: sunxi: Add CPU regulator for cpufreq Maxime Ripard
@ 2016-01-12 14:17 ` Chen-Yu Tsai
  2016-01-17 19:59   ` Maxime Ripard
  0 siblings, 1 reply; 3+ messages in thread
From: Chen-Yu Tsai @ 2016-01-12 14:17 UTC (permalink / raw)
  To: linux-arm-kernel

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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: sunxi: Add CPU regulator for cpufreq
  2016-01-12 14:17 ` Chen-Yu Tsai
@ 2016-01-17 19:59   ` Maxime Ripard
  0 siblings, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2016-01-17 19:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Tue, Jan 12, 2016 at 10:17:31PM +0800, Chen-Yu Tsai wrote:
> 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).

Even worse, which board :)

I've fixed it and applied it.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160117/babc3cc3/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-17 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-12 13:59 [PATCH] ARM: sunxi: Add CPU regulator for cpufreq Maxime Ripard
2016-01-12 14:17 ` Chen-Yu Tsai
2016-01-17 19:59   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.