ASoC: sun4i-codec: Add support for H3 codec
authorChen-Yu Tsai <wens@csie.org>
Fri, 25 Nov 2016 12:34:40 +0000 (20:34 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Nov 2016 18:06:51 +0000 (18:06 +0000)
commit4a15b24a65f13778f7616ad0a65be78d8ec0b45a
tree6ae66439832fbe7b0ac5ea5aac8de2b46d47db1a
parentdac5f86bc9e60eae87a28512f025362d1e2574e3
ASoC: sun4i-codec: Add support for H3 codec

The codec on the H3 is similar to the one found on the A31. One key
difference is the analog path controls are routed through the PRCM
block. This is supported by the sun8i-codec-analog driver, and tied
into this codec driver with the audio card's aux_dev.

In addition, the H3 has no HP (headphone) and HBIAS support, and no
MIC3 input. The FIFO related registers are slightly rearranged.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.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