Skip to contentSkip to conversation

mtd: nand: Changes for 5.18

GIT PULL Miquel Raynal 1 participant 2 messages Mar 18, 2022 – Mar 23, 2022 Memory technology devices (MTD)

lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello,

This is the NAND PR for 5.18.

Thanks,
Miquèl

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

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

for you to fetch changes up to fecbd4a317c95d73c849648c406bcf1b6a0ec1cf:

mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init (2022-03-14 16:58:41 +0100)

----------------------------------------------------------------
Raw NAND core changes:
* Rework of_get_nand_bus_width()
* Remove of_get_nand_on_flash_bbt() wrapper
* Protect access to rawnand devices while in suspend
* bindings: Document the wp-gpios property

Rax NAND controller driver changes:
* atmel: Fix refcount issue in atmel_nand_controller_init
* nandsim:
- Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern
- Merge repeat codes in ns_switch_state
- Replace overflow check with kzalloc to single kcalloc
* rockchip: Fix platform_get_irq.cocci warning
* stm32_fmc2: Add NAND Write Protect support
* pl353: Set the nand chip node as the flash node
* brcmnand: Fix sparse warnings in bcma_nand
* omap_elm: Remove redundant variable 'errors'
* gpmi:
- Support fast edo timings for mx28
- Validate controller clock rate
- Fix controller timings setting
* brcmnand:
- Add BCMA shim
- BCMA controller uses command shift of 0
- Allow platform data instantation
- Add platform data structure for BCMA
- Allow working without interrupts
- Move OF operations out of brcmnand_init_cs()
- Avoid pdev in brcmnand_init_cs()
- Allow SoC to provide I/O operations
- Assign soc as early as possible

Onenand changes:
* Check for error irq

----------------------------------------------------------------
Amit Kumar Mahapatra (1):
mtd: rawnand: pl353: Set the nand chip node as the flash node

Christophe Kerello (2):
dt-binding: mtd: nand: Document the wp-gpios property
mtd: rawnand: stm32_fmc2: Add NAND Write Protect support

Colin Ian King (1):
mtd: rawnand: omap_elm: remove redundant variable 'errors'

Dario Binacchi (3):
mtd: rawnand: gpmi: fix controller timings setting
mtd: rawnand: gpmi: validate controller clock rate
mtd: rawnand: gpmi: support fast edo timings for mx28

Florian Fainelli (10):
mtd: rawnand: brcmnand: Assign soc as early as possible
mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
mtd: rawnand: brcmnand: Avoid pdev in brcmnand_init_cs()
mtd: rawnand: brcmnand: Move OF operations out of brcmnand_init_cs()
mtd: rawnand: brcmnand: Allow working without interrupts
mtd: rawnand: brcmnand: Add platform data structure for BCMA
mtd: rawnand: brcmnand: Allow platform data instantation
mtd: rawnand: brcmnand: BCMA controller uses command shift of 0
mtd: rawnand: brcmnand: Add BCMA shim
mtd: rawnand: brcmnand: Fix sparse warnings in bcma_nand

Jiasheng Jiang (1):
mtd: onenand: Check for error irq

RinHizakura (3):
mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc
mtd: rawnand: nandsim: Merge repeat codes in ns_switch_state
mtd: rawnand: nandsim: Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern

Sean Nyekjaer (1):
mtd: rawnand: protect access to rawnand devices while in suspend

Tudor Ambarus (2):
mtd: rawnand: Remove of_get_nand_on_flash_bbt() wrapper
mtd: rawnand: Rework of_get_nand_bus_width()

Xin Xiong (1):
mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init

Yihao Han (1):
mtd: rawnand: rockchip: fix platform_get_irq.cocci warning

 .../devicetree/bindings/mtd/nand-controller.yaml        |   7 +
 MAINTAINERS                                             |   1 +
 drivers/bcma/driver_chipcommon_nflash.c                 |  20 ++-
 drivers/mtd/nand/onenand/generic.c                      |   7 +-
 drivers/mtd/nand/raw/Kconfig                            |  13 ++
 drivers/mtd/nand/raw/atmel/nand-controller.c            |  14 +-
 drivers/mtd/nand/raw/brcmnand/Makefile                  |   2 +
 drivers/mtd/nand/raw/brcmnand/bcma_nand.c               | 132 +++++++++++++++++++
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                | 160 +++++++++++++++--------
 drivers/mtd/nand/raw/brcmnand/brcmnand.h                |  29 ++++
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c              |  27 +++-
 drivers/mtd/nand/raw/nand_base.c                        |  81 ++++++------
 drivers/mtd/nand/raw/nandsim.c                          |  47 +++----
 drivers/mtd/nand/raw/omap_elm.c                         |   4 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c            |   2 +-
 drivers/mtd/nand/raw/rockchip-nand-controller.c         |   1 -
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                  |  40 +++++-
 include/linux/bcma/bcma_driver_chipcommon.h             |   5 +
 include/linux/mtd/rawnand.h                             |   2 +
 include/linux/platform_data/brcmnand.h                  |  12 ++
 20 files changed, 467 insertions(+), 139 deletions(-)
 create mode 100644 drivers/mtd/nand/raw/brcmnand/bcma_nand.c
 create mode 100644 include/linux/platform_data/brcmnand.h

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

author maintainer
#1 lore raw

[email protected] wrote on Fri, 18 Mar 2022 20:34:07 +0100:

