[alsa-devel] [PATCH 4/6] ASoC: rt5645: add device tree support

Mark Brown broonie at kernel.org
Mon May 4 13:59:07 CEST 2015


On Mon, May 04, 2015 at 05:21:59AM +0000, Bard Liao wrote:

> > > +  Boolean. Indicate if codec IRQ is used or not. It is usually used
> > > +for JD
> > > +  and/or headset button detection.

> > I'm not sure I understand what this is for?  I'd expect that the interrupt
> > would be used if specified, though if a GPIO is specified I guess that'd
> > override it.

> It is for codec IRQ though it is called en-jd-func. rt5645 IRQ is not
> for JD only but also other functions (like button detection). Another
> thing is that a separate CPU pin is used for JD IRQ in some HW
> design. It means some HW design use their own JD function. That's
> what hp-det-gpio for.

I'm still not clear here - why is there a need for a separate flag over
just specifying the additional GPIO/interrupt to use for this function?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150504/db5a202f/attachment.sig>


More information about the Alsa-devel mailing list