All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: me@felipebalbi.com
Cc: Felipe Balbi <felipe.balbi@nokia.com>, linux-omap@vger.kernel.org
Subject: Re: [PATCH 0/2] twl4030-usb patches
Date: Tue, 2 Sep 2008 13:15:39 -0700	[thread overview]
Message-ID: <200809021315.39502.david-b@pacbell.net> (raw)
In-Reply-To: <20080902194917.GF6814@frodo>

On Tuesday 02 September 2008, Felipe Balbi wrote:
> > > One thing we might say, Jean Delvare won't accept twl4030 the way it is
> > > now. Old style i2c drivers will be dropped soon. We have to get twl4030
> > > properly done otherwise it'll be a pain later.
> > 
> > He's also not keen on growing drivers/i2c/chips ...
> > So this driver should probably move to drivers/mfd too.
> 
> Sure... it should really be there since it really is a multifunction
> device. In that case it would be merged through Samuel Ortiz, right ?
> Most likely Cc:ing i2c@lm-sensors.org so i2c people could comment on the
> code as well.

Yes.  Though considering it's an irq_chip that dispatches
through I2C ... maybe an LKML review too, for the core.

 
> > (When it starts moving upstream, I suspect some folk will
> > ask why it doesn't support the drivers/regulator calls;
> > that's still new, I'd not worry much.)
> 
> Well, but if we have proper APIs for doing stuff, we should really start
> using them, don't you think ?

That's why I mentioned that.  My priority would be getting
the existing core code fixed/merged.  Then other bits as
needed to get widely-available boards (Beagle, soon Overo)
working in mainline.  (Then the rest.)

Being the first "external" user of a new API framework is
something to take slowly... IMO it's not worth holding up
twl4030 support to do that.

 
> I'll postpone my twl4030-usb patch and try to work on twl4030-core.c.
> It'll be a huge task moving all of that to new style i2c driver.

Well, it's got obvious increments that are simple.  Core first;
then the other bits, incrementally.  Maybe the core could be
pushed upstream without a lot of the other functions exposed.

Note that the LED support isn't written yet, so there'd be
nothing to convert.  :)

- Dave


      reply	other threads:[~2008-09-02 20:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 12:31 [PATCH 0/2] twl4030-usb patches Felipe Balbi
2008-09-02 12:31 ` [PATCH 1/3] i2c: twl4030-usb: move to platform_device Felipe Balbi
2008-09-02 12:31   ` [PATCH 2/2] i2c: twl4030-usb: add 'vbus' sysfs file Felipe Balbi
2008-09-02 12:34 ` [PATCH 0/2] twl4030-usb patches Felipe Balbi
2008-09-02 15:43   ` David Brownell
2008-09-02 18:48     ` Felipe Balbi
2008-09-02 19:52       ` David Brownell
2008-09-02 15:39 ` David Brownell
2008-09-02 18:58   ` Felipe Balbi
2008-09-02 19:37     ` David Brownell
2008-09-02 19:49       ` Felipe Balbi
2008-09-02 20:15         ` David Brownell [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=200809021315.39502.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=felipe.balbi@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=me@felipebalbi.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 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.