Quoted 12 lines

Hello,

This is the NAND PR for 5.18.

Thanks,
Miquèl

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

Quoted 7 lines

are available in the Git repository at:

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

for you to fetch changes up to fecbd4a317c95d73c849648c406bcf1b6a0ec1cf:

mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init (2022-03-14 16:58:41 +0100)

Pulled into mtd/next.

Quoted 110 lines

----------------------------------------------------------------
Raw NAND core changes:
* Rework of_get_nand_bus_width()
* Remove of_get_nand_on_flash_bbt() wrapper
* Protect access to rawnand devices while in suspend
* bindings: Document the wp-gpios property

Rax NAND controller driver changes:
* atmel: Fix refcount issue in atmel_nand_controller_init
* nandsim:
- Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern
- Merge repeat codes in ns_switch_state
- Replace overflow check with kzalloc to single kcalloc
* rockchip: Fix platform_get_irq.cocci warning
* stm32_fmc2: Add NAND Write Protect support
* pl353: Set the nand chip node as the flash node
* brcmnand: Fix sparse warnings in bcma_nand
* omap_elm: Remove redundant variable 'errors'
* gpmi:
- Support fast edo timings for mx28
- Validate controller clock rate
- Fix controller timings setting
* brcmnand:
- Add BCMA shim
- BCMA controller uses command shift of 0
- Allow platform data instantation
- Add platform data structure for BCMA
- Allow working without interrupts
- Move OF operations out of brcmnand_init_cs()
- Avoid pdev in brcmnand_init_cs()
- Allow SoC to provide I/O operations
- Assign soc as early as possible

Onenand changes:
* Check for error irq

----------------------------------------------------------------
Amit Kumar Mahapatra (1):
mtd: rawnand: pl353: Set the nand chip node as the flash node

Christophe Kerello (2):
dt-binding: mtd: nand: Document the wp-gpios property
mtd: rawnand: stm32_fmc2: Add NAND Write Protect support

Colin Ian King (1):
mtd: rawnand: omap_elm: remove redundant variable 'errors'

Dario Binacchi (3):
mtd: rawnand: gpmi: fix controller timings setting
mtd: rawnand: gpmi: validate controller clock rate
mtd: rawnand: gpmi: support fast edo timings for mx28

Florian Fainelli (10):
mtd: rawnand: brcmnand: Assign soc as early as possible
mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
mtd: rawnand: brcmnand: Avoid pdev in brcmnand_init_cs()
mtd: rawnand: brcmnand: Move OF operations out of brcmnand_init_cs()
mtd: rawnand: brcmnand: Allow working without interrupts
mtd: rawnand: brcmnand: Add platform data structure for BCMA
mtd: rawnand: brcmnand: Allow platform data instantation
mtd: rawnand: brcmnand: BCMA controller uses command shift of 0
mtd: rawnand: brcmnand: Add BCMA shim
mtd: rawnand: brcmnand: Fix sparse warnings in bcma_nand

Jiasheng Jiang (1):
mtd: onenand: Check for error irq

RinHizakura (3):
mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc
mtd: rawnand: nandsim: Merge repeat codes in ns_switch_state
mtd: rawnand: nandsim: Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern

Sean Nyekjaer (1):
mtd: rawnand: protect access to rawnand devices while in suspend

Tudor Ambarus (2):
mtd: rawnand: Remove of_get_nand_on_flash_bbt() wrapper
mtd: rawnand: Rework of_get_nand_bus_width()

Xin Xiong (1):
mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init

Yihao Han (1):
mtd: rawnand: rockchip: fix platform_get_irq.cocci warning

 .../devicetree/bindings/mtd/nand-controller.yaml        |   7 +
 MAINTAINERS                                             |   1 +
 drivers/bcma/driver_chipcommon_nflash.c                 |  20 ++-
 drivers/mtd/nand/onenand/generic.c                      |   7 +-
 drivers/mtd/nand/raw/Kconfig                            |  13 ++
 drivers/mtd/nand/raw/atmel/nand-controller.c            |  14 +-
 drivers/mtd/nand/raw/brcmnand/Makefile                  |   2 +
 drivers/mtd/nand/raw/brcmnand/bcma_nand.c               | 132 +++++++++++++++++++
 drivers/mtd/nand/raw/brcmnand/brcmnand.c                | 160 +++++++++++++++--------
 drivers/mtd/nand/raw/brcmnand/brcmnand.h                |  29 ++++
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c              |  27 +++-
 drivers/mtd/nand/raw/nand_base.c                        |  81 ++++++------
 drivers/mtd/nand/raw/nandsim.c                          |  47 +++----
 drivers/mtd/nand/raw/omap_elm.c                         |   4 +-
 drivers/mtd/nand/raw/pl35x-nand-controller.c            |   2 +-
 drivers/mtd/nand/raw/rockchip-nand-controller.c         |   1 -
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                  |  40 +++++-
 include/linux/bcma/bcma_driver_chipcommon.h             |   5 +
 include/linux/mtd/rawnand.h                             |   2 +
 include/linux/platform_data/brcmnand.h                  |  12 ++
 20 files changed, 467 insertions(+), 139 deletions(-)
 create mode 100644 drivers/mtd/nand/raw/brcmnand/bcma_nand.c
 create mode 100644 include/linux/platform_data/brcmnand.h
Quoted 3 lines

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/