ASoC: cpcap: new codec
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 23 Feb 2018 20:02:51 +0000 (21:02 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Feb 2018 11:03:24 +0000 (11:03 +0000)
commitf6cdf2d3445d73f5b27ec8e620b8fe7a1f5c0ea1
treefd6bb18012c88f724b47730a80f727a6208fddee
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: cpcap: new codec

Motorola CPCAP is a PMIC with audio functionality, that can be
found on Motorola Droid 4 and probably a few other phones from
Motorola's Droid series.

The driver has been written from scratch using Motorola's Android
driver, register dumps from running Android and datasheet for NXP
MC13783UG (which is similar to Motorola CPCAP, but not the same).

The chip provides two audio interfaces, that can be muxed to two
different audio codecs. One provides support for stereo output
(named StDAC or HiFi), while the other only provides mono output
(named Voice). Only the Voice codec provides a Capture interface.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/cpcap.c [new file with mode: 0644]