ASoC: hisilicon: update dts and driver to support i2s0
1. dts: add i2s0
2. driver:
- add i2s0dai device
- modified dma to support multi-channel
- add a virtual codec, to support simultaneous playing
- modified simple card, to describe two PCM device
Verified on HiKey970 (need someone else to verify on HiKey960)
1. Push a 48k16bit 2channel wave file to the board, then play it on two
PCM devices:
$ tinyplay xxx.wav -d 0
$ tinyplay xxx.wav -d 1
2. Measure tx pins waveform on both i2s0 and i2s2.
Change-Id: I73a8c2d6304c88474c6d0c2b2ea6389043a87aa2
Signed-off-by: Hou Xiaoyong <houxiaoyong1@huawei.com>
[License cleanup: add SPDX license identifier to hisi-i2s-plat.c]
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
5 files changed