[linux dev-4.13 0/6] SMC driver updates

Cédric Le Goater clg at kaod.org
Tue Oct 10 00:41:02 AEDT 2017


Hello,

Here is a series bringing the Aspeed SMC driver to the level of what
we had in openbmc kernel 4.10. There are a couple of changes :

 - the DMA support is gone. It is not used, it only works for
   kmalloc'ed buffers and UBIFS uses vmalloc'ed buffers for instance.

 - the driver was slightly adapted to take into account the new clk
   driver.

Tested on a palmetto and an ast2500 eval boards.

Thanks,

C.

Cédric Le Goater (6):
  ARM: dts: aspeed: import OpenBMC flash layout
  mtd: spi-nor: aspeed: use command mode for reads
  mtd: spi-nor: aspeed: add support for SPI dual IO read mode
  ARM: dts: aspeed: add a AHB clock to the G4 SMC controllers
  mtd: spi-nor: aspeed: link controller with the ahb clock
  mtd: spi-nor: aspeed: optimize read mode

 arch/arm/boot/dts/aspeed-ast2500-evb.dts           |   1 +
 arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi |  26 ++
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts      |   1 +
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts       |   2 +
 arch/arm/boot/dts/aspeed-g4.dtsi                   |   2 +
 drivers/mtd/spi-nor/aspeed-smc.c                   | 283 ++++++++++++++++++++-
 6 files changed, 303 insertions(+), 12 deletions(-)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi

-- 
2.13.6



More information about the openbmc mailing list