[GIT PULL] mtd: nand: Changes for 5.9

Miquel Raynal miquel.raynal at bootlin.com
Fri Aug 7 02:27:47 EDT 2020


Hello,

This is the NAND PR for 5.9.

Thanks,
Miquèl

The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:

  Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)

are available in the Git repository at:

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

for you to fetch changes up to da151e3458c825fa9d57c2db6e37748166e4d129:

  dt-bindings: mtd: fsl-upm-nand: Deprecate chip-delay and fsl, upm-wait-flags (2020-07-07 21:03:44 +0200)

----------------------------------------------------------------
Core changes:
* Drop useless 'depends on' in Kconfig
* Add an extra level in the Kconfig hierarchy
* Trivial spellings
* Dynamic allocation of the interface configurations
* Dropping the default ONFI timing mode
* Various cleanup (types, structures, naming, comments)
* Hide the chip->data_interface indirection
* Add the generic rb-gpios property
* Add the ->choose_interface_config() hook
* Introduce nand_choose_best_sdr_timings()
* Use default values for tPROG_max and tBERS_max
* Avoid redefining tR_max and tCCS_min
* Add a helper to find the closest ONFI mode
* bcm63xx MTD parsers: simplify CFE detection

Raw NAND controller drivers changes:
* fsl-upm: Deprecation of specific DT properties
* fsl_upm: Driver rework and cleanup in favor of ->exec_op()
* Ingenic: Cleanup ARRAY_SIZE() vs sizeof() use
* brcmnand: ECC error handling on EDU transfers
* brcmnand: Don't default to EDU transfers
* qcom: Set BAM mode only if not set already
* qcom: Avoid write to unavailable register
* gpio: Driver rework in favor of ->exec_op()
* tango: ->exec_op() conversion
* mtk: ->exec_op() conversion

Raw NAND chip drivers changes:
* toshiba: Implement ->choose_interface_config() for TH58NVG2S3HBAI4
* toshiba: Implement ->choose_interface_config() for TC58NVG0S3E
* toshiba: Implement ->choose_interface_config() for TC58TEG5DCLTA00
* hynix: Implement ->choose_interface_config() for H27UCG8T2ATR-BC

----------------------------------------------------------------
Boris Brezillon (16):
      mtd: rawnand: mtk: Convert the driver to exec_op()
      mtd: rawnand: tango: Convert the driver to exec_op()
      dt-bindings: mtd: nand: Document the generic rb-gpios property
      mtd: rawnand: fsl_upm: Remove unused mtd var
      mtd: rawnand: fsl_upm: Get rid of the unused fsl_upm_nand.parts field
      mtd: rawnand: fsl_upm: Allocate the fsl_upm_nand object using devm_kzalloc()
      mtd: rawnand: fsl_upm: Use devm_kasprintf() to allocate the MTD name
      mtd: rawnand: fsl_upm: Use platform_get_resource() + devm_ioremap_resource()
      mtd: rawnand: fsl_upm: Use gpio descriptors
      mtd: rawnand: fsl_upm: Inherit from nand_controller
      mtd: rawnand: fsl_upm: Implement exec_op()
      mtd: rawnand: fsl_upm: Get rid of the legacy interface implementation
      mtd: rawnand: gpio: Inherit from nand_controller
      mtd: rawnand: gpio: Implement exec_op()
      mtd: rawnand: gpio: Get rid of the legacy interface implementation
      dt-bindings: mtd: fsl-upm-nand: Deprecate chip-delay and fsl, upm-wait-flags

Dan Carpenter (1):
      mtd: rawnand: ingenic: cleanup ARRAY_SIZE() vs sizeof() use

Kamal Dasu (2):
      mtd: rawnand: brcmnand: Don't default to edu transfer
      mtd: rawnand: brcmnand: ECC error handling on EDU transfers

Kieran Bingham (1):
      mtd: rawnand: trivial spelling

