From: Brendan Jackman <brendan.jackman@arm.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Kevin Hilman <khilman@kernel.org>,
Lina Iyer <lina.iyer@linaro.org>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Axel Haslam <ahaslam@baylibre.com>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: [RFC/PATCH] dt: bindings: Define bindings for device idle states
Date: Wed, 31 Aug 2016 16:04:02 +0100 [thread overview]
Message-ID: <20160831150402.GA27374@brendan-thinkstation> (raw)
In-Reply-To: <CAPDyKFq-WCJoew1ba7hK+Z+9r5CHecscR7zecaqD4aFaphRnGA@mail.gmail.com>
Hi,
(I know I suggested switching to the other thread but I just want to explain my
reasoning here!)
On Wed, Aug 31, 2016 at 04:19:41PM +0200, Ulf Hansson wrote:
> On 31 August 2016 at 12:16, Brendan Jackman <brendan.jackman@arm.com> wrote:
[...]
> > There was some previous discussion of whether device idle state bindings are
> > necessary. It was proposed that rather than adding a whole new binding, we could
> > just use the power domain idle state binding from [2]. We suggested that any
> > device that has an idle state is, by definition, in a power domain of its own:
> > rather than add a device-idle-states property to that device, we just put it in
> > a power domain with a domain-idle-states property.
>
> Yes, we can do that software wise, but is that really a proper
> description of the HW!?
>
It's probably not what SoC docs would explicitly list under "power domains" but
I think "set of components that are bound by a common power state" is a
reasonable definition for a power domain.
I think (?) your objection is that a device could have idle states that it
controls by itself and does not switch "off", for example in the case of a
device that has an idle state where it gates its clock but does not cut voltage,
or WFI in an ARM CPU. My thinking is: just because the transitions into those
power states isn't triggered by a separate power controller, I don't think that
means no "power domain" exists.
Perhaps that's a glitch in my vocabulary.
prev parent reply other threads:[~2016-08-31 15:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 10:24 [RFC/PATCH] dt: bindings: Define bindings for device idle states Ulf Hansson
2016-08-26 13:58 ` Pavel Machek
2016-08-29 9:34 ` Ulf Hansson
[not found] ` <CAPDyKFpQ-kG0jkOXwVWJkwT41JjTg=KwNv4z-E7UUBqfKMNHgg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-29 10:40 ` Pavel Machek
2016-08-29 11:55 ` Ulf Hansson
[not found] ` <CAPDyKFpwDR25G=9RTsEZ5nzMMuRKpEPTK=V1E5mMXKfWA-yvEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-29 12:11 ` Pavel Machek
2016-08-28 8:15 ` Geert Uytterhoeven
[not found] ` <1472207073-4901-1-git-send-email-ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-08-31 10:16 ` Brendan Jackman
2016-08-31 14:19 ` Ulf Hansson
2016-08-31 15:04 ` Brendan Jackman [this message]
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=20160831150402.GA27374@brendan-thinkstation \
--to=brendan.jackman@arm.com \
--cc=Lorenzo.Pieralisi@arm.com \
--cc=ahaslam@baylibre.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=khilman@kernel.org \
--cc=len.brown@intel.com \
--cc=lina.iyer@linaro.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rjw@rjwysocki.net \
--cc=robh+dt@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=ulf.hansson@linaro.org \
/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).