ASoC: rockchip: Add machine driver for RK3288 boards that use analog/HDMI
authorRomain Perier <romain.perier@collabora.com>
Fri, 3 Feb 2017 14:37:59 +0000 (15:37 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 4 Feb 2017 12:17:44 +0000 (13:17 +0100)
commiteaae2ea735933bcf57227956ab9bcd8464d1519a
tree67d280e4991529ca5e3e7fea3ba82dcb96e454c7
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: rockchip: Add machine driver for RK3288 boards that use analog/HDMI

The driver is used for Rockchip rk3288-based boards using a configurable
analog output (can be an headphone) and the built-in HDMI audio output
that is part of the RK3288 SoCs and use the Alsa HDMI codec driver. For
some rk3288-based boards the analog output and the hdmi audio are plugged
on the same i2s line, so we have to do the same in the driver by using a
DAI link CPU to multicodecs. This configuration can be found for example
on the Radxa Rock2 or the Firefly-RK3288.

This commit is based on the initial work that was done by Sjoerd Simons
<sjoerd.simons@collabora.com> with some improvements.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt [new file with mode: 0644]
sound/soc/rockchip/Kconfig
sound/soc/rockchip/Makefile
sound/soc/rockchip/rk3288_hdmi_analog.c [new file with mode: 0644]