All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: Add support for DAC PCM1789
@ 2018-03-05 12:48 ` Mylène Josserand
  0 siblings, 0 replies; 14+ messages in thread
From: Mylène Josserand @ 2018-03-05 12:48 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, mark.rutland, perex, tiwai
  Cc: alsa-devel, devicetree, linux-kernel, mylene.josserand,
	alexandre.belloni, thomas.petazzoni, michael

Hello everyone,

The current series is the second version to add the support of Texas
Instrument's DAC PCM1789. This DAC is very minimalist and does
not have many registers.

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. This reset can produce a "pop" noise.

Depending on your DAI, you will need to provide and enable the MCLK
to be able to communicate with this codec throught i2c.

Changes since v1:
	- Create a new file to support pcm1789 instead of converting the
	existing pcm179x driver. All the patches are merged into one patch.
	- Update the code to use gpiod for the reset.
	- Add some fixes according to Thomas Petazzoni's reviews
	- Create a new patch to add device-tree bindings for this new DAC.

Thank you in advance for any review.

Best regards,
Mylène

Mylène Josserand (2):
  ASoC: codecs: Add support for PCM1789
  ASoC: Add bindings for PCM1789

 .../devicetree/bindings/sound/pcm1789.txt          |  21 ++
 sound/soc/codecs/Kconfig                           |  12 +
 sound/soc/codecs/Makefile                          |   4 +
 sound/soc/codecs/pcm1789-i2c.c                     |  76 ++++++
 sound/soc/codecs/pcm1789.c                         | 288 +++++++++++++++++++++
 sound/soc/codecs/pcm1789.h                         |  28 ++
 6 files changed, 429 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/pcm1789.txt
 create mode 100644 sound/soc/codecs/pcm1789-i2c.c
 create mode 100644 sound/soc/codecs/pcm1789.c
 create mode 100644 sound/soc/codecs/pcm1789.h

-- 
2.11.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-03-08  8:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 12:48 [PATCH v2 0/2] ASoC: Add support for DAC PCM1789 Mylène Josserand
2018-03-05 12:48 ` Mylène Josserand
2018-03-05 12:48 ` [PATCH v2 1/2] ASoC: codecs: Add support for PCM1789 Mylène Josserand
2018-03-05 12:48   ` Mylène Josserand
2018-03-05 15:49   ` Mark Brown
2018-03-05 15:57     ` Alexandre Belloni
2018-03-05 15:59       ` Mark Brown
2018-03-05 15:59         ` Mark Brown
2018-03-07 14:34         ` Mylène Josserand
2018-03-07 14:34           ` Mylène Josserand
2018-03-05 12:48 ` [PATCH v2 2/2] ASoC: Add bindings " Mylène Josserand
2018-03-07 22:30   ` Rob Herring
2018-03-08  8:54     ` Mylène Josserand
2018-03-08  8:54       ` Mylène Josserand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.