The Cadence I2S Controller implements a function of the multi-channel (up to 8-channel) bus. Each stereo channel combines functions of a transmitter and a receiver, and can switch freely between them. Each channel has independent gating, clock and interruption control. It also support some of these channels are used as playback and others can also be used as record in the same time. Four I2S controllers are used on the StarFive JH8100 SoC. Two of the I2S controllers use two stereo channels, one of them use four channels, and one use eight. It had tested on the fpga with WM8960. Xingyu Wu (2): dt-bindings: ASoC: Add Cadence I2S controller for StarFive JH8100 SoC ASoC: starfive: Add drivers of Cadence Multi-Channel I2S Controller .../bindings/sound/cdns,jh8100-i2s.yaml | 100 +++ MAINTAINERS | 7 + sound/soc/starfive/Kconfig | 18 + sound/soc/starfive/Makefile | 4 + sound/soc/starfive/cdns-jh8100-i2s-pcm.c | 262 +++++++ sound/soc/starfive/cdns-jh8100-i2s.c | 727 ++++++++++++++++++ sound/soc/starfive/cdns-jh8100-i2s.h | 171 ++++ 7 files changed, 1289 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cdns,jh8100-i2s.yaml create mode 100644 sound/soc/starfive/cdns-jh8100-i2s-pcm.c create mode 100644 sound/soc/starfive/cdns-jh8100-i2s.c create mode 100644 sound/soc/starfive/cdns-jh8100-i2s.h -- 2.25.1