From: Mark Brown <broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
To: Stephen Neuendorffer
<stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
Russell King - ARM Linux
<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: device_tree binding for "amba bus"
Date: Wed, 18 May 2011 01:24:42 +0100 [thread overview]
Message-ID: <20110518002442.GB30588@sirena.org.uk> (raw)
In-Reply-To: <64ff6672-0ce3-475b-b1c7-dc18bf2c2658-+Ck8Kgl/v09Eus+KprP3J7jjLBE8jN/0@public.gmane.org>
On Tue, May 17, 2011 at 05:05:12PM -0700, Stephen Neuendorffer wrote:
Please fix your mail client to word wrap properly. You've got lines
alternating 80 and ~20 columns which is really hard to read.
> So users of this bus have to have a clock and a regulator with those
> exact names.
> Is it your expectation that the clock/regulator names are standardized
> across arch/arm?
For both clock and regulator APIs the names are defined in terms of the
consumer of the driver. Even if the consumer drivers wouild open code
this each driver would the same for all platforms using the driver.
> My thinking (at least with respect to these) was that clock sources and
> regulators could
> be represented by nodes in the device tree and if a device required a
> particular clock
> source to be enabled that it would declare that in the device tree.
This is pretty much what happens already, it's just that the tables
doing the mappings are defined in code. Many systems are already doing
the clock management as part of their runtime PM infrastructure for the
basic clocks required to keep things operational and there's a
generalisation of this just going into the core runtime PM code at the
minute.
> This could be handled automatically by a more general abstraction of the
> clock dependencies
> of an arbitrary driver.
OTOH some clocks will need to be actively managed by drivers at runtime
- they're not just basic "turn it on when I'm running" clocks.
This is all pretty much orthogonal to device tree, I don't understand
why you feel that it's related.
prev parent reply other threads:[~2011-05-18 0:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 20:28 device_tree binding for "amba bus" Stephen Neuendorffer
[not found] ` <f9ae780a-2747-427f-826a-e0b510ca8afb-+Ck8Kgl/v09ZbvUCbuG1mrjjLBE8jN/0@public.gmane.org>
2011-05-17 22:41 ` Russell King - ARM Linux
[not found] ` <20110517224134.GC2266-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-05-18 0:05 ` Stephen Neuendorffer
[not found] ` <64ff6672-0ce3-475b-b1c7-dc18bf2c2658-+Ck8Kgl/v09Eus+KprP3J7jjLBE8jN/0@public.gmane.org>
2011-05-18 0:23 ` Russell King - ARM Linux
[not found] ` <20110518002317.GE5913-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-05-18 3:13 ` Grant Likely
2011-05-18 0:24 ` Mark Brown [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=20110518002442.GB30588@sirena.org.uk \
--to=broonie-yzvpicuk2aatku/dhu1wvuem+bqzidxxqq4iyu8u01e@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.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