All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Support MT7622 NAND flash controller
@ 2017-11-30 14:10 ` RogerCC Lin
  0 siblings, 0 replies; 12+ messages in thread
From: RogerCC Lin @ 2017-11-30 14:10 UTC (permalink / raw)
  To: boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
	computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
  Cc: srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
	bayi.cheng-NuS5LvNUpcJWk0Htik3J/w,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	xiaolei.li-NuS5LvNUpcJWk0Htik3J/w, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
	rogercc.lin-NuS5LvNUpcJWk0Htik3J/w

From: RogerCC Lin <rogercc.lin-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>

MT7622 uses an earlier NAND flash controller IP which is similar to
MT2701's, it has less sector size, less max sector number and less
parity bits. This patch can support MT7622 NAND flash controller.

The patch has been verified in UBIFS test, with F59D1G81MB on MT7622
reference board, it works correctly.

Change since v1:
Keep MTK ECC's struct private and add a helper to get parity bits.

RogerCC Lin (3):
  mtd: nand: mtk: update DT bindings
  mtd: nand: mtk: Support different MTK NAND flash controller IP
  mtd: nand: mtk: Support MT7622 NAND flash controller.

 Documentation/devicetree/bindings/mtd/mtk-nand.txt |  11 +-
 drivers/mtd/nand/mtk_ecc.c                         | 126 ++++++++++++++++-----
 drivers/mtd/nand/mtk_ecc.h                         |   3 +-
 drivers/mtd/nand/mtk_nand.c                        |  43 +++++--
 4 files changed, 139 insertions(+), 44 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-12-07 20:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 14:10 [PATCH v2 0/3] Support MT7622 NAND flash controller RogerCC Lin
2017-11-30 14:10 ` RogerCC Lin
     [not found] ` <1512051045-24026-1-git-send-email-rogercc.lin-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-11-30 14:10   ` [PATCH v2 1/3] mtd: nand: mtk: update DT bindings RogerCC Lin
2017-11-30 14:10     ` RogerCC Lin
     [not found]     ` <1512051045-24026-2-git-send-email-rogercc.lin-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2017-12-05 13:44       ` Matthias Brugger
2017-12-05 13:44         ` Matthias Brugger
2017-12-07 20:20       ` Boris Brezillon
2017-12-07 20:20         ` Boris Brezillon
2017-11-30 14:10   ` [PATCH v2 2/3] mtd: nand: mtk: Support different MTK NAND flash controller IP RogerCC Lin
2017-11-30 14:10     ` RogerCC Lin
2017-11-30 14:10   ` [PATCH v2 3/3] mtd: nand: mtk: Support MT7622 NAND flash controller RogerCC Lin
2017-11-30 14:10     ` RogerCC Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.