Skip to content

add a TDA998x CODEC

Jean-Francois Moine alsa-devel dri-devel linux-arm-kernel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 20 repliesIn review
  2. v25 patches 1 replySuperseded
  3. v14 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i2c: tda998x: add a function for dynamic audio input switchdrivers/gpu/drm/i2c/tda998x_drv.c include/drm/i2c/tda998x.h+50 -50 replies
2/5ASoC: tda998x: add a codec driver for the TDA998xdrivers/gpu/drm/i2c/tda998x_drv.c sound/soc/codecs/Kconfig sound/soc/codecs/Makefile +1 more+228 -07 replies
3/5ASoC: tda998x: add DT documentation of the tda998x CODECDocumentation/devicetree/bindings/drm/i2c/tda998x.txt+17 -04 replies
4/5ASoC: tda998x: adjust the audio hw parameters from EDIDdrivers/gpu/drm/i2c/tda998x_drv.c include/drm/i2c/tda998x.h sound/soc/codecs/tda998x.c+94 -18 replies
5/5ASoC: tda998x: adjust the audio CTS_N pre-divider from audio formatdrivers/gpu/drm/i2c/tda998x_drv.c include/drm/i2c/tda998x.h sound/soc/codecs/tda998x.c+39 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] add a TDA998x CODEC

The TDA998x HDMI transmitter accepts audio input from either I2S or S/PDIF.
Theses inputs have different intrinsic constraints and these constraints may be modified by the audio parameters of the connected video device.

The choice of I2S or S/PDIF may be the done by the user or by automatic processing (DPCM?) at each audio starting time. This asks for a dynamic audio input switch in the HDMI driver.

This patch series implements the TDA998x specific CODEC.

A simple function call mechanism is used for exchanges between the CODEC and the HDMI driver.

Note: the changes in the TDA998x I2C driver are based on my previous patch series:
http://lists.freedesktop.org/archives/dri-devel/2014-January/052837.html

- v3
- move the DT description of the CODEC as a subnode of the TDA998x I2C (Mark Brown remark - is this the right way?)
- change CODEC loading mechanism
- simplify tda998x i2c reference search
- CODEC DT documentation in drm/i2c/tda998x.txt

- v2
- add ACLK setting and code optimization in patch 1
- from Mark Brown's remarks in patch 2:
- don't compile the codec when CONFIG_ALL_CODECS
- simplify the code about start/stop audio
- fix coding style errors
- add audio-port-names associated to audio-ports
- add audio-port-names in patch 4
- add patch 5 'adjust the audio CTS_N pre-divider from audio format' for the Beaglebone-Black board (Jyri Sarha)

Jean-Francois Moine (5):
drm/i2c: tda998x: add a function for dynamic audio input switch
ASoC: tda998x: add a codec driver for the TDA998x
ASoC: tda998x: add DT documentation of the tda998x CODEC
ASoC: tda998x: adjust the audio hw parameters from EDID
ASoC: tda998x: adjust the audio CTS_N pre-divider from audio format

 .../devicetree/bindings/drm/i2c/tda998x.txt        |  17 ++
 drivers/gpu/drm/i2c/tda998x_drv.c                  |  86 +++++-
 include/drm/i2c/tda998x.h                          |  11 +-
 sound/soc/codecs/Kconfig                           |   6 +
 sound/soc/codecs/Makefile                          |   2 +
 sound/soc/codecs/tda998x.c                         | 303 +++++++++++++++++++++
 6 files changed, 419 insertions(+), 6 deletions(-)
 create mode 100644 sound/soc/codecs/tda998x.c
Signature · 1 line
1.9.rc1