ASoC: sun4i-codec: Add support for A31 playback through headphone output
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Nov 2016 07:55:48 +0000 (15:55 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 3 Nov 2016 20:29:50 +0000 (14:29 -0600)
commit8d9e4c9e993f34e7f74bf36f417920a01a42c4b0
tree147c0c9bfed5a07a090bc3f212c3f565265361e7
parent730e2dd0cbc7a7ec10174d9d291cdd8e8082a948
ASoC: sun4i-codec: Add support for A31 playback through headphone output

The A31 has a similar codec to the A10/A20. The PCM parts are very
similar, with different register offsets. The analog paths are very
different. There are more inputs and outputs. The ADC mux has been
replaced with a proper mixer.

This patch adds support for the basic playback path of the A31 codec,
from the DAC to the headphones. Headphone detection, microphone,
signaling, other inputs/outputs and capture will be added later.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/sun4i-codec.txt
sound/soc/sunxi/sun4i-codec.c