Add tCLQV parameter to tweak SPI timings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | spi: Add parameter for clock to rx delayinclude/ | +3 | 5 replies | |
| 2/4 | mtd: spinand: Add support for clock to rx delay settingdrivers/ include/ | +7 | 0 replies | |
| 3/4 | mtd: spinand: winbond: Add rx sample delay for W25N02KVdrivers/ | +2 | 0 replies | |
| 4/4 | spi: spi-fsl-qspi: Add support for rx data sample point adjustmentdrivers/ | +80 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Add tCLQV parameter to tweak SPI timings
From: Eberhard Stoll <[email protected]>
Hi All,
this patch series adds parameters to tweak SPI timings for some (Q)SPI devices. For example it optimizes the support for the operation of a Winbond W25N02KV SPI NAND chip on NXP i.mx6 ul(l) devices.
The Winbond W25N02KV SPI NAND has the characteristic to introduce a delay between spi clock and the masters spi receive data (called tCLQV value in data sheet).
This chip can operate with a maximum SPI clock of 104MHz. Disregarding the requred tCLQV value of 7ns for this chip reduces the possible spi clock to approx. 70MHz. To support the full bandwith of this chip, the tCLQV parameter has to be supported in SPI framework and SPI controller and the SPI NAND chip needs this parameter in the device configuration data.
Also other devices can improve their operating SPI clock performance with this setting if they also has significant tCLQV values and the SPI controller will support it.
This patch series adds support the tCLQV parameter in:
- SPI framework
- SPI NAND framework
- NXP i.mx6 QSPI controller
- Winbond W25N02KV SPI NAND device
Eberhard Stoll (4):
spi: Add parameter for clock to rx delay
mtd: spinand: Add support for clock to rx delay setting
mtd: spinand: winbond: Add rx sample delay for W25N02KV
spi: spi-fsl-qspi: Add support for rx data sample point adjustment
drivers/mtd/nand/spi/core.c | 2 + drivers/mtd/nand/spi/winbond.c | 3 +- drivers/spi/spi-fsl-qspi.c | 80 ++++++++++++++++++++++++++++++++++ include/linux/mtd/spinand.h | 5 +++ include/linux/spi/spi.h | 3 ++ 5 files changed, 92 insertions(+), 1 deletion(-)
base-commit: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1 --
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/