[PATCH 0/8] Add ASPEED SPI controller driver

Chin-Ting Kuo chin-ting_kuo at aspeedtech.com
Thu Apr 14 13:23:42 CEST 2022


This patch series aims to porting ASPEED FMC/SPI memory controller
driver with spi-mem interface. spi-mem dirmap framework is also
synchronized from Linux. These patches have been verified on both
AST2600 and AST2500 EVBs.

Chin-Ting Kuo (8):
  clk: aspeed: Get HCLK frequency support
  pinctrl: aspeed: FWSPICS1 and SPI1CS1 pin support
  spi: aspeed: Add ASPEED SPI controller driver
  MAINTAINERS: Add ASPEED SPI driver file
  arm: dts: aspeed: Update SPI flash node settings
  spi-mem: Add dirmap API from Linux
  mtd: spi-nor: use spi-mem dirmap API
  spi: aspeed: SPI dirmap read support

 MAINTAINERS                              |   7 +
 arch/arm/dts/ast2500-evb.dts             |  33 +
 arch/arm/dts/ast2500.dtsi                |  23 +-
 arch/arm/dts/ast2600-evb.dts             |   8 -
 arch/arm/dts/ast2600.dtsi                |  34 +-
 configs/evb-ast2500_defconfig            |  14 +
 configs/evb-ast2600_defconfig            |  14 +
 drivers/clk/aspeed/clk_ast2500.c         |  24 +
 drivers/mtd/spi/sf_probe.c               |  82 ++
 drivers/mtd/spi/spi-nor-core.c           |  55 +-
 drivers/pinctrl/aspeed/pinctrl_ast2500.c |   2 +
 drivers/spi/Kconfig                      |  18 +
 drivers/spi/Makefile                     |   1 +
 drivers/spi/spi-aspeed.c                 | 915 +++++++++++++++++++++++
 drivers/spi/spi-mem.c                    | 270 +++++++
 include/linux/mtd/spi-nor.h              |  18 +
 include/spi-mem.h                        |  98 +++
 17 files changed, 1570 insertions(+), 46 deletions(-)
 create mode 100644 drivers/spi/spi-aspeed.c

-- 
2.25.1



More information about the U-Boot mailing list