Miquel Raynal (31):
      mtd: nand: Move nand_device forward declaration to the top
      mtd: nand: Add an extra level in the Kconfig hierarchy
      mtd: nand: Drop useless 'depends on' in Kconfig
      mtd: nand: Rename a core structure
      mtd: rawnand: Use unsigned types for nand_chip unsigned values
      mtd: rawnand: Only use u8 instead of uint8_t in nand_chip structure
      mtd: rawnand: Create a nand_chip operations structure
      mtd: rawnand: Rename the manufacturer structure
      mtd: rawnand: Declare the nand_manufacturer structure out of nand_chip
      mtd: rawnand: Reorganize the nand_chip structure
      mtd: rawnand: Compare the actual timing values
      mtd: rawnand: Use the data interface mode entry when relevant
      mtd: rawnand: Rename nand_has_setup_data_iface()
      mtd: rawnand: Fix nand_setup_data_interface() description
      mtd: rawnand: Rename nand_init_data_interface()
      mtd: rawnand: timings: Update onfi_fill_data_interface() kernel doc
      mtd: rawnand: timings: Provide onfi_fill_data_interface() with a data interface
      mtd: rawnand: timings: onfi_fill_data_interface timing mode is unsigned
      mtd: rawnand: timings: Add a helper to find the closest ONFI mode
      mtd: rawnand: timings: Avoid redefining tR_max and tCCS_min
      mtd: rawnand: timings: Use default values for tPROG_max and tBERS_max
      mtd: rawnand: Hide the chip->data_interface indirection
      mtd: rawnand: s/data_interface/interface_config/
      mtd: rawnand: timings: Make onfi_fill_interface_config() a void helper
      mtd: rawnand: Introduce nand_choose_best_sdr_timings()
      mtd: rawnand: Add the ->choose_interface_config() hook
      mtd: rawnand: toshiba: Implement ->choose_interface_config() for TC58TEG5DCLTA00
      mtd: rawnand: toshiba: Implement ->choose_interface_config() for TC58NVG0S3E
      mtd: rawnand: hynix: Implement ->choose_interface_config() for H27UCG8T2ATR-BC
      mtd: rawnand: Get rid of the default ONFI timing mode
      mtd: rawnand: Allocate the interface configurations dynamically

Rickard x Andersson (1):
      mtd: rawnand: toshiba: Choose the interface configuration for TH58NVG2S3HBAI4

Sivaprakash Murugesan (2):
      mtd: rawnand: qcom: avoid write to unavailable register
      mtd: rawnand: qcom: set BAM mode only if not set already

Álvaro Fernández Rojas (1):
      mtd: parsers: bcm63xx: simplify CFE detection

 Documentation/devicetree/bindings/mtd/fsl-upm-nand.txt  |  10 +-
 .../devicetree/bindings/mtd/nand-controller.yaml        |   7 +
 drivers/mtd/nand/Kconfig                                |   5 +
 drivers/mtd/nand/onenand/Kconfig                        |   1 -
 drivers/mtd/nand/raw/Kconfig                            |   1 -
 drivers/mtd/nand/raw/ams-delta.c                        |   6 +-
 drivers/mtd/nand/raw/arasan-nand-controller.c           |   6 +-
 drivers/mtd/nand/raw/atmel/nand-controller.c            |  34 +--
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                |  31 ++-
 drivers/mtd/nand/raw/cadence-nand-controller.c          |   6 +-
 drivers/mtd/nand/raw/denali.c                           |   8 +-
 drivers/mtd/nand/raw/fsl_upm.c                          | 311 ++++++++---------------
 drivers/mtd/nand/raw/fsmc_nand.c                        |   6 +-
 drivers/mtd/nand/raw/gpio.c                             | 112 ++++++--
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c              |   6 +-
 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c               |   4 +-
 drivers/mtd/nand/raw/internals.h                        |  23 +-
 drivers/mtd/nand/raw/marvell_nand.c                     |  18 +-
 drivers/mtd/nand/raw/meson_nand.c                       |  14 +-
 drivers/mtd/nand/raw/mtk_nand.c                         | 122 +++++----
 drivers/mtd/nand/raw/mxc_nand.c                         |  22 +-
 drivers/mtd/nand/raw/mxic_nand.c                        |   6 +-
 drivers/mtd/nand/raw/nand_base.c                        | 279 +++++++++++---------
 drivers/mtd/nand/raw/nand_bbt.c                         |   2 +-
 drivers/mtd/nand/raw/nand_hynix.c                       |  16 +-
 drivers/mtd/nand/raw/nand_ids.c                         |  24 +-
 drivers/mtd/nand/raw/nand_legacy.c                      |   7 +-
 drivers/mtd/nand/raw/nand_macronix.c                    |  10 +-
 drivers/mtd/nand/raw/nand_micron.c                      |   2 +-
 drivers/mtd/nand/raw/nand_timings.c                     | 116 ++++++---
 drivers/mtd/nand/raw/nand_toshiba.c                     |  72 +++++-
 drivers/mtd/nand/raw/qcom_nandc.c                       |  18 +-
 drivers/mtd/nand/raw/s3c2410.c                          |   6 +-
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                  |   6 +-
 drivers/mtd/nand/raw/sunxi_nand.c                       |   6 +-
 drivers/mtd/nand/raw/tango_nand.c                       | 149 ++++++-----
 drivers/mtd/nand/raw/tegra_nand.c                       |   6 +-
 drivers/mtd/parsers/bcm63xxpart.c                       |  32 +--
 include/linux/mtd/nand.h                                |  12 +-
 include/linux/mtd/rawnand.h                             | 267 +++++++++----------
 include/linux/mtd/spinand.h                             |   2 +-
 41 files changed, 1031 insertions(+), 760 deletions(-)



More information about the linux-mtd mailing list