[GIT PULL] mtd: nand: Changes for 6.6-rc1

Miquel Raynal miquel.raynal at bootlin.com
Mon Aug 28 02:13:16 PDT 2023


Hello,

This is the NAND PR for 6.6-rc1.

Thanks,
Miquèl

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b9283ac01a277e73111dbd06d1974ace30e40f16:

  dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes (2023-08-28 08:38:04 +0200)

----------------------------------------------------------------
Raw NAND core changes:
* Fix -Wvoid-pointer-to-enum-cast warning
* Export 'nand_exit_status_op()'
* dt-bindings: Fix nand-controller.yaml license

Raw NAND controller driver changes:
* Omap, Omap2, Samsung, Atmel, fsl_upm, lpc32xx_slc, lpc32xx_mlc, STM32_FMC2,
  sh_ftlctl, MXC, Sunxi:
  - Use devm_platform_get_and_ioremap_resource()
* Orion, vf610_nfc, Sunxi, STM32_FMC2, MTK, mpc5121, lpc32xx_slc, Intel,
  FSMC, Arasan:
  - Use helper function devm_clk_get_optional_enabled()
* Brcmnand:
  - Use devm_platform_ioremap_resource_byname()
  - Propagate init error -EPROBE_DEFER up
  - Propagate error and simplify ternary operators
  - Fix mtd oobsize
  - Fix potential out-of-bounds access in oob write
  - Fix crash during the panic_write
  - Fix potential false time out warning
  - Fix ECC level field setting for v7.2 controller
* fsmc: Handle clk prepare error in fsmc_nand_resume()
* Marvell: Add support for AC5 SoC
* Meson:
  - Support for 512B ECC step size
  - Fix build error
  - Use NAND core API to check status
  - dt-bindings:
    * Make ECC properties dependent
    * Support for 512B ECC step size
    * Drop unneeded quotes
* Oxnas: Remove driver and bindings
* Qcom:
  - Conversion to ->exec_op()
  - Removal of the legacy interface
  - Two full series of improvements/misc fixes
    * Use the BIT() macro
    * Use u8 instead of uint8_t
    * Fix alignment with open parenthesis
    * Fix the spacing
    * Fix wrong indentation
    * Fix a typo
    * Early structure initialization
    * Fix address parsing within ->exec_op()
    * Remove superfluous initialization of "ret"
    * Rename variables in qcom_op_cmd_mapping()
    * Handle unsupported opcode in qcom_op_cmd_mapping()
    * Fix the opcode check in qcom_check_op()
    * Use EOPNOTSUPP instead of ENOTSUPP
    * Wrap qcom_nand_exec_op() to 80 columns
    * Unmap sg_list and free desc within submic_descs()
    * Simplify the call to nand_prog_page_end_op()
    * Do not override the error no of submit_descs()
    * Sort includes alphabetically
    * Clear buf_count and buf_start in raw read
    * Add read/read_start ops in exec_op path
* vf610_nfc: Do not check 0 for platform_get_irq()

SPI-NAND changes:
* gigadevice: Add support for GD5F1GQ{4,5}RExxH
* esmt: Add support for F50D2G41KA
* toshiba: Add support for T{C,H}58NYG{0,2}S3HBAI4 and TH58NYG3S0HBAI6

----------------------------------------------------------------
Arseniy Krasnov (6):
      mtd: rawnand: export 'nand_exit_status_op()'
      mtd: rawnand: meson: use NAND core API to check status
      dt-bindings: nand: meson: support for 512B ECC step size
      dt-bindings: nand: meson: make ECC properties dependent
      mtd: rawnand: meson: support for 512B ECC step size
      mtd: rawnand: meson: fix build error

Chris Packham (2):
      dt-bindings: mtd: Add AC5 specific binding
      mtd: rawnand: marvell: add support for AC5 SoC

Justin Stitt (1):
      mtd: rawnand: fix -Wvoid-pointer-to-enum-cast warning

