Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751124AbdGLX4v (ORCPT ); Wed, 12 Jul 2017 19:56:51 -0400 Received: from gloria.sntech.de ([95.129.55.99]:55834 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704AbdGLX4u (ORCPT ); Wed, 12 Jul 2017 19:56:50 -0400 From: Heiko Stuebner To: Frank Wang Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, huangtao@rock-chips.com, kever.yang@rock-chips.com, david.wu@rock-chips.com, finley.xiao@rock-chips.com, zhangqing@rock-chips.com, wmc@rock-chips.com Subject: Re: [PATCH v2 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb Date: Thu, 13 Jul 2017 01:56:45 +0200 Message-ID: <1800759.4Nsb10uDMe@phil> User-Agent: KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <1499243421-21460-3-git-send-email-frank.wang@rock-chips.com> References: <1499243421-21460-1-git-send-email-frank.wang@rock-chips.com> <1499243421-21460-3-git-send-email-frank.wang@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 31 Am Mittwoch, 5. Juli 2017, 16:30:17 CEST schrieb Frank Wang: > From: Finley Xiao > > This patch adds the cpu-supply property so that cpu can do dvfs > on rk3229-evb board. > > Signed-off-by: Finley Xiao > --- > arch/arm/boot/dts/rk3229-evb.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts > index 394be63..17385d8 100644 > --- a/arch/arm/boot/dts/rk3229-evb.dts > +++ b/arch/arm/boot/dts/rk3229-evb.dts > @@ -141,6 +141,10 @@ > }; > }; > > +&cpu0 { > + cpu-supply = <&vdd_arm>; > +}; > + applied for 4.14 after adding the same for cpu1-cpu3 . The supply is a property of the cpu-core, so each should have the reference even though the Linux cpufreq driver taking the regulator from cpu0. Heiko