Re: [PATCH v8 resend 6/6] Documentation/extcon: porting guide forAndroid kernel switch driver.

From: Mark Brown
Date: Fri Apr 20 2012 - 17:59:22 EST

On Fri, Apr 20, 2012 at 10:15:34AM -0700, Greg KH wrote:
> On Fri, Apr 20, 2012 at 06:05:20PM +0100, Mark Brown wrote:

> > Every phone with a headset jack will have at least one switch if it's
> > running on Android. People doing system integration will generally need
> > to know about this, at least until we've got the ALSA detection stuff
> > integrated with extcon.

> Ok, but where are those drivers at? Any pointers to them so I can start
> sucking them into the tree and doing this conversion?

The actual code is all obviously out of tree, I'd expect any Android BSP
to contain at least some usage of it (though often just the basic GPIO
one for CPU vendor ones).

> Is this, and the wakelock stuff, holding back a torrent of drivers to be
> submitted somewhere? Or are they buried in vendor trees, never to be
> seen?

I'd not characterise it as a massive problem (and wakelocks won't hold
back anything that doesn't have other problems). I suspect that the
code for a Samsung phone with the 30 pin connector will show something
interesting, though I can't say I've actually looked. For things like
headset detection there's already ways to support things in mainline and
we should just end up hooking extcon into the central support for these

Attachment: signature.asc
Description: Digital signature