[PATCH RESEND] sunxi: add axp313a support

Andre Przywara andre.przywara at arm.com
Tue Oct 17 14:44:04 CEST 2023


On Tue, 17 Oct 2023 18:38:58 +0900
SASANO Takayoshi <uaa at mx5.nisiq.net> wrote:

Hi,

> Hello, sorry for late reply!

no worries, glad you came back!

> > 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.

Thanks! I have something easy ready, just the final touches needed.
Will CC: on the post.

> 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.

Yes, we have been looking at this for a while, and there is code out
there. The latest drop is from Mikhail:
https://lore.kernel.org/u-boot/20231016053441.3197087-2-iuncuim@gmail.com/
If you can try this, maybe even review it, that would be great.

Cheers,
Andre


More information about the U-Boot mailing list