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.
Tested: - Playing via [HiFi] using Speaker, Earpiece, Headphone - Playing via [Voice] using Speaker, Earpiece, Headphone - Recording via [Voice] using Mic - Volume Controls - Checking that DAPM graph look correct
-- Sebastian
Sebastian Reichel (3): ASoC: codec: cpcap: new codec ARM: dts: motorola-cpcap-mapphone: add audio-codec ARM: dts: omap4-droid4: add soundcard
.../bindings/sound/motorola,cpcap-audio-codec.txt | 19 + arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 6 + arch/arm/boot/dts/omap4-droid4-xt894.dts | 76 ++ sound/soc/codecs/Kconfig | 3 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cpcap.c | 1422 ++++++++++++++++++++ 6 files changed, 1528 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/motorola,cpcap-audio-codec.txt create mode 100644 sound/soc/codecs/cpcap.c