01-17-2019, 02:25 AM
I've made a few changes to make it possible to specify the CODEC from the device tree assuming that the CODEC doesn't need anything more than what the sunxi provides, you can use different codecs without having to change the driver. I'll bundle up my patches this weekend and make them available. I'm doing kernel development outside of Armbian, but I'm modifying the Armbian kernel. The only thing that I haven't figured out yet is the gpio-reset in the cs4270 node. I'm using a different method in the device tree to set that gpio high. BTW, after doing these changes, I can't say that I'm a big fan of the device tree implementation. The concept is good, but the consistency of format and documentation are very poor.