From: Marc Reilly <marc@cpdesign.com.au>
To: barebox@lists.infradead.org
Subject: Re: [PATCH 2/7] mfd: add mc34708 driver
Date: Wed, 22 Feb 2012 08:09:40 +1100 [thread overview]
Message-ID: <201202220809.40257.marc@cpdesign.com.au> (raw)
In-Reply-To: <20120221204501.GF3852@pengutronix.de>
[-- Attachment #1.1: Type: text/plain, Size: 1510 bytes --]
Hi,
My $0.02 ...
> > > for today we have what is inside barebox and this patche is coherent
> > > with what is actually inside barebox (please check other drivers in mfd
> > > and mx35-3stack for example).
> > > For the future we may no more need this if we have a proper PMIC API
> > > but as this API actually is not written, this patchset makes sense.
> >
> > today you do not need it
> >
> > today you just need to known it the chip is here
> >
> > so just check if the devfs is present
>
> Don't know where your problem is with exporting it.
I also don't see the problem. 99.9% of designs using this IC (family) will
only have one of them on a board. If someone puts more than one on their board
then they should be the person to manage dealing with two.
> Yes, it supports
> only a single pmic, but that's all we have on the boards I know. And
> this function can be used to modify registers on the pmic, some boards
> need this. The day might come when we need some regulator API, but we
> are not there and
The board I have uses an mc13892 - there is stuff we need to we need to do
which is unrelated to regulators like increasing the charge/supply current and
detecting critically low battery. Calling xxxx_set_bits() is much better than
a read/modify/write from dev file.
> often enough getting a board to run properly is just
> 'modify this damn bit in the pmic'
I've said "this damn pmic" quite a few times about the 13892 :) (Has anyone
else had troubles too?)
Cheers,
Marc
[-- Attachment #1.2: Type: text/html, Size: 7642 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-02-21 22:08 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 0:27 [PATCH 1/7] add i2c clock support Eric Bénard
2012-02-21 0:27 ` [PATCH 2/7] mfd: add mc34708 driver Eric Bénard
2012-02-21 3:48 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 7:03 ` Eric Bénard
2012-02-21 13:03 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 13:22 ` Eric Bénard
2012-02-21 14:10 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 15:35 ` Eric Bénard
2012-02-21 15:38 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 20:45 ` Sascha Hauer
2012-02-21 21:09 ` Marc Reilly [this message]
2012-02-21 0:27 ` [PATCH 3/7] i.MX53: add silicn revision functions Eric Bénard
2012-02-22 7:33 ` Sascha Hauer
2012-02-27 8:20 ` [PATCH v2 1/7] add i2c clock support Eric Bénard
2012-02-27 8:20 ` [PATCH v2 2/7] mfd: add mc34708 driver Eric Bénard
2012-02-27 8:20 ` [PATCH v2 3/7] i.MX53: add silicon revision functions Eric Bénard
2012-02-27 8:20 ` [PATCH v2 4/7] i.MX53: enable pull up on I2C0 pins Eric Bénard
2012-02-27 8:20 ` [PATCH v2 5/7] mx53-loco: add i2c support Eric Bénard
2012-02-27 8:20 ` [PATCH v2 6/7] mx53-loco: add board revision support Eric Bénard
2012-02-27 15:40 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-27 18:58 ` Sascha Hauer
2012-02-27 8:20 ` [PATCH v2 7/7] mx53-loco: update defconfig Eric Bénard
2012-02-27 18:59 ` [PATCH v2 1/7] add i2c clock support Sascha Hauer
2012-02-21 0:27 ` [PATCH 4/7] i.MX53: enable pull up on I2C0 pins Eric Bénard
2012-02-21 0:27 ` [PATCH 5/7] mx53-loco: add i2c support Eric Bénard
2012-02-21 0:27 ` [PATCH 6/7] mx53-loco: add board revision support Eric Bénard
2012-02-21 3:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-21 0:27 ` [PATCH 7/7] mx53-loco: update defconfig Eric Bénard
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=201202220809.40257.marc@cpdesign.com.au \
--to=marc@cpdesign.com.au \
--cc=barebox@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 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.