[PATCH V2 0/4] Anbernic RGxx3 Bootloader Fixes

Chris Morgan macromorgan at hotmail.com
Mon Sep 23 19:42:33 CEST 2024


On Sun, Sep 22, 2024 at 02:43:11PM +0100, Peter Robinson wrote:
> Hi Chris,
> 
> > Update the Anbernic RGxx3 "device" to use upstream device-trees,
> > add logic to detect a different vdd_cpu regulator, and implement a
> > fix to allow the panel auto-detection to run when using mainline
> > A-TF.
> >
> > Note that *Linux* still cannot use mainline A-TF because of the missing
> > SCMI clock and reset functionality, but this patch series at least
> > ensures that this board can boot once Linux is ready.
> 
> Have you got a link to this upstream in the kernel lists? Is there
> patches posted? I think I have seen a similar issue when playing with
> mainline TF-A the other day on the Quartz64.
> 
> Peter

I don't. I just remember when I was testing A-TF previously (I've been
following the RK3568 A-TF status since it was first submitted) that
it would fail because of missing cpu clocking. Basically the cpu device
tree node has a defined link to the SCMI clock that's provided by A-TF.
Except that mainline A-TF doesn't do this, so it would get stuck in
deferred probe hell. The *real* solution I think is to get SCMI clk
and reset support in mainline A-TF, but unfortunately I don't know how
to do that at the moment.

Chris

> 
> > Chris Morgan (4):
> >   board: rockchip: Convert Anbernic RGxx3 to OF_UPSTREAM
> >   board: rockchip: Add vdd_cpu reg fixup for RGXX3 Series
> >   board: rockchip: Remove ARM SCMI Support from RGxx3
> >   board: rockchip: Enable PD_VO before driver access
> >
> >  .../dts/rk3566-anbernic-rg353p-u-boot.dtsi    |  34 ++
> >  .../arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi |  52 ---
> >  arch/arm/dts/rk3566-anbernic-rgxx3.dts        |  28 --
> >  arch/arm/mach-rockchip/rk3568/rk3568.c        |   6 +
> >  board/anbernic/rgxx3_rk3566/MAINTAINERS       |   4 +-
> >  board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c    | 359 +++++++++++++++---
> >  configs/anbernic-rgxx3-rk3566_defconfig       |  12 +-
> >  7 files changed, 347 insertions(+), 148 deletions(-)
> >  create mode 100644 arch/arm/dts/rk3566-anbernic-rg353p-u-boot.dtsi
> >  delete mode 100644 arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi
> >  delete mode 100644 arch/arm/dts/rk3566-anbernic-rgxx3.dts
> >
> > --
> > 2.34.1
> >


More information about the U-Boot mailing list