awef Posted November 15, 2018 Posted November 15, 2018 I just noticed there isn't a i2s/i2s0 overlay for the mainline kernel series: Linux orangepipcplus 4.14.78-sunxi #412 SMP Fri Oct 26 11:37:04 CEST 2018 armv7l GNU/Linux https://github.com/armbian/sunxi-DT-overlays/tree/master/sun8i-h3 Is it a simple matter of just adding some text files for DT? Or was i2s intentionally left out because or some conflict for example? (I had good luck with legacy on Banana Pi Pro a long time ago with fex, so I'm guessing it's a unintended omission?)
awef Posted November 15, 2018 Author Posted November 15, 2018 https://forum.armbian.com/topic/5643-h3-i2s0-dt-overlay/
awef Posted November 15, 2018 Author Posted November 15, 2018 not yet clear on how to use all the above info yet, but I'm looking into it (in case the wizards here have more urgent matters to reply to)
awef Posted November 15, 2018 Author Posted November 15, 2018 https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/00-20-add-i2s-DT-pins.patch
martinayotte Posted November 15, 2018 Posted November 15, 2018 50 minutes ago, awef said: not yet clear on how to use all the above info yet Right, since there are many things to consider : Main DT, I2S Overlay, but at first Kernel config ... Is the driver present ? For which chip ? Maybe you will end up having to build your own kernel ...
awef Posted November 16, 2018 Author Posted November 16, 2018 I think one thing I missed earlier is that it might be easier to use docker to compile a new kernel first (off board) since that's how armbian is "originally built" so to speak? For chip, I'm using a PCM5102 but the interface is "just i2s" with of course it's chip specific settings (wherever those are put in)
awef Posted November 18, 2018 Author Posted November 18, 2018 Well for the moment, I went the legacy/fex route and it works fine. I'll have to circle back to this mainline dto thing a bit later. Thanks!
Recommended Posts