ASoC: sun4i-i2s: Add support for A83T
authorChen-Yu Tsai <wens@csie.org>
Tue, 12 Dec 2017 08:11:45 +0000 (16:11 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 12 Dec 2017 10:33:02 +0000 (10:33 +0000)
commit21faaea1343f2f8dc6539302c92231afc6d999a5
tree09b72047d25be5c296fd0b61ae56314c4c0df8e1
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: sun4i-i2s: Add support for A83T

The I2S controller in the A83T is mostly compatible with the one found
in earlier SoCs such as the A20 and A31. While the documents publicly
available for the A83T do not cover this hardware, the officially
released BSP kernel does have register definitions for it. These were
matched against the A20 user manual. The only difference is the TX FIFO
and interrupt status registers have been swapped around, like what we
have seen with the SPDIF controller.

This patch adds support for this hardware.

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-i2s.txt
sound/soc/sunxi/sun4i-i2s.c