[U-Boot] [PATCH 00/10] spi: Add Allwinner A31 SPI driver

Jagan Teki jagan at amarulasolutions.com
Sat Feb 9 13:14:50 UTC 2019


This series add support for Allwinner A31 SPI controller driver.

Compared to previous version[1] separate driver for A31, this patchset 
is trying to tune the existing sun4i_spi code by adding register set, 
register bits to support both A10, A31 SPI controllers.

Any inputs?
Jagan.

Jagan Teki (10):
  spi: sun4i: Poll for rxfifo empty
  clk: sunxi: Implement SPI clocks, resets
  spi: sun4i: Simplify reg writes using set/clrbits_le32
  spi: sun4i: Access registers and bits via enum offsets
  spi: sun4i: Support fifo_depth via drvdata
  spi: sun4i: Add CLK support
  spi: sun4: Add A31 spi controller support
  spi: sun4i: Driver cleanup
  spi: kconfig: Enable SUN4I_SPI by default if ARCH_SUNXI
  board: sopine: Enable SPI/SPI-FLASH

 .../sun50i-a64-sopine-baseboard-u-boot.dtsi   |  12 +
 configs/sopine_baseboard_defconfig            |   4 +
 drivers/clk/sunxi/clk_a10.c                   |  10 +
 drivers/clk/sunxi/clk_a10s.c                  |   7 +
 drivers/clk/sunxi/clk_a23.c                   |   7 +
 drivers/clk/sunxi/clk_a31.c                   |  13 +
 drivers/clk/sunxi/clk_a64.c                   |   7 +
 drivers/clk/sunxi/clk_a80.c                   |  13 +
 drivers/clk/sunxi/clk_a83t.c                  |   7 +
 drivers/clk/sunxi/clk_h3.c                    |   7 +
 drivers/clk/sunxi/clk_h6.c                    |   9 +
 drivers/clk/sunxi/clk_r40.c                   |  13 +
 drivers/clk/sunxi/clk_v3s.c                   |   4 +
 drivers/spi/Kconfig                           |   5 +-
 drivers/spi/sun4i_spi.c                       | 436 ++++++++++++------
 15 files changed, 418 insertions(+), 136 deletions(-)
 create mode 100644 arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi

-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list