Re: [PATCH 0/3] Motorola Droid 4 Audio Support

From: Tony Lindgren
Date: Sat Jul 08 2017 - 01:28:13 EST

* Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxxxx> [170707 09:43]:
> Hi,
> I got working sound on Droid 4 with mainline \o/. The codec is
> currently missing support for detecting if something has been
> plugged into the 3.5mm connector, since that seems to require
> some closed source firmware and needs further investigation. I
> think this can be added later.

Hey that's great! I'll give it a try this weekend.. Does that mean
that 3G voice calls work too now or is something more needed there?

For the CPCAP PMIC macro interrupts I think it's best to set up
a separate driver as it seems separate from the core CPCAP
functionality. So I think we can just move the unused "cpcap-m2"
IRQ banks out of motorola-cpcap.c and put them into a separate child
driver that loads it's firmware on init and provides interrupts for
the 3.5mm connector.