[GIT PULL] mtd: nand: Changes for 5.13
Miquel Raynal
miquel.raynal at bootlin.com
Tue Apr 13 10:02:49 BST 2021
Hello,
This is the NAND PR for 5.13.
Thanks,
Miquèl
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:
Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/nand/for-5.13
for you to fetch changes up to 32cbc7cb70b07041e82f897f96b3035358470b14:
mtd: rawnand: qcom: Use dma_mapping_error() for error check (2021-04-07 10:07:46 +0200)
----------------------------------------------------------------
MTD core:
* Handle possible -EPROBE_DEFER from parse_mtd_partitions()
NAND core:
* Fix error handling in nand_prog_page_op() (x2)
* Add a helper to retrieve the number of ECC bytes per step
* Add a helper to retrieve the number of ECC steps
* Let ECC engines advertize the exact number of steps
* ECC Hamming:
- Populate the public nsteps field
- Use the public nsteps field
* ECC BCH:
- Populate the public nsteps field
- Use the public nsteps field
Raw NAND core:
* Add support for secure regions in NAND memory
* Try not to use the ECC private structures
* Remove duplicate include in rawnand.h
* BBT:
- Skip bad blocks when searching for the BBT in NAND
Raw NAND controller drivers:
* Qcom:
- Convert bindings to YAML
- Use dma_mapping_error() for error check
- Add missing nand_cleanup() in error path
- Return actual error code instead of -ENODEV
- Update last code word register
- Add helper to configure location register
- Rename parameter name in macro
- Add helper to check last code word
- Convert nandc to chip in Read/Write helper
- Update register macro name for 0x2c offset
* GPMI:
- Fix a double free in gpmi_nand_init
* Rockchip:
- Use flexible-array member instead of zero-length array
* Atmel:
- Update ecc_stats.corrected counter
* MXC:
- Remove unneeded of_match_ptr()
* R852:
- replace spin_lock_irqsave by spin_lock in hard IRQ
* Brcmnand:
- Move to polling in pio mode on oops write
- Read/write oob during EDU transfer
- Fix OOB R/W with Hamming ECC
* FSMC:
- Fix error code in fsmc_nand_probe()
* OMAP:
- Use ECC information from the generic structures
SPI-NAND core:
* Add missing MODULE_DEVICE_TABLE()
SPI-NAND drivers:
* gigadevice: Support GD5F1GQ5UExxG
----------------------------------------------------------------
Alexander Lobakin (1):
mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
Dan Carpenter (1):
mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
Fabio Estevam (1):
mtd: rawnand: mxc: Remove unneeded of_match_ptr()
Kai Stuhlemmer (ebee Engineering) (1):
mtd: rawnand: atmel: Update ecc_stats.corrected counter
Kamal Dasu (2):
mtd: rawnand: brcmnand: read/write oob during EDU transfer
mtd: rawnand: brcmnand: move to polling in pio mode on oops write
Lv Yunlong (1):
mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
Manivannan Sadhasivam (7):
mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
mtd: rawnand: qcom: Return actual error code instead of -ENODEV
dt-bindings: mtd: Convert Qcom NANDc binding to YAML
dt-bindings: mtd: Add a property to declare secure regions in NAND chips
mtd: rawnand: Add support for secure regions in NAND memory
mtd: rawnand: qcom: Add missing nand_cleanup() in error path
mtd: rawnand: qcom: Use dma_mapping_error() for error check
Md Sadre Alam (6):
mtd: rawnand: qcom: Update register macro name for 0x2c offset
mtd: rawnand: qcom: Convert nandc to chip in Read/Write helper
mtd: rawnand: qcom: Add helper to check last code word
mtd: rawnand: qcom: Rename parameter name in macro
mtd: rawnand: qcom: Add helper to configure location register
mtd: rawnand: qcom: update last code word register
Miquel Raynal (9):
mtd: nand: Let ECC engines advertize the exact number of steps
mtd: nand: ecc-bch: Populate the public nsteps field
mtd: nand: ecc-hamming: Populate the public nsteps field
mtd: nand: Add a helper to retrieve the number of ECC steps
mtd: nand: Add a helper to retrieve the number of ECC bytes per step
mtd: rawnand: Try not to use the ECC private structures
mtd: rawnand: omap: Use ECC information from the generic structures
mtd: nand: ecc-bch: Use the public nsteps field
mtd: nand: ecc-hamming: Use the public nsteps field
Reto Schneider (1):
mtd: spinand: gigadevice: Support GD5F1GQ5UExxG
Sascha Hauer (2):
mtd: nand: fix error handling in nand_prog_page_op() #1
mtd: nand: fix error handling in nand_prog_page_op() #2
Stefan Riedmueller (1):
mtd: rawnand: bbt: Skip bad blocks when searching for the BBT in NAND
Tian Tao (1):
mtd: rawnand: r852: replace spin_lock_irqsave by spin_lock in hard IRQ
Zhang Yunkai (1):
mtd: rawnand: remove duplicate include in rawnand.h
Zou Wei (1):
mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
Álvaro Fernández Rojas (1):
mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
Documentation/devicetree/bindings/mtd/nand-controller.yaml | 7 +
Documentation/devicetree/bindings/mtd/qcom,nandc.yaml | 196 ++++++++++++++++++++++++++++
Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 142 --------------------
drivers/mtd/mtdcore.c | 3 +
drivers/mtd/nand/ecc-sw-bch.c | 10 +-
drivers/mtd/nand/ecc-sw-hamming.c | 10 +-
drivers/mtd/nand/raw/atmel/nand-controller.c | 6 +-
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 69 +++++++++-
drivers/mtd/nand/raw/fsmc_nand.c | 2 +
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 2 +-
drivers/mtd/nand/raw/mxc_nand.c | 2 +-
drivers/mtd/nand/raw/nand_base.c | 145 +++++++++++++++++----
drivers/mtd/nand/raw/nand_bbt.c | 5 +
drivers/mtd/nand/raw/omap2.c | 14 +-
drivers/mtd/nand/raw/qcom_nandc.c | 263 +++++++++++++++++++++++---------------
drivers/mtd/nand/raw/r852.c | 5 +-
drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +-
drivers/mtd/nand/spi/core.c | 2 +
drivers/mtd/nand/spi/gigadevice.c | 69 ++++++++--
include/linux/mtd/nand-ecc-sw-bch.h | 2 -
include/linux/mtd/nand-ecc-sw-hamming.h | 2 -
include/linux/mtd/nand.h | 22 ++++
include/linux/mtd/rawnand.h | 15 ++-
23 files changed, 682 insertions(+), 313 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
delete mode 100644 Documentation/devicetree/bindings/mtd/qcom_nandc.txt
More information about the linux-mtd
mailing list