Skip to content

mtd: rawnand: qcom: Add support for QSPI nand

Md Sadre Alam linux-arm-msm linux-devicetree linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: qcom_nandc: IPQ5018 QPIC NAND documentationDocumentation/devicetree/bindings/mtd/qcom_nandc.txt+3 -01 reply
2/5mtd: rawnand: qcom: Add initial support for qspi nanddrivers/mtd/nand/raw/nand_ids.c drivers/mtd/nand/raw/qcom_nandc.c+171 -107 replies
3/5mtd: rawnand: qcom: Read QPIC versiondrivers/mtd/nand/raw/qcom_nandc.c+22 -00 replies
4/5mtd: rawnand: qcom: Enable support for erase,read & write for serial nand.drivers/mtd/nand/raw/qcom_nandc.c+83 -140 replies
5/5mtd: rawnand: qcom: Add support for serial training.drivers/mtd/nand/raw/qcom_nandc.c+217 -20 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5A-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] mtd: rawnand: qcom: Add support for QSPI nand

QPIC 2.0 supports Serial NAND support in addition to all features and commands in QPIC 1.0 for parallel NAND. Parallel and Serial NAND cannot operate simultaneously. QSPI nand devices will connect to QPIC IO_MACRO block of QPIC controller. There is a separate IO_MACRO clock for IO_MACRO block. Default IO_MACRO block divide the input clock by 4. so if IO_MACRO input clock is 320MHz then on bus it will be 80MHz, so QSPI nand device should also support this frequency.

QPIC provides 4 data pins to QSPI nand. In standard SPI mode (x1 mode) data transfer will occur on only 2 pins one pin for Serial data in and one for serial data out. In QUAD SPI mode (x4 mode) data transfer will occur at all the four data lines. QPIC controller supports command for x1 mode and x4 mode.

Md Sadre Alam (5):
dt-bindings: qcom_nandc: IPQ5018 QPIC NAND documentation
mtd: rawnand: qcom: Add initial support for qspi nand
mtd: rawnand: qcom: Read QPIC version
mtd: rawnand: qcom: Enable support for erase,read & write for serial
nand.
mtd: rawnand: qcom: Add support for serial training.

 .../devicetree/bindings/mtd/qcom_nandc.txt         |   3 +
 drivers/mtd/nand/raw/nand_ids.c                    |  13 +
 drivers/mtd/nand/raw/qcom_nandc.c                  | 502 ++++++++++++++++++++-
 3 files changed, 494 insertions(+), 24 deletions(-)
Signature · 1 line
2.7.4