ASoC: ak4118: Add support for AK4118 S/PDIF transceiver
authorAdrien Charruel <adrien.charruel@devialet.com>
Wed, 14 Nov 2018 12:16:41 +0000 (13:16 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 15 Nov 2018 19:33:35 +0000 (11:33 -0800)
commitbf897b441bd3afdd43e19605df4fb5a105678664
tree463299f90936b4ae17a8319a71cdf5b40500cb72
parent8076de2244c6c1bf703c844134bfa13110b16349
ASoC: ak4118: Add support for AK4118 S/PDIF transceiver

The AK4118A is a digital audio transceiver supporting 8 input channels
at 192kHz and with 24bits resolution.
It converts the S/PDIF signal to I2S format and is configurable over I2C.

This driver introduce a minimal support of the AK4118, like selecting the
input channel, reading input frequency and detecting some errors.

Datasheet is available here:
https://www.akm.com/akm/en/file/datasheet/AK4118AEQ.pdf

Signed-off-by: Adrien Charruel <adrien.charruel@devialet.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/ak4118.c [new file with mode: 0644]