Skip to content

mtd: spi-nor: aspeed: AST2600 support and extensions

Cédric Le Goater linux-arm-kernel linux-aspeed linux-devicetree linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16mtd: spi-nor: aspeed: Use command mode for readsdrivers/mtd/spi-nor/aspeed-smc.c+27 -10 replies
2/16mtd: spi-nor: aspeed: Add support for SPI dual IO read modedrivers/mtd/spi-nor/aspeed-smc.c+44 -120 replies
3/16mtd: spi-nor: aspeed: Link controller with the ahb clockdrivers/mtd/spi-nor/aspeed-smc.c+10 -00 replies
4/16mtd: spi-nor: aspeed: Add read trainingdrivers/mtd/spi-nor/aspeed-smc.c+204 -06 replies
5/16mtd: spi-nor: aspeed: Limit the maximum SPI frequencydrivers/mtd/spi-nor/aspeed-smc.c+13 -40 replies
6/16mtd: spi-nor: fix options for mx66l51235fdrivers/mtd/spi-nor/spi-nor.c+1 -11 reply
7/16mtd: spi-nor: aspeed: Add support for the 4B opcodesdrivers/mtd/spi-nor/aspeed-smc.c+9 -20 replies
8/16mtd: spi-nor: Add support for w25q512jvdrivers/mtd/spi-nor/spi-nor.c+3 -00 replies
9/16mtd: spi-nor: aspeed: Introduce a field for the AHB physical addressdrivers/mtd/spi-nor/aspeed-smc.c+6 -120 replies
10/16mtd: spi-nor: aspeed: Introduce segment operationsdrivers/mtd/spi-nor/aspeed-smc.c+58 -200 replies
11/16dt-bindings: mtd: aspeed-smc: Add new comptatible for AST2600Documentation/devicetree/bindings/mtd/aspeed-smc.txt+2 -01 reply
12/16mtd: spi-nor: aspeed: Add initial support for the AST2600drivers/mtd/spi-nor/aspeed-smc.c+68 -00 replies
13/16mtd: spi-nor: aspeed: Check for disabled segments on the AST2600drivers/mtd/spi-nor/aspeed-smc.c+19 -40 replies
14/16mtd: spi-nor: aspeed: Introduce training operations per platformdrivers/mtd/spi-nor/aspeed-smc.c+20 -30 replies
15/16mtd: spi-nor: aspeed: Introduce a HCLK mask for trainingdrivers/mtd/spi-nor/aspeed-smc.c+6 -10 replies
16/16mtd: spi-nor: aspeed: Add read training support for the AST2600drivers/mtd/spi-nor/aspeed-smc.c+72 -00 replies

Reviews trailers per patch

10 of 16 patches have a Reviewed-by or Acked-by.

PatchAndrew JefferyCédric Le GoaterLei YURob Herring
1/16
2/16
3/16
4/16
5/16R-b
6/16R-b R-b
7/16
8/16R-b
9/16R-b
10/16R-b
11/16A-b
12/16R-b
13/16R-b
14/16R-b
15/16R-b
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/16] mtd: spi-nor: aspeed: AST2600 support and extensions

Hello,

This series first extends the support for the Aspeed AST2500 and AST2400 SMC driver. It adds Dual Data support and read training giving the best read settings for a given chip. Support for the new AST2600 SoC is added at the end.

I understand that a new spi_mem framework exists and I do have an experimental driver using it. But unfortunately, it is difficult to integrate the read training. The Aspeed constraints are not compatible and i haven't had the time to extend the current framework.

This patchset has been in use for some time in the OpenBMC kernel on these systems :

* OpenPOWER Palmetto (AST2400)
* Evaluation board (AST2500)
* OpenPOWER Witherspoon (AST2500)
* OpenPOWER Romulus (AST2500)
* OpenPOWER Zaius (AST2500)
and many others

and it is now in use on these boards with the new SoC :

* Evaluation board (AST2600)
* Tacoma board (AST2600)

Thanks,

C.

Alexander Soldatov (1):
mtd: spi-nor: fix options for mx66l51235f

C?dric Le Goater (15):
mtd: spi-nor: aspeed: Use command mode for reads
mtd: spi-nor: aspeed: Add support for SPI dual IO read mode
mtd: spi-nor: aspeed: Link controller with the ahb clock
mtd: spi-nor: aspeed: Add read training
mtd: spi-nor: aspeed: Limit the maximum SPI frequency
mtd: spi-nor: aspeed: Add support for the 4B opcodes
mtd: spi-nor: Add support for w25q512jv
mtd: spi-nor: aspeed: Introduce a field for the AHB physical address
mtd: spi-nor: aspeed: Introduce segment operations
dt-bindings: mtd: aspeed-smc: Add new comptatible for AST2600
mtd: spi-nor: aspeed: Add initial support for the AST2600
mtd: spi-nor: aspeed: Check for disabled segments on the AST2600
mtd: spi-nor: aspeed: Introduce training operations per platform
mtd: spi-nor: aspeed: Introduce a HCLK mask for training
mtd: spi-nor: aspeed: Add read training support for the AST2600

 drivers/mtd/spi-nor/aspeed-smc.c              | 593 ++++++++++++++++--
 drivers/mtd/spi-nor/spi-nor.c                 |   5 +-
 .../devicetree/bindings/mtd/aspeed-smc.txt    |   2 +
 3 files changed, 551 insertions(+), 49 deletions(-)
Signature · 1 line
2.21.0