linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: geert@linux-m68k.org (Geert Uytterhoeven)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd
Date: Wed, 19 Nov 2014 17:07:52 +0100	[thread overview]
Message-ID: <CAMuHMdUKWNSTYCAcusOpk31=Y6g5-SqKck5HaHZvgBOaYQrK3w@mail.gmail.com> (raw)
In-Reply-To: <1416405638-18812-1-git-send-email-ulf.hansson@linaro.org>

Hi Ulf,

On Wed, Nov 19, 2014 at 3:00 PM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
> 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.

Thanks, this sounds like a good idea.

> 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

s/gendp/genpd/

> that left to future patchsets to address.

If/when genpd will handle the clock creation, perhaps the flag can just
be replaced by a pointer to a list of clocks?
Or do you have other uses in mind for adding the flags field now?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  parent reply	other threads:[~2014-11-19 16:07 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 ` Geert Uytterhoeven [this message]
2014-11-20  0:33 ` [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd Kevin Hilman
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='CAMuHMdUKWNSTYCAcusOpk31=Y6g5-SqKck5HaHZvgBOaYQrK3w@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=linux-arm-kernel@lists.infradead.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).