[GIT PULL] mtd: nand: Changes for 5.19

Miquel Raynal miquel.raynal at bootlin.com
Wed May 18 02:40:17 PDT 2022


Hello,

This is the NAND PR for v5.19-rc1.

Thanks,
Miquèl


The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

  Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/nand/for-5.19

for you to fetch changes up to 6a2277a0ebe71b45e1d5508a2d7aecd28c98e3d3:

  mtd: rawnand: renesas: Use runtime PM instead of the raw clock API (2022-05-16 18:36:21 +0200)

----------------------------------------------------------------
NAND core:
* Print offset instead of page number for bad blocks

Raw NAND controller drivers:
* Cadence: Fix possible null-ptr-deref in cadence_nand_dt_probe()
* CS553X: simplify the return expression of cs553x_write_ctrl_byte()
* Davinci: Remove redundant unsigned comparison to zero
* Denali: Use managed device resources
* GPMI:
  - Add large oob bch setting support
  - Rename the variable ecc_chunk_size
  - Uninline the gpmi_check_ecc function
  - Add strict ecc strength check
  - Refactor BCH geometry settings function
* Intel: Fix possible null-ptr-deref in ebu_nand_probe()
* MPC5121: Check before clk_disable_unprepare() not needed
* Mtk:
  - MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK
  - Also parse the default nand-ecc-engine property if available
  - Make mtk_ecc.c a separated module
* OMAP ELM:
  - Convert the bindings to yaml
  - Describe the bindings for AM64 ELM
  - Add support for its compatible
* Renesas: Use runtime PM instead of the raw clock API and update the
           bindings accordingly
* Rockchip: Check before clk_disable_unprepare() not needed
* TMIO: Check return value after calling platform_get_resource()

Raw NAND chip driver:
* Kioxia: Add support for TH58NVG3S0HBAI4 and TC58NVG0S3HTA00

SPI-NAND chip drivers:
* Gigadevice:
  - Add support for:
    - GD5FxGM7xExxG
    - GD5F{2,4}GQ5xExxG
    - GD5F1GQ5RExxG
    - GD5FxGQ4xExxG
  - Fix Quad IO for GD5F1GQ5UExxG
* XTX: Add support for XT26G0xA

----------------------------------------------------------------
Andreas Böhler (1):
      mtd: rawnand: add support for Toshiba TC58NVG0S3HTA00 NAND flash

Chuanhong Guo (7):
      mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG
      mtd: spinand: gigadevice: add support for GD5FxGQ4xExxG
      mtd: spinand: gigadevice: add support for GD5F1GQ5RExxG
      mtd: spinand: gigadevice: add support for GD5F{2, 4}GQ5xExxG
      mtd: spinand: gigadevice: add support for GD5FxGM7xExxG
      mtd: nand: make mtk_ecc.c a separated module
      mtd: nand: mtk-ecc: also parse nand-ecc-engine if available

Felix Matouschek (1):
      mtd: spinand: Add support for XTX XT26G0xA

Geert Uytterhoeven (1):
      mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK

Han Xu (5):
      mtd: rawnand: gpmi: Refactor bch geometry settings function
      mtd: rawnand: gpmi: Add strict ecc strength check
      mtd: rawnand: gpmi: Uninline the gpmi_check_ecc function
      mtd: rawnand: gpmi: Rename the variable ecc_chunk_size
      mtd: rawnand: gpmi: Add large oob bch setting support

Minghao Chi (1):
      mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte()

Miquel Raynal (3):
      Merge tag 'mtd/mtk-spi-nand-for-5.19' into nand/next
      dt-bindings: mtd: renesas: Fix the NAND controller description
      mtd: rawnand: renesas: Use runtime PM instead of the raw clock API

Phil Edworthy (2):
      mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed
      mtd: rawnand: mpc5121: Check before clk_disable_unprepare() not needed

Rafał Miłecki (1):
      mtd: rawnand: print offset instead of page number for bad blocks

Rickard x Andersson (1):
      mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4

Roger Quadros (3):
      dt-bindings: mtd: ti,elm: Convert to yaml
      dt-bindings: mtd: ti,elm: Add support for AM64 ELM
      mtd: rawnand: omap_elm: Add compatible for AM64 ELM

Wang Weiyang (1):
      mtd: rawnand: davinci: Remove redundant unsigned comparison to zero

Yang Yingliang (3):
      mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe()
      mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()
      mtd: rawnand: tmio: check return value after calling platform_get_resource()

Zheyu Ma (1):
      mtd: rawnand: denali: Use managed device resources

 Documentation/devicetree/bindings/mtd/elm.txt                      |  16 ------
 Documentation/devicetree/bindings/mtd/renesas-nandc.yaml           |   5 ++
 Documentation/devicetree/bindings/mtd/ti,elm.yaml                  |  72 +++++++++++++++++++++++++
 drivers/mtd/nand/Kconfig                                           |   8 +++
 drivers/mtd/nand/Makefile                                          |   1 +
 drivers/mtd/nand/{raw/mtk_ecc.c => ecc-mtk.c}                      |   8 +--
 drivers/mtd/nand/raw/Kconfig                                       |   1 +
 drivers/mtd/nand/raw/Makefile                                      |   2 +-
 drivers/mtd/nand/raw/cadence-nand-controller.c                     |   5 +-
 drivers/mtd/nand/raw/cs553x_nand.c                                 |   7 +--
 drivers/mtd/nand/raw/davinci_nand.c                                |   2 +-
 drivers/mtd/nand/raw/denali_pci.c                                  |  15 ++----
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c                         | 296 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h                         |  12 +++--
 drivers/mtd/nand/raw/intel-nand-controller.c                       |   2 +-
 drivers/mtd/nand/raw/mpc5121_nfc.c                                 |   3 +-
 drivers/mtd/nand/raw/mtk_nand.c                                    |   2 +-
 drivers/mtd/nand/raw/nand_base.c                                   |   9 ++--
 drivers/mtd/nand/raw/nand_ids.c                                    |   6 +++
 drivers/mtd/nand/raw/nand_toshiba.c                                |   6 ++-
 drivers/mtd/nand/raw/omap_elm.c                                    |   1 +
 drivers/mtd/nand/raw/renesas-nand-controller.c                     |  51 ++++++++----------
 drivers/mtd/nand/raw/rockchip-nand-controller.c                    |  20 ++++---
 drivers/mtd/nand/raw/tmio_nand.c                                   |   3 ++
 drivers/mtd/nand/spi/Makefile                                      |   2 +-
 drivers/mtd/nand/spi/core.c                                        |   1 +
 drivers/mtd/nand/spi/gigadevice.c                                  | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 drivers/mtd/nand/spi/xtx.c                                         | 129 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/nand/raw/mtk_ecc.h => include/linux/mtd/nand-ecc-mtk.h |   0
 include/linux/mtd/spinand.h                                        |   1 +
 30 files changed, 708 insertions(+), 136 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mtd/elm.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/ti,elm.yaml
 rename drivers/mtd/nand/{raw/mtk_ecc.c => ecc-mtk.c} (98%)
 create mode 100644 drivers/mtd/nand/spi/xtx.c
 rename drivers/mtd/nand/raw/mtk_ecc.h => include/linux/mtd/nand-ecc-mtk.h (100%)



More information about the linux-mtd mailing list