From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <felipe.balbi@nokia.com>
Cc: ext David Brownell <david-b@pacbell.net>,
Koen Kooi <k.kooi@student.utwente.nl>,
"linux-omap@vger.kernel.org List" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] OMAP3EVM: TWL4030 Keypad irq error fix
Date: Wed, 24 Sep 2008 14:25:15 +0300 [thread overview]
Message-ID: <20080924112514.GN5222@atomide.com> (raw)
In-Reply-To: <20080924104431.GL24627@gandalf.research.nokia.com>
* Felipe Balbi <felipe.balbi@nokia.com> [080924 13:45]:
> On Tue, Sep 23, 2008 at 12:45:42PM -0700, David Brownell wrote:
> > On Tuesday 23 September 2008, Koen Kooi wrote:
> > > >>
> > > >> The clean fix requires twl4030 to be a "new style" driver.
> > > >> Fix not yet available. :(
> > > >
> > > > Pushing until we have a better fix.
> > >
> > > But twl4030 now is a "new style" driver, so we have a start :)
> >
> > But who's working on it? :)
> >
> > Sketch of solution:
> >
> > - twl4030.h defines keypad platform_data
> >
> > - add_children() adds a platform device for keypad,
> > and passes that platform_data
> >
> > - twl4030 keypad driver switches to platform_bus
> > and uses that platform_data
> >
> > - board-specific init code provides the relevant
> > platform_data (or none)
> >
> > I'll do the GPIO code, which will be a slightly more
> > interesting example than the RTC.
>
> I can do the keypad since I'm already working on the usb as well. Dave,
> I'm gonna add twl_has_rtc(), twl_had_keypad() and twl_has_usb() to clean
> a bit add_children. With those, we're gonna be able to:
>
> if (twl_has_keypad() && pdata->keypad) {
> ...
> }
Meanwhile I'll put together some patches for Jean to sync i2c_omap.c.
Tony
next prev parent reply other threads:[~2008-09-24 11:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-20 6:51 [PATCH] OMAP3EVM: TWL4030 Keypad irq error fix arun c
2008-09-20 11:24 ` Felipe Balbi
2008-09-20 17:22 ` David Brownell
2008-09-23 11:00 ` Tony Lindgren
2008-09-23 11:37 ` Koen Kooi
2008-09-23 19:45 ` David Brownell
2008-09-24 10:44 ` Felipe Balbi
2008-09-24 11:25 ` Tony Lindgren [this message]
2008-09-24 15:34 ` David Brownell
2008-09-24 22:44 ` Felipe Balbi
2008-09-24 23:24 ` David Brownell
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=20080924112514.GN5222@atomide.com \
--to=tony@atomide.com \
--cc=david-b@pacbell.net \
--cc=felipe.balbi@nokia.com \
--cc=k.kooi@student.utwente.nl \
--cc=linux-omap@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox