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

From: MylÃne Josserand
Date: Tue Feb 27 2018 - 16:25:05 EST


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