Skip to content

mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

Jeff Kletsky linux-mtd lkml 4 versions – Applied

Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 8 repliesApplied
  2. v33 patches 1 replySuperseded
  3. v2 posting 2/23 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/22 of 3 patches0 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3mtd: spinand: Define macros for page-read ops with three-byte addressesinclude/linux/mtd/spinand.h+30 -01 reply
2/3mtd: spinand: Add support for two-byte device IDsdrivers/mtd/nand/spi/core.c include/linux/mtd/spinand.h+3 -31 reply
3/3mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxGdrivers/mtd/nand/spi/gigadevice.c+64 -155 replies

Reviews trailers per patch

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

PatchFrieder Schrempf
1/3R-b
2/3R-b
3/3R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

Addresses changes in macros and related data structures introduced by
commit 377e517b5fa5
mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg

Resolves issue detected by kbuild test robot
Tue, 21 May 2019 17:28:09 +0800
Tue, 21 May 2019 18:17:28 +0800

GD5F1GQ4UFxxG data sheet on page 34 of gd5f1gq4xfxxg_v2.4_20190322.pdf indicates "Minumum number of valid blocks (Nvb)" 1004 out of 1024 total.

Newly introduced "max bad blocks" parameter set to 20 (1024-1020).

Rebased on v5.2-rc1 and confirmed patch applies on master.

Patches 1/3 and 2/3 are the same as in the previous series.

Patch 3/3, mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG, includes the additional parameter (compared here to v3 of the series):

SPINAND_INFO("GD5F1GQ4UFxxG", 0xb148,
- NAND_MEMORG(1, 2048, 128, 64, 1024, 1, 1, 1),
+ NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),
NAND_ECCREQ(8, 512), SPINAND_INFO_OP_VARIANTS(&read_cache_variants_f, &write_cache_variants,

R-b of Frieder Schrempf removed from [3/3] as a result this change.

Supersedes series:

mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG
https://patchwork.ozlabs.org/project/linux-mtd/list/?series=108868

Jeff

Cc Miquel Raynal <[email protected]>
Cc Schrempf Frieder <[email protected]>
Cc Boris Brezillon <[email protected]>
Cc Richard Weinberger <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Brian Norris <[email protected]>
Cc Marek Vasut <[email protected]>