From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Andres Salomon <dilinger@queued.net>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
Daniel Drake <dsd@laptop.org>, Paul Fox <pgf@laptop.org>,
linux-kernel@vger.kernel.org
Subject: Re: MFD cell structure and sharing of resources
Date: Sat, 25 Dec 2010 14:23:29 +0000 [thread overview]
Message-ID: <20101225142329.GA25641@sirena.org.uk> (raw)
In-Reply-To: <20101224224851.61942d75@queued.net>
On Fri, Dec 24, 2010 at 10:48:51PM -0800, Andres Salomon wrote:
> Having looked at the twl4030 driver, I do like that approach. Is this
> something you want to see for cs5535 only, or are enough other mfd
> drivers doing this that you'd like the mfd framework itself to define
> hooks for cell/resource sharing?
This is extremely common - all the I2C/SPI attached embedded PMICs have
register access functions like this. We have some factored out code for
this in ASoC but I'm not sure how worthwhile it is pulling that out into
something more generic as there's often a lot of special tweaks needed
for the register maps in PMICs (for things like locked registers),
though things like read/modify/write are quite common.
next prev parent reply other threads:[~2010-12-25 14:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-10 15:37 Daniel Drake
2010-12-10 16:34 ` Daniel Drake
2010-12-16 10:35 ` Samuel Ortiz
2010-12-16 15:38 ` Daniel Drake
2010-12-24 10:45 ` Samuel Ortiz
2010-12-25 6:48 ` Andres Salomon
2010-12-25 14:23 ` Mark Brown [this message]
2010-12-24 23:56 ` Andres Salomon
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=20101225142329.GA25641@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=dilinger@queued.net \
--cc=dsd@laptop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pgf@laptop.org \
--cc=sameo@linux.intel.com \
/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
Powered by JetHome