
Hello, sorry for late reply!
Anyway, my plan is to not add anything to the SPL code in its current shape anymore, instead do some refactoring first, then have a much cleaner and smaller patch with the AXP313a support. I am more than halfway through with that, just stuck on some nasty preprocessor problem. I will post something once that's ready, and will then CC: you, so you can add the AXP313 parts on top, if you like.
Sounds good, current complicated PMIC should be cleaned I think. If a testing staff is needed, please tell me.
By the way, do you have any memory controller information when Allwinner H616 connects DDR4?
Simply adding AXP313a code make MangoPi MQ-Quad working, but OrangePi Zero3 requires setting up memory controller for DDR4.
At least sunxi's binary blob (boot0) can do this, no source code.
Best regards,