From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH 3/6] ARM: dts: sun8i: add a cpu0 label to cpu@0 node on A23/33 Date: Tue, 13 Dec 2016 16:45:05 +0000 Message-ID: <14d63396-0e20-3b25-2ff5-1457823b69bf@arm.com> References: <20161213152252.53749-1-icenowy@aosc.xyz> <20161213152252.53749-4-icenowy@aosc.xyz> <139af71f-390a-4023-8f82-71dd80212518@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Chen-Yu Tsai Cc: devicetree , Quentin Schulz , Michael Turquette , Stephen Boyd , Russell King , linux-kernel , Hans de Goede , Icenowy Zheng , Sudeep Holla , Maxime Ripard , linux-clk , linux-arm-kernel , Jorik Jonker List-Id: devicetree@vger.kernel.org On 13/12/16 16:31, Chen-Yu Tsai wrote: > On Wed, Dec 14, 2016 at 12:09 AM, Sudeep Holla wrote: >> >> >> On 13/12/16 15:22, Icenowy Zheng wrote: >>> A "cpu0" label is needed on cpu@0 for cpufreq-dt to work. >>> >> >> IIUC any label should be fine and I don't see anything in the driver >> looking for such label name. All I see is it looks for cpu0 regulator >> for *legacy* DTs >> >>> Add such a label, in order to prepare for cpufreq support of A23/33. >>> >> >> You need this as you add the same label in the following patches. The >> commit message sounds like cpufreq-dt search for that label by name. > > I think a more proper explanation would be: > > The cpu's supply regulator is specified at the board level, hence we > need to add a label to it to reference it without replicating the whole > tree structure. Thanks for clarifying, was confused based on the commit log. -- Regards, Sudeep