* [GIT PULL] u-boot-sunxi/master for v2025.10
@ 2025-07-28 0:45 Andre Przywara
2025-07-28 15:42 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2025-07-28 0:45 UTC (permalink / raw)
To: Tom Rini; +Cc: u-boot, Jernej Skrabec, Mikhail Kalashnikov, linux-sunxi
Hi Tom,
please pull those sunxi changes into v2025.10: they add support for the
new Allwinner A523/A527/T527 SoC (all same die), alongside with defconfigs
for three boards using one of those SoCs.
The patches are the usual combination of refactoring (of the SPL clock
code this time), tweaks to existing drivers to support peripherals in
their A523 versions, and new drivers for pincontrol and clocks. A big
chunk is of course the DRAM controller init routines, many thanks to
Jernej and Mikhail for providing this code, after a big reverse
engineering effort.
Since the DTs for the three supported boards have been merged into the
kernel repo recently, this is concluded by cherry-picks of those patches,
and the defconfig files to finally enable booting those boards.
The patches have been sitting around for a while, and folks are already
using them, so it's now time to get them into the tree.
Gitlab CI passed, and I booted that briefly on those three boards, plus
on some other SoCs to spot potential regressions.
Thanks,
Andre
===========================================================
The following changes since commit 4c3b5fcd810081bd7f3c51859fe1b5f0c159803c:
Merge tag 'efi-2025-10-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi (2025-07-26 09:21:09 -0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master
for you to fetch changes up to 0199794b30431fbf52ef2607c950de233e45b19e:
sunxi: A523: add defconfigs for three boards (2025-07-27 23:12:20 +0100)
----------------------------------------------------------------
Andre Przywara (17):
sunxi: clock: H6: unify PLL control bit definitions
sunxi: clock: H6: factor out clock_set_pll()
sunxi: clock: H6: factor out H6/H616 CPU clock setup
sunxi: clock: H6: add A523 CPU PLL support
sunxi: spl: add support for Allwinner A523 watchdog
clk: sunxi: Add support for the A523 CCU
clk: sunxi: Add support for the A523 -R CCU
pinctrl: sunxi: add Allwinner A523 pinctrl description
sunxi: mmc: add support for Allwinner A523 MMC mod clock
power: regulator: add AXP323 support
sunxi: update cpu_sunxi_ncat2.h
sunxi: add basic A523 support
arm64: dts: allwinner: Add Allwinner A523 .dtsi file
arm64: dts: allwinner: a523: add X96Q-Pro+ support
arm64: dts: allwinner: a523: add Radxa A5E support
arm64: dts: allwinner: a523: add Avaota-A1 router support
sunxi: A523: add defconfigs for three boards
Jernej Skrabec (2):
sunxi: sun50i_h6: add A523 SPL clock setup code
sunxi: A523: add DRAM initialisation routine
Mikhail Kalashnikov (1):
sunxi: A523: add DDR3 DRAM support
arch/arm/cpu/armv8/fel_utils.S | 5 +-
arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 49 +-
arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h | 20 +
arch/arm/include/asm/arch-sunxi/dram.h | 2 +
arch/arm/include/asm/arch-sunxi/dram_sun55i_a523.h | 153 ++
arch/arm/include/asm/arch-sunxi/watchdog.h | 2 +
arch/arm/mach-sunxi/Kconfig | 54 +-
arch/arm/mach-sunxi/Makefile | 2 +
arch/arm/mach-sunxi/board.c | 11 +
arch/arm/mach-sunxi/clock_sun50i_h6.c | 153 +-
arch/arm/mach-sunxi/cpu_info.c | 2 +
arch/arm/mach-sunxi/dram_sun50i_a133.c | 10 +-
arch/arm/mach-sunxi/dram_sun50i_h6.c | 6 +-
arch/arm/mach-sunxi/dram_sun50i_h616.c | 6 +-
arch/arm/mach-sunxi/dram_sun55i_a523.c | 1590 ++++++++++++++++++++
arch/arm/mach-sunxi/dram_timings/Makefile | 2 +
arch/arm/mach-sunxi/dram_timings/a523_ddr3.c | 113 ++
arch/arm/mach-sunxi/dram_timings/a523_lpddr4.c | 119 ++
board/sunxi/MAINTAINERS | 15 +
board/sunxi/board.c | 7 +-
common/spl/Kconfig | 4 +-
configs/avaota-a1_defconfig | 31 +
configs/radxa-cubie-a5e_defconfig | 32 +
configs/x96q_pro_plus_defconfig | 32 +
drivers/clk/sunxi/Kconfig | 14 +
drivers/clk/sunxi/Makefile | 2 +
drivers/clk/sunxi/clk_a523.c | 85 ++
drivers/clk/sunxi/clk_a523_r.c | 39 +
drivers/clk/sunxi/clk_sunxi.c | 10 +
drivers/mmc/sunxi_mmc.c | 20 +-
drivers/pinctrl/sunxi/Kconfig | 10 +
drivers/pinctrl/sunxi/pinctrl-sunxi.c | 50 +
drivers/power/pmic/axp.c | 1 +
drivers/power/regulator/axp_regulator.c | 1 +
dts/upstream/src/arm64/allwinner/sun55i-a523.dtsi | 598 ++++++++
.../src/arm64/allwinner/sun55i-a527-cubie-a5e.dts | 299 ++++
.../src/arm64/allwinner/sun55i-h728-x96qpro+.dts | 287 ++++
.../src/arm64/allwinner/sun55i-t527-avaota-a1.dts | 308 ++++
include/axp_pmic.h | 1 +
include/configs/sun55i.h | 11 +
40 files changed, 4094 insertions(+), 62 deletions(-)
create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun55i_a523.h
create mode 100644 arch/arm/mach-sunxi/dram_sun55i_a523.c
create mode 100644 arch/arm/mach-sunxi/dram_timings/a523_ddr3.c
create mode 100644 arch/arm/mach-sunxi/dram_timings/a523_lpddr4.c
create mode 100644 configs/avaota-a1_defconfig
create mode 100644 configs/radxa-cubie-a5e_defconfig
create mode 100644 configs/x96q_pro_plus_defconfig
create mode 100644 drivers/clk/sunxi/clk_a523.c
create mode 100644 drivers/clk/sunxi/clk_a523_r.c
create mode 100644 dts/upstream/src/arm64/allwinner/sun55i-a523.dtsi
create mode 100644 dts/upstream/src/arm64/allwinner/sun55i-a527-cubie-a5e.dts
create mode 100644 dts/upstream/src/arm64/allwinner/sun55i-h728-x96qpro+.dts
create mode 100644 dts/upstream/src/arm64/allwinner/sun55i-t527-avaota-a1.dts
create mode 100644 include/configs/sun55i.h
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [GIT PULL] u-boot-sunxi/master for v2025.10
2025-07-28 0:45 [GIT PULL] u-boot-sunxi/master for v2025.10 Andre Przywara
@ 2025-07-28 15:42 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2025-07-28 15:42 UTC (permalink / raw)
To: Andre Przywara; +Cc: u-boot, Jernej Skrabec, Mikhail Kalashnikov, linux-sunxi
On Mon, 28 Jul 2025 01:45:16 +0100, Andre Przywara wrote:
> please pull those sunxi changes into v2025.10: they add support for the
> new Allwinner A523/A527/T527 SoC (all same die), alongside with defconfigs
> for three boards using one of those SoCs.
> The patches are the usual combination of refactoring (of the SPL clock
> code this time), tweaks to existing drivers to support peripherals in
> their A523 versions, and new drivers for pincontrol and clocks. A big
> chunk is of course the DRAM controller init routines, many thanks to
> Jernej and Mikhail for providing this code, after a big reverse
> engineering effort.
> Since the DTs for the three supported boards have been merged into the
> kernel repo recently, this is concluded by cherry-picks of those patches,
> and the defconfig files to finally enable booting those boards.
>
> [...]
Merged into u-boot/master, thanks!
--
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* [GIT PULL] u-boot-sunxi/master for v2025.10
@ 2025-08-12 10:56 Andre Przywara
2025-08-13 17:12 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2025-08-12 10:56 UTC (permalink / raw)
To: Tom Rini
Cc: u-boot, Jernej Skrabec, Paul Kocialkowski, Eric Anderson,
linux-sunxi
Hi Tom,
please pull these sunxi changes into v2025.10. It's mostly smaller fixes,
and some additions that were dependent on recent DT updates:
We switch the S3/V3/V3s over to OF_UPSTREAM, the DTs were already
identical anyway. While at it, Paul sent more fixes for this SoC, I am
pulling in two easy fixes that were ready and low risk. Apart from other
assorted fixes, this PR also enables Ethernet on the new A527/T527 boards,
made possible by the DT update from the DT rebasing repository.
This passed the CI, and was boot tested on boards with Allwinner A10, A20,
A33, V40, A80, A83T, T113s3, F1C100s, H3, A64, H6, H616, A133 and T527 SoCs.
Thanks,
Andre
===========================================================
The following changes since commit acfacf452441d0a659e3afbd55fd6061aa17e647:
Prepare v2025.10-rc2 (2025-08-11 13:47:46 -0600)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master
for you to fetch changes up to 553c5a69a5f1e36c8c6cd654e48601322979b8fb:
sunxi: H616: dram: fix LPDDR3 mode register settings (2025-08-12 00:50:57 +0100)
----------------------------------------------------------------
Andre Przywara (5):
pinctrl: sunxi: a523: change Ethernet pin function name
sunxi: a527: radxa/avaota: enable Ethernet
sunxi: a133: dram: fix data type for address variable
sunxi: spl: initialise timer before clocks
sunxi: H616: dram: fix LPDDR3 mode register settings
Eric Anderson (1):
sunxi: Enable SPL/SPI boot for OLinuXino Lime2
Paul Kocialkowski (3):
sunxi: Switch V3/V3s device-tree source to OF_UPSTREAM
sunxi: Kconfig: Fix default order for V3s DRAM clock
sunxi: pinecube: Enable EMAC and network support
arch/arm/dts/Makefile | 5 -
arch/arm/dts/sun8i-s3-elimo-impetus.dtsi | 44 --
arch/arm/dts/sun8i-s3-elimo-initium.dts | 29 --
arch/arm/dts/sun8i-s3-lichee-zero-plus.dts | 53 ---
arch/arm/dts/sun8i-s3-pinecube.dts | 228 ---------
arch/arm/dts/sun8i-v3-sl631-imx179.dts | 12 -
arch/arm/dts/sun8i-v3-sl631.dtsi | 138 ------
arch/arm/dts/sun8i-v3.dtsi | 63 ---
arch/arm/dts/sun8i-v3s-anbernic-rg-nano.dts | 276 -----------
arch/arm/dts/sun8i-v3s-licheepi-zero-dock.dts | 105 -----
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 101 ----
arch/arm/dts/sun8i-v3s.dtsi | 656 --------------------------
arch/arm/mach-sunxi/Kconfig | 3 +-
arch/arm/mach-sunxi/board.c | 2 +-
arch/arm/mach-sunxi/dram_sun50i_a133.c | 2 +-
arch/arm/mach-sunxi/dram_sun50i_h616.c | 12 +-
configs/A20-OLinuXino-Lime2_defconfig | 1 +
configs/LicheePi_Zero_defconfig | 3 +-
configs/avaota-a1_defconfig | 2 +
configs/pinecube_defconfig | 4 +-
configs/radxa-cubie-a5e_defconfig | 2 +
drivers/pinctrl/sunxi/pinctrl-sunxi.c | 2 +-
22 files changed, 19 insertions(+), 1724 deletions(-)
delete mode 100644 arch/arm/dts/sun8i-s3-elimo-impetus.dtsi
delete mode 100644 arch/arm/dts/sun8i-s3-elimo-initium.dts
delete mode 100644 arch/arm/dts/sun8i-s3-lichee-zero-plus.dts
delete mode 100644 arch/arm/dts/sun8i-s3-pinecube.dts
delete mode 100644 arch/arm/dts/sun8i-v3-sl631-imx179.dts
delete mode 100644 arch/arm/dts/sun8i-v3-sl631.dtsi
delete mode 100644 arch/arm/dts/sun8i-v3.dtsi
delete mode 100644 arch/arm/dts/sun8i-v3s-anbernic-rg-nano.dts
delete mode 100644 arch/arm/dts/sun8i-v3s-licheepi-zero-dock.dts
delete mode 100644 arch/arm/dts/sun8i-v3s-licheepi-zero.dts
delete mode 100644 arch/arm/dts/sun8i-v3s.dtsi
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [GIT PULL] u-boot-sunxi/master for v2025.10
2025-08-12 10:56 Andre Przywara
@ 2025-08-13 17:12 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2025-08-13 17:12 UTC (permalink / raw)
To: Andre Przywara
Cc: u-boot, Jernej Skrabec, Paul Kocialkowski, Eric Anderson,
linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]
On Tue, Aug 12, 2025 at 11:56:05AM +0100, Andre Przywara wrote:
> Hi Tom,
>
> please pull these sunxi changes into v2025.10. It's mostly smaller fixes,
> and some additions that were dependent on recent DT updates:
> We switch the S3/V3/V3s over to OF_UPSTREAM, the DTs were already
> identical anyway. While at it, Paul sent more fixes for this SoC, I am
> pulling in two easy fixes that were ready and low risk. Apart from other
> assorted fixes, this PR also enables Ethernet on the new A527/T527 boards,
> made possible by the DT update from the DT rebasing repository.
>
> This passed the CI, and was boot tested on boards with Allwinner A10, A20,
> A33, V40, A80, A83T, T113s3, F1C100s, H3, A64, H6, H616, A133 and T527 SoCs.
>
> Thanks,
> Andre
>
> ===========================================================
> The following changes since commit acfacf452441d0a659e3afbd55fd6061aa17e647:
>
> Prepare v2025.10-rc2 (2025-08-11 13:47:46 -0600)
>
> are available in the Git repository at:
>
> https://source.denx.de/u-boot/custodians/u-boot-sunxi.git master
>
> for you to fetch changes up to 553c5a69a5f1e36c8c6cd654e48601322979b8fb:
>
> sunxi: H616: dram: fix LPDDR3 mode register settings (2025-08-12 00:50:57 +0100)
>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-13 17:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 0:45 [GIT PULL] u-boot-sunxi/master for v2025.10 Andre Przywara
2025-07-28 15:42 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2025-08-12 10:56 Andre Przywara
2025-08-13 17:12 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox