ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH 0/5] sunxi: A523: Add SPI support
@ 2026-05-11 21:37 Andre Przywara
  2026-05-11 21:37 ` [PATCH 1/5] spi: sunxi: add support for A523 SPI controller Andre Przywara
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Andre Przywara @ 2026-05-11 21:37 UTC (permalink / raw)
  To: u-boot
  Cc: Tom Rini, Jernej Skrabec, Chen-Yu Tsai, Paul Kocialkowski,
	linux-sunxi

This series adds SPI support to the A523 family of SoCs. The SPI
controller is very similar to the previous generation, to a degree where
we don't need actual code changes, but just to add the new DT compatible
string to the driver (patch 1/5).
Patch 3/5 adds support for SPL SPI booting, again no real driver changes,
just adding the required pinmux settings for the A523. To make this
easier, patch 2/5 reworks the SPI pinmux setting. That doesn't look as
pretty as I hoped for, but is still better than what we have now.
The last two patches enable SPI and SPI booting on two boards with NOR
flash. 

I could successfully boot U-Boot from SPI on the Radxa A5E with that.
The OrangePi 4A also has a NOR SPI, but I couldn't test this, as I don't
have that board.

Please have a look and test!

Cheers,
Andre

Andre Przywara (5):
  spi: sunxi: add support for A523 SPI controller
  sunxi: spl: spi: Clean up SPI0 pinmux setting
  sunxi: spl: spi: Add support for Allwinner A523
  sunxi: configs: Radxa Cubie A5E: enable SPI
  sunxi: configs: OrangePi 4A: enable SPI

 arch/arm/mach-sunxi/spl_spi_sunxi.c | 48 +++++++++++++----------------
 configs/orangepi_4a_defconfig       |  4 +++
 configs/radxa-cubie-a5e_defconfig   |  6 +++-
 drivers/spi/spi-sunxi.c             |  4 +++
 4 files changed, 35 insertions(+), 27 deletions(-)

-- 
2.46.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-05-12 17:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 21:37 [PATCH 0/5] sunxi: A523: Add SPI support Andre Przywara
2026-05-11 21:37 ` [PATCH 1/5] spi: sunxi: add support for A523 SPI controller Andre Przywara
2026-05-12 17:37   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 2/5] sunxi: spl: spi: Clean up SPI0 pinmux setting Andre Przywara
2026-05-12 17:37   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 3/5] sunxi: spl: spi: Add support for Allwinner A523 Andre Przywara
2026-05-12 17:39   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 4/5] sunxi: configs: Radxa Cubie A5E: enable SPI Andre Przywara
2026-05-12 17:40   ` Jernej Škrabec
2026-05-11 21:37 ` [PATCH 5/5] sunxi: configs: OrangePi 4A: " Andre Przywara
2026-05-12 17:40   ` Jernej Škrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox