linux icon indicating copy to clipboard operation
linux copied to clipboard

riscv: dts: allwinner: d1: Enable I2S on MangoPi MQ-Pro

Open arkadijs opened this issue 3 years ago • 2 comments

  1. Restore I2S2 pin control.
  2. Enable I2S and hardcode (very popular) PCM5102A codec to create simple-audio-card.

(2) could be bad idea in main DT. Please let me know if this requires rework, perhaps externalizing into an overlay.

arkadijs avatar Jan 22 '23 02:01 arkadijs

can i use that port for other i2s devices. for example i2s audio max98357 instead of pcm5102a. do i need to change anything @arkadijs

lamthientieu avatar May 11 '23 12:05 lamthientieu

It may work. I didn't know for sure, yet those simple DACs are fairly generic and compatible to each other, and the protocol is simple as well. Actually, it works just fine with ES7148.

arkadijs avatar May 11 '23 12:05 arkadijs