From: khilman@kernel•org (Kevin Hilman)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH V4 1/3] PM / Domains: Initial PM clock support for genpd
Date: Mon, 01 Dec 2014 17:09:45 -0800 [thread overview]
Message-ID: <7h7fya502u.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1417434623-31301-2-git-send-email-ulf.hansson@linaro.org> (Ulf Hansson's message of "Mon, 1 Dec 2014 12:50:21 +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 patch 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 patches to address.
>
> 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. Therefore let's
> add flag field in the genpd struct to keep this information and define
> a new GENDP_FLAG_PM_CLK bit for it.
>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro•org>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider•be>
Acked-by: Kevin Hilman <khilman@linaro•org>
Are you also planning to add a way to enable this option from DT?
Kevin
next prev parent reply other threads:[~2014-12-02 1:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-01 11:50 [PATCH V4 0/3] PM / Domains: Add initial PM clock support to genpd Ulf Hansson
2014-12-01 11:50 ` [PATCH V4 1/3] PM / Domains: Initial PM clock support for genpd Ulf Hansson
2014-12-02 1:09 ` Kevin Hilman [this message]
2014-12-04 15:00 ` Ulf Hansson
2014-12-01 11:50 ` [PATCH V4 2/3] ARM: shmobile: Convert to genpd flags for PM clocks for r8a7779 Ulf Hansson
2014-12-01 11:50 ` [PATCH V4 3/3] ARM: shmobile: Convert to genpd flags for PM clocks for R-mobile Ulf Hansson
2014-12-05 2:14 ` [PATCH V4 0/3] PM / Domains: Add initial PM clock support to genpd Rafael J. Wysocki
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=7h7fya502u.fsf@deeprootsystems.com \
--to=khilman@kernel$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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