[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170816112322.GC24299@vireshk-i7>
Date: Wed, 16 Aug 2017 16:53:22 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Chen-Yu Tsai <wens@...e.org>
Cc: Rafael Wysocki <rjw@...ysocki.net>,
"open list:THERMAL" <linux-pm@...r.kernel.org>,
Vincent Guittot <vincent.guittot@...aro.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Wei Xu <xuwei5@...ilicon.com>, Kukjin Kim <kgene@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
jun.nie@...aro.org, Baoyou Xie <baoyou.xie@...aro.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] cpufreq: dt-platdev: Automatically create cpufreq
device with OPP v2
On 16-08-17, 16:49, Chen-Yu Tsai wrote:
> On Wed, Aug 16, 2017 at 1:37 PM, Viresh Kumar <viresh.kumar@...aro.org> wrote:
> > The initial idea of creating the cpufreq-dt-platdev.c file was to keep a
> > list of platforms that use the "operating-points" (V1) bindings and
> > create cpufreq device for them only, as we weren't sure which platforms
> > would want the device to get created automatically as some had their own
> > cpufreq drivers as well, or wanted to initialize cpufreq after doing
> > some stuff from platform code.
> >
> > But that wasn't the case with platforms using "operating-points-v2"
> > property. We wanted the device to get created automatically without the
> > need of adding them to the whitelist. Though, we will still have some
> > exceptions where we don't want to create the device automatically.
> >
> > Rename the earlier platform list as *whitelist* and create a new
> > *blacklist* as well.
> >
> > The cpufreq-dt device will get created if:
> > - The platform is there in the whitelist OR
> > - The platform has "operating-points-v2" property in CPU0's DT node and
> > isn't part of the blacklist .
> >
> > Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> > Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
>
> Does this mean "cpufreq: dt: Add support for some new Allwinner SoCs",
> or any other patch adding new SoCs to the list, isn't needed anymore?
For SoCs using OPP-v2, yeah, we don't need any more patches in future.
--
viresh
Powered by blists - more mailing lists