[PATCH v1 0/4] ASoC: Add support for DAC PCM1789

Mylène Josserand
2018-02-27T21:25:00Z

Hello everyone,

You will find in this series the support of Texas Instrument's DAC
PCM1789.
This DAC is very minimalist and is similar to PCM1792a except for
some differences in registers.
Series based on asoc tree, "for-next" branch (last commit 130c3888dfdc).

It is important to notice that this DAC needs to always have clocks
enabled (even without any data) otherwise it will be in a "desynchronized"
state and can not send data correctly.
This issue has been solved by performing a reset each time a sound
is played (see patch 04). This reset can produce a "pop" noise.

Thank you in advance for any review.

Best regards,
Mylène

Mylène Josserand (4):
ASoC: codecs: pcm179x: Add PCM1789 id
ASoC: codecs: pcm179x: Add support for PCM1789
ASoC: codecs: pcm179x: Add reset gpio
ASoC: codecs: pcm179x: Add trigger function to perform a reset

.../devicetree/bindings/sound/pcm179x.txt | 2 +-
sound/soc/codecs/pcm179x-i2c.c | 17 +-
sound/soc/codecs/pcm179x.c | 242 ++++++++++++++++++++-
sound/soc/codecs/pcm179x.h | 10 +-
4 files changed, 264 insertions(+), 7 deletions(-)

--
2.11.0