sunxi: F1C100s: enable MMC and SPI in U-Boot proper
Status from this message: Applied to sunxi/master.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | clk: sunxi: implement clock driver for suniv f1c100sdrivers/ drivers/ drivers/ | +82 | 1 reply | |
| 2/7 | spi: sunxi: refactor SPI speed/mode programmingdrivers/ | +52 | 4 replies | |
| 3/7 | spi: sunxi: improve SPI clock calculationdrivers/ | +7 | 0 replies | |
| 4/7 | spi: sunxi: Add support for F1C100s SPI controllerdrivers/ | +9 | 0 replies | |
| 5/7 | sunxi: F1C100s: update DT files from Linuxarch/ arch/ | +125 | 2 replies | |
| 6/7 | Revert "sunxi: f1c100s: Drop SYSRESET to enable reset functionality"configs/ | +0 | 1 reply | |
| 7/7 | sunxi: licheepi_nano: enable SPI flashconfigs/ | +3 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Sean Anderson | Jesse Taube |
|---|---|---|
| 1/7 | A-b | |
| 2/7 | T-b | |
| 3/7 | ||
| 4/7 | ||
| 5/7 | A-b | |
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] sunxi: F1C100s: enable MMC and SPI in U-Boot proper
So far the U-Boot proper support for the Allwinner F1C100 family of SoCs was really limited: we could realistically only deal with FEL booting, as there was no storage or network device acessible from U-Boot proper.
This series enables the MMC and SPI controller, to be able to actually load something from the device. This is made possible by the updates to the devicetree in Linux, which now describes those devices.
The first patch is taken from George's/Yifan's older series, and adds DM_CLK support for the F1C100s. The DM_PINCTRL support was already added with the DM conversion a few weeks back.
Patches 2-4 fix the SPI driver clock setup, and add support for the differing SPI clock on the F1C100.
Patch 5 updates the devicetree files, freshly synced from linux-next. Patch 6 reverts a hack we introduced back then to fix the reset functionality, with the DT update this is now no longer needed. The final patch adds SPI flash support to the Licheepi Nano defconfig, as these boards mostly ship with SPI flash soldered.
Please have a look and test!
Cheers,
Andre
Andre Przywara (6):
spi: sunxi: refactor SPI speed/mode programming
spi: sunxi: improve SPI clock calculation
spi: sunxi: Add support for F1C100s SPI controller
sunxi: F1C100s: update DT files from Linux
Revert "sunxi: f1c100s: Drop SYSRESET to enable reset functionality"
sunxi: licheepi_nano: enable SPI flash
George Hilliard (1):
clk: sunxi: implement clock driver for suniv f1c100s
arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 31 ++++++ arch/arm/dts/suniv-f1c100s.dtsi | 104 ++++++++++++++++-- configs/licheepi_nano_defconfig | 4 +- drivers/clk/sunxi/Kconfig | 7 ++ drivers/clk/sunxi/Makefile | 1 + drivers/clk/sunxi/clk_f1c100s.c | 74 +++++++++++++ drivers/spi/spi-sunxi.c | 109 +++++++++++-------- 7 files changed, 275 insertions(+), 55 deletions(-) create mode 100644 drivers/clk/sunxi/clk_f1c100s.c
Signature · 1 line
2.35.3