Skip to content

Add QCOM QPIC NAND support

Abhishek Sahu linux-arm-msm linux-devicetree linux-mtd lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest16 patches 7 repliesIn review
  2. v420 patches 18 repliesApplied
  3. v320 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v225 patches47 repliesApplied
v114 patches40 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16mtd: nand: qcom: DMA mapping support for register read bufferdrivers/mtd/nand/qcom_nandc.c+40 -00 replies
2/16mtd: nand: qcom: allocate BAM transactiondrivers/mtd/nand/qcom_nandc.c+94 -00 replies
3/16mtd: nand: qcom: add BAM DMA descriptor handlingdrivers/mtd/nand/qcom_nandc.c+136 -120 replies
4/16mtd: nand: qcom: support for passing flags in DMA helper functionsdrivers/mtd/nand/qcom_nandc.c+77 -520 replies
5/16mtd: nand: qcom: support for read location registersdrivers/mtd/nand/qcom_nandc.c+63 -00 replies
6/16mtd: nand: qcom: erased codeword detection configurationdrivers/mtd/nand/qcom_nandc.c+21 -00 replies
7/16mtd: nand: qcom: enable BAM or ADM modedrivers/mtd/nand/qcom_nandc.c+14 -30 replies
8/16mtd: nand: qcom: QPIC data descriptors handlingdrivers/mtd/nand/qcom_nandc.c+76 -00 replies
9/16mtd: nand: qcom: support for different DEV_CMD register offsetsdrivers/mtd/nand/qcom_nandc.c+19 -60 replies
10/16mtd: nand: qcom: add command elements in BAM transactiondrivers/mtd/nand/qcom_nandc.c+18 -11 reply
11/16mtd: nand: qcom: support for command descriptor formationdrivers/mtd/nand/qcom_nandc.c+92 -162 replies
12/16dt-bindings: qcom_nandc: fix the ipq806x device tree exampleDocumentation/devicetree/bindings/mtd/qcom_nandc.txt+3 -30 replies
13/16dt-bindings: qcom_nandc: IPQ4019 QPIC NAND documentationDocumentation/devicetree/bindings/mtd/qcom_nandc.txt+54 -10 replies
14/16dt-bindings: qcom_nandc: IPQ8074 QPIC NAND documentationDocumentation/devicetree/bindings/mtd/qcom_nandc.txt+2 -01 reply
15/16mtd: nand: qcom: support for IPQ4019 QPIC NAND controllerdrivers/mtd/nand/qcom_nandc.c+10 -00 replies
16/16mtd: nand: qcom: Support for IPQ8074 QPIC NAND controllerdrivers/mtd/nand/qcom_nandc.c+10 -00 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchArchit TanejaRob Herring
1/16R-b
2/16R-b
3/16R-b
4/16R-b
5/16R-b
6/16R-b
7/16R-b
8/16R-b
9/16R-b
10/16R-b
11/16R-b
12/16A-b
13/16A-b
14/16A-b
15/16R-b
16/16R-b

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

Read the v5 thread

Cover letter [PATCH v5 00/16] Add QCOM QPIC NAND support

* v5:

1. Removed the patches already applied to linux-next and rebased the remaining patches on [3]
2. Addressed the review comments in v4 and Added Archit Reviewed by tag.

[3] http://git.infradead.org/l2-mtd.git/shortlog/refs/heads/nand/next

* v4:

1. Added Acked-by from Rob for DT documentation patches
2. Removed ipq8074 compatible string from ipq4019 DT example.
2. Used the BIT macro for NAND_CMD_VLD bits and consistent names as suggested by Boris in v3.

* v3:

1. Removed the patches already applied to linux-next and
rebased the remaining patches on [1]
2. Reordered the patches and put the BAM DMA changes [2]
dependent patches and compatible string patches in last
3. Removed the register offsets array and used the dev_cmd offsets
4. Changed some macro names to small letters for better code readability
5. Changed the compatible string to SoC specific
6. Did minor code changes for adding comment, error handling, structure names
7. Combined raw write (patch#18) and passing flag parameter (patch#22) patch into one
8. Made separate patch for compatible string and NAND properties
9. Made separate patch for BAM command descriptor and data descriptors handling
10. Changed commit message for some of the patches
11. Addressed review comments given in v2
12. Added Reviewed-by of Archit for some of the patches from v2
13. All the MTD tests are working fine for IPQ8064 AP148, IPQ4019 DK04 and IPQ8074 HK01 boards for v3 patches

[1] http://git.infradead.org/l2-mtd.git/shortlog/refs/heads/nand/next
[2] http://www.spinics.net/lists/dmaengine/msg13662.html

* v2:

1. Addressed the review comments given in v1
2. Removed the DMA coherent buffer for register read and used streaming DMA API’s
3. Reorganized the NAND read and write functions
4. Separated patch for driver and documentation changes
5. Changed the compatible string for EBI2

* v1:

http://www.spinics.net/lists/devicetree/msg183706.html

Abhishek Sahu (16):
mtd: nand: qcom: DMA mapping support for register read buffer
mtd: nand: qcom: allocate BAM transaction
mtd: nand: qcom: add BAM DMA descriptor handling
mtd: nand: qcom: support for passing flags in DMA helper functions
mtd: nand: qcom: support for read location registers
mtd: nand: qcom: erased codeword detection configuration
mtd: nand: qcom: enable BAM or ADM mode
mtd: nand: qcom: QPIC data descriptors handling
mtd: nand: qcom: support for different DEV_CMD register offsets
mtd: nand: qcom: add command elements in BAM transaction
mtd: nand: qcom: support for command descriptor formation
dt-bindings: qcom_nandc: fix the ipq806x device tree example
dt-bindings: qcom_nandc: IPQ4019 QPIC NAND documentation
dt-bindings: qcom_nandc: IPQ8074 QPIC NAND documentation
mtd: nand: qcom: support for IPQ4019 QPIC NAND controller
mtd: nand: qcom: Support for IPQ8074 QPIC NAND controller

 .../devicetree/bindings/mtd/qcom_nandc.txt         |  63 +-
 drivers/mtd/nand/qcom_nandc.c                      | 746 ++++++++++++++++++---
 2 files changed, 722 insertions(+), 87 deletions(-)
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation