linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: Chen-Yu Tsai <wens@csie.org>
Cc: Rafael Wysocki <rjw@rjwysocki.net>,
	"open list:THERMAL" <linux-pm@vger.kernel.org>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Wei Xu <xuwei5@hisilicon.com>, Kukjin Kim <kgene@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	jun.nie@linaro.org, Baoyou Xie <baoyou.xie@linaro.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2
Date: Wed, 16 Aug 2017 16:53:22 +0530	[thread overview]
Message-ID: <20170816112322.GC24299@vireshk-i7> (raw)
In-Reply-To: <CAGb2v65arhOb3-zLuHj3MM38vT8OJHXoi=k3RG+F4Lou0N3VTw@mail.gmail.com>

On 16-08-17, 16:49, Chen-Yu Tsai wrote:
> On Wed, Aug 16, 2017 at 1:37 PM, Viresh Kumar <viresh.kumar@linaro.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@linux-m68k.org>
> > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.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

  reply	other threads:[~2017-08-16 11:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16  5:37 [PATCH 1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2 Viresh Kumar
2017-08-16  5:37 ` [PATCH 2/2] cpufreq: dt-platdev: Drop few entries from whitelist Viresh Kumar
2017-08-16  6:51   ` Geert Uytterhoeven
2017-08-17  7:53     ` Simon Horman
2017-08-17  8:40       ` Viresh Kumar
2017-08-21 13:19       ` Simon Horman
2017-08-16  8:53   ` Chen-Yu Tsai
2017-08-16 11:24     ` Viresh Kumar
2017-08-17 17:00       ` Chen-Yu Tsai
2017-08-23  3:33   ` Masahiro Yamada
2017-08-16  8:49 ` [PATCH 1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2 Chen-Yu Tsai
2017-08-16 11:23   ` Viresh Kumar [this message]
2017-08-21 13:17 ` [1/2] " Simon Horman
2017-08-23  3:48   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170816112322.GC24299@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=baoyou.xie@linaro.org \
    --cc=geert@linux-m68k.org \
    --cc=jun.nie@linaro.org \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=rjw@rjwysocki.net \
    --cc=vincent.guittot@linaro.org \
    --cc=wens@csie.org \
    --cc=xuwei5@hisilicon.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).