]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bb61bf35cfdcef0c8027b6e0001ea966cf1170c
tree0b5192480b009ac7c122abb18ceb89b84f7c8f54
parentbcac507057f6668c45308343ba41f4c91a086136
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]