[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqL7VdSjerOioc5cSOyKAAXJuVnPJqp_WbTtwr11UUxq=A@mail.gmail.com>
Date: Wed, 23 May 2018 09:18:23 -0500
From: Rob Herring <robh@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Taniya Das <tdas@...eaurora.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-pm@...r.kernel.org, Stephen Boyd <sboyd@...nel.org>,
Rajendra Nayak <rnayak@...eaurora.org>,
Amit Nischal <anischal@...eaurora.org>,
devicetree@...r.kernel.org,
Saravana Kannan <skannan@...eaurora.org>,
Amit Kucheria <amit.kucheria@...aro.org>
Subject: Re: [PATCH v2 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ FW bindings
On Wed, May 23, 2018 at 12:48 AM, Viresh Kumar <viresh.kumar@...aro.org> wrote:
> On 22-05-18, 14:31, Rob Herring wrote:
>> On Sat, May 19, 2018 at 11:04:50PM +0530, Taniya Das wrote:
>> > + freq-domain-0 {
>> > + compatible = "cpufreq";
>> > + reg = <0x17d43920 0x4>,
>> > + <0x17d43110 0x500>,
>> > + <0x17d41000 0x4>;
>> > + reg-names = "perf_base", "lut_base", "en_base";
>> > + qcom,cpulist = <&CPU0 &CPU1 &CPU2 &CPU3>;
>
> I was thinking, can't we add platform specific properties in the CPU
> nodes ? If yes, then we can point the phandle of fw node from the CPUs
> and this awkward list can go away.
Yes, that's fine. That would be more like OPP binding in that the CPU
points to the OPP table rather than the OPP pointing to the CPUs.
With that, you can get rid of the child nodes completely. Just make
the parent reg property N sets of 3 addresses for N domains.
Rob
Powered by blists - more mailing lists