Krzysztof Kozlowski (1):
      dt-bindings: mtd: amlogic,meson-nand: drop unneeded quotes

Li Zetao (11):
      mtd: rawnand: brcmnand: Use devm_platform_ioremap_resource_byname()
      mtd: rawnand: arasan: Use helper function devm_clk_get_enabled()
      mtd: rawnand: fsmc: Use helper function devm_clk_get_enabled()
      mtd: rawnand: intel: Use helper function devm_clk_get_enabled()
      mtd: rawnand: lpc32xx_slc: Use helper function devm_clk_get_enabled()
      mtd: rawnand: mpc5121: Use helper function devm_clk_get_enabled()
      mtd: rawnand: mtk: Use helper function devm_clk_get_enabled()
      mtd: rawnand: stm32_fmc2: Use helper function devm_clk_get_enabled()
      mtd: rawnand: sunxi: Use helper function devm_clk_get_enabled()
      mtd: rawnand: vf610_nfc: Use helper function devm_clk_get_enabled()
      mtd: rawnand: orion: Use helper function devm_clk_get_optional_enabled()

Manivannan Sadhasivam (10):
      mtd: rawnand: qcom: Remove superfluous initialization of "ret"
      mtd: rawnand: qcom: Rename variables in qcom_op_cmd_mapping()
      mtd: rawnand: qcom: Handle unsupported opcode in qcom_op_cmd_mapping()
      mtd: rawnand: qcom: Fix the opcode check in qcom_check_op()
      mtd: rawnand: qcom: Use EOPNOTSUPP instead of ENOTSUPP
      mtd: rawnand: qcom: Wrap qcom_nand_exec_op() to 80 columns
      mtd: rawnand: qcom: Unmap sg_list and free desc within submic_descs()
      mtd: rawnand: qcom: Simplify the call to nand_prog_page_end_op()
      mtd: rawnand: qcom: Do not override the error no of submit_descs()
      mtd: rawnand: qcom: Sort includes alphabetically

Md Sadre Alam (3):
      mtd: rawnand: qcom: Implement exec_op()
      mtd: rawnand: qcom: Remove legacy interface
      mtd: rawnand: qcom: Clear buf_count and buf_start in raw read

Miquel Raynal (9):
      dt-bindings: mtd: Fix nand-controller.yaml license
      mtd: rawnand: qcom: Use the BIT() macro
      mtd: rawnand: qcom: Use u8 instead of uint8_t
      mtd: rawnand: qcom: Fix alignment with open parenthesis
      mtd: rawnand: qcom: Fix the spacing
      mtd: rawnand: qcom: Fix wrong indentation
      mtd: rawnand: qcom: Fix a typo
      mtd: rawnand: qcom: Early structure initialization
      mtd: rawnand: qcom: Fix address parsing within ->exec_op()

Neil Armstrong (2):
      nand: oxnas_nand: remove obsolete raw nand driver
      dt-bindings: mtd: oxnas-nand: remove obsolete bindings

Rafał Miłecki (1):
      mtd: rawnand: brcmnand: propagate init error -EPROBE_DEFER up

Ruan Jinjie (1):
      mtd: rawnand: Propagate error and simplify ternary operators for brcmstb_nand_wait_for_completion()

Sricharan Ramabadhran (1):
      mtd: rawnand: qcom: Add read/read_start ops in exec_op path

Sridharan S N (3):
      mtd: spinand: gigadevice: add support for GD5F1GQ{4,5}RExxH
      mtd: spinand: esmt: add support for F50D2G41KA
      mtd: spinand: toshiba: add support for T{C,H}58NYG{0,2}S3HBAI4 and TH58NYG3S0HBAI6

William Zhang (5):
      mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
      mtd: rawnand: brcmnand: Fix potential false time out warning
      mtd: rawnand: brcmnand: Fix crash during the panic_write
      mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
      mtd: rawnand: brcmnand: Fix mtd oobsize

Yangtao Li (11):
      mtd: rawnand: sunxi: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: lpc32xx_slc: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: mxc: Convert to devm_platform_ioremap_resource()
      mtd: rawnand: sh_flctl: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: omap2: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: stm32_fmc2: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: lpc32xx_mlc: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: fsl_upm: Use devm_platform_get_and_ioremap_resource()
      mtd: rawnand: atmel: Use devm_platform_get_and_ioremap_resource()
      mtd: nand: samsung: Convert to devm_platform_ioremap_resource() and devm_platform_get_and_ioremap_resource()
      mtd: nand: omap: Use devm_platform_get_and_ioremap_resource()

Yi Yang (1):
      mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()

Zhu Wang (1):
      mtd: rawnand: vf610_nfc: Do not check 0 for platform_get_irq()

 Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml      |    6 +-
 Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml |    1 +
 Documentation/devicetree/bindings/mtd/nand-controller.yaml         |    2 +-
 Documentation/devicetree/bindings/mtd/oxnas-nand.txt               |   41 ------
 drivers/mtd/nand/onenand/onenand_omap2.c                           |   10 +-
 drivers/mtd/nand/onenand/onenand_samsung.c                         |    9 +-
 drivers/mtd/nand/raw/Kconfig                                       |    9 +-
 drivers/mtd/nand/raw/Makefile                                      |    1 -
 drivers/mtd/nand/raw/arasan-nand-controller.c                      |   29 +---
 drivers/mtd/nand/raw/atmel/nand-controller.c                       |    3 +-
 drivers/mtd/nand/raw/brcmnand/bcm63138_nand.c                      |    4 +-
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                           |  130 ++++++++++++------
 drivers/mtd/nand/raw/brcmnand/iproc_nand.c                         |    7 +-
 drivers/mtd/nand/raw/fsl_upm.c                                     |    3 +-
 drivers/mtd/nand/raw/fsmc_nand.c                                   |   19 ++-
 drivers/mtd/nand/raw/intel-nand-controller.c                       |   15 +--
 drivers/mtd/nand/raw/lpc32xx_mlc.c                                 |    3 +-
 drivers/mtd/nand/raw/lpc32xx_slc.c                                 |   15 +--
 drivers/mtd/nand/raw/marvell_nand.c                                |   16 +++
 drivers/mtd/nand/raw/meson_nand.c                                  |   71 ++++++----
 drivers/mtd/nand/raw/mpc5121_nfc.c                                 |   11 +-
 drivers/mtd/nand/raw/mtk_nand.c                                    |   62 +++------
 drivers/mtd/nand/raw/mxc_nand.c                                    |    9 +-
 drivers/mtd/nand/raw/nand_base.c                                   |    1 +
 drivers/mtd/nand/raw/omap2.c                                       |    3 +-
 drivers/mtd/nand/raw/orion_nand.c                                  |   22 +--
 drivers/mtd/nand/raw/oxnas_nand.c                                  |  209 ----------------------------
 drivers/mtd/nand/raw/qcom_nandc.c                                  | 1001 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------
 drivers/mtd/nand/raw/sh_flctl.c                                    |    3 +-
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                             |   21 +--
 drivers/mtd/nand/raw/sunxi_nand.c                                  |   32 +----
 drivers/mtd/nand/raw/vf610_nfc.c                                   |   35 ++---
 drivers/mtd/nand/spi/esmt.c                                        |    9 ++
 drivers/mtd/nand/spi/gigadevice.c                                  |   20 +++
 drivers/mtd/nand/spi/toshiba.c                                     |   33 +++++
 include/linux/mtd/rawnand.h                                        |    1 +
 36 files changed, 878 insertions(+), 988 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mtd/oxnas-nand.txt
 delete mode 100644 drivers/mtd/nand/raw/oxnas_nand.c



More information about the linux-mtd mailing list