awef Posted November 15, 2018 Share 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?) Link to comment Share on other sites More sharing options...
awef Posted November 15, 2018 Author Share Posted November 15, 2018 https://forum.armbian.com/topic/5643-h3-i2s0-dt-overlay/ Link to comment Share on other sites More sharing options...
awef Posted November 15, 2018 Author Share 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) Link to comment Share on other sites More sharing options...
awef Posted November 15, 2018 Author Share Posted November 15, 2018 https://github.com/armbian/build/blob/master/patch/kernel/sunxi-next/00-20-add-i2s-DT-pins.patch Link to comment Share on other sites More sharing options...
martinayotte Posted November 15, 2018 Share 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 ... Link to comment Share on other sites More sharing options...
awef Posted November 16, 2018 Author Share 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) Link to comment Share on other sites More sharing options...
martinayotte Posted November 16, 2018 Share Posted November 16, 2018 This will help you : Link to comment Share on other sites More sharing options...
awef Posted November 17, 2018 Author Share Posted November 17, 2018 Thanks! Will give it a shot! Link to comment Share on other sites More sharing options...
awef Posted November 18, 2018 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts