All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: switch various MSTP PM clocks to device-ID look-up
Date: Fri, 27 Apr 2012 00:31:08 +0000	[thread overview]
Message-ID: <20120427003107.GI22189@linux-sh.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1204262327080.32219@axis700.grange>

On Thu, Apr 26, 2012 at 11:48:32PM +0200, Guennadi Liakhovetski wrote:
> Most SH drivers, accessing clocks, used for their devices, directly, have
> been converted to not use connection IDs for clock look-up. The runtime PM
> subsystem does the same. This means, that clock look-up entries for such
> devices with non-NULL connection IDs are useless. This patch converts such
> clock look-up entries to correct device IDs.
> 
This seems more like a failure in runtime PM than an issue with
connection IDs. We use connection IDs particularly in cases where there
is ambiguity, or multiple clocks for the same device, which we want to
toggle at different times. We won't be blindly moving off of connection
IDs where that behaviour is desirable if there is insufficiently granular
infratructure to migrate to.

Likewise having these sorts of arbitrary policy decisions offline is
completely pointless. If you wish to put forward a concrete proposal for
moving off of connection IDs, then send it to the list and let it stand
on its own merit.

> Another thing to note - I didn't convert TMU entries on sh7343 and sh7366. 
> On both these platforms currently there's one tmu clock look-up entry with 
> just a "tmu_fck" connection ID, but platforms themselves register multiple 
> tmu devices. Without datasheets I have no idea, whether some clock entries 
> are missing from the lookup table, or that entry controlls all TMU clocks, 
> or only one (#0?) TMU clock can be switched on and off.
> 
Most TMU clocks are grouped in pairs of 3 or 4, so one MSTP bit will
control channels 0 .. 3, etc.

  reply	other threads:[~2012-04-27  0:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 21:48 [PATCH] sh: switch various MSTP PM clocks to device-ID look-up Guennadi Liakhovetski
2012-04-27  0:31 ` Paul Mundt [this message]
2012-04-27  7:26 ` Guennadi Liakhovetski
2012-05-24  8:56 ` Guennadi Liakhovetski
2012-05-24 14:48 ` Paul Mundt

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=20120427003107.GI22189@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.