sunxi: A523: Add SPI support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v15 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spi: sunxi: add support for A523 SPI controllerdrivers/ | +4 | 0 replies | |
| 2/5 | sunxi: spl: spi: Clean up SPI0 pinmux settingarch/ | +18 | 1 reply | |
| 3/5 | sunxi: spl: spi: Add support for Allwinner A523arch/ | +4 | 0 replies | |
| 4/5 | sunxi: configs: Radxa Cubie A5E: enable SPIconfigs/ | +5 | 0 replies | |
| 5/5 | sunxi: configs: OrangePi 4A: enable SPIconfigs/ | +4 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jernej Skrabec |
|---|---|
| 1/5 | A-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | A-b |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] sunxi: A523: Add SPI support
Version 2 of this SPI support series just fixes the pinmux refactoring to sort the sun5i generation correctly, plus adding the tags thanks to the diligent review from Jernej, many thanks for that!
======================
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
Changelog v1 .. v2:
- fix sun5i pinmux assignment
- add Reviewed-by: tags
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(-)
Signature · 1 line
2.46.4