[PATCH 3/6] ARM: dts: sun8i: add a cpu0 label to cpu at 0 node on A23/33

Chen-Yu Tsai wens at csie.org
Tue Dec 13 08:31:38 PST 2016


On Wed, Dec 14, 2016 at 12:09 AM, Sudeep Holla <sudeep.holla at arm.com> wrote:
>
>
> On 13/12/16 15:22, Icenowy Zheng wrote:
>> A "cpu0" label is needed on cpu at 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.

ChenYu



More information about the linux-arm-kernel mailing list