public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@kernel.org>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
	linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Russell King <linux@arm.linux.org.uk>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Grygorii Strashko <grygorii.strashko@ti.com>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd
Date: Wed, 19 Nov 2014 16:33:32 -0800	[thread overview]
Message-ID: <7hk32qu2w3.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1416405638-18812-1-git-send-email-ulf.hansson@linaro.org> (Ulf Hansson's message of "Wed, 19 Nov 2014 15:00:35 +0100")

Ulf Hansson <ulf.hansson@linaro.org> writes:

> It's quite common for PM domains to use PM clocks. Typically from SOC specific
> code, the per device PM clock list is created and pm_clk_suspend|resume() are
> invoked to handle clock gating/ungating.
>
> A step towards consolidation is to integrate PM clock support into genpd, which
> is what this patchset does.
>
> In this initial step, the calls to the pm_clk_suspend|resume() are handled
> within genpd, but the per device PM clock list still needs to be created from
> SOC specific code. It seems reasonable to have gendp to handle that as well, but
> that left to future patchsets to address.

I think we need to get rid of the SoC specific code already.  For
example, we're already seeing SoCs where the arm32 core is being
replaced by an arm64 core but the other IPs, and power-domain logic is
staying more or less the same.  

> It's not every users of genpd that are keen on using PM clocks thus we need
> to provide this a configuration option for genpd.

Or more likely, probably some compatible string, or property in the
domain node.  Grygorii, Arnd and myself were discussing this elsewhere
in the context of the TI Keystone2 PM domain support[1].

Kevin

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/304099.html

  parent reply	other threads:[~2014-11-20  0:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 14:00 [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd Ulf Hansson
2014-11-19 14:00 ` [PATCH 1/3] PM / Domains: Initial PM clock support for genpd Ulf Hansson
2014-11-19 17:25   ` Dmitry Torokhov
2014-11-20 11:53     ` Ulf Hansson
2014-11-19 14:00 ` [PATCH 2/3] ARM: shmobile: Convert to genpd flags for PM clocks for r8a7779 Ulf Hansson
2014-11-19 14:00 ` [PATCH 3/3] ARM: shmobile: Convert to genpd flags for PM clocks for R-mobile Ulf Hansson
2014-11-19 16:07 ` [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd Geert Uytterhoeven
2014-11-20  0:33 ` Kevin Hilman [this message]
2014-11-20 10:23   ` Ulf Hansson

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=7hk32qu2w3.fsf@deeprootsystems.com \
    --to=khilman@kernel.org \
    --cc=arnd@arndb.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=geert+renesas@glider.be \
    --cc=grygorii.strashko@ti.com \
    --cc=horms@verge.net.au \
    --cc=len.brown@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=magnus.damm@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=s.nawrocki@samsung.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