ASoC: codecs: Add support for PCM1789
authorMylène Josserand <mylene.josserand@bootlin.com>
Thu, 15 Mar 2018 16:18:24 +0000 (17:18 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 19 Mar 2018 01:23:59 +0000 (09:23 +0800)
commit4ae340d1be36378505498606e6c640dd0507ad61
tree0b5192480b009ac7c122abb18ceb89b84f7c8f54
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: codecs: Add support for PCM1789

Add Texas Instruments's PCM1789 DAC support.
It is a simple DAC and does not have many registers.

One particularity about this DAC is that the clocks must be
always enabled. Also, an entire software reset is necessary
while starting to play a sound otherwise, the clocks are not
synchronized (so the DAC is not able to send data).

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/pcm1789-i2c.c [new file with mode: 0644]
sound/soc/codecs/pcm1789.c [new file with mode: 0644]
sound/soc/codecs/pcm1789.h [new file with mode: 0644]