Skip to contentSkip to conversation

mtd: nand: 4.10 materials

GIT PULL Boris Brezillon 2 participants 2 messages Nov 28, 2016 – Dec 1, 2016 1 message not in the archive Memory technology devices (MTD)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · On Sun, 27 Nov 2016 15:44:16 +0100 Boris Brezillon…

Hi Brian,

Here is my PR for 4.10.
As usual, don't hesitate to tell me if there's anything wrong, or fix things after pulling the changes if you think it does not require a new PR.

I realized I forgot to Cc the MTD ML.

Quoted 173 lines

Thanks,

Boris

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

[email protected]:linux-nand/linux.git tags/nand/for-4.10

for you to fetch changes up to 8fcfba072420518fda4b2fe00a3f3c9c3e2774e2:

mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd (2016-11-21 11:55:59 +0100)

----------------------------------------------------------------
This pull request contains the following notable changes:
- new tango NAND controller driver
- new ox820 NAND controller driver
- addition of a new full-ID entry in the nand_ids table
- rework of the s3c240 driver to support DT
- extension of the nand_sdr_timings to expose tCCS, tPROG and tR
- addition of a new flag to ask the core to wait for tCCS when sending a RNDIN/RNDOUT command
- addition of a new flag to ask the core to let the controller driver send the READ/PROGPAGE command

This pull request also contains minor fixes/cleanup/cosmetic changes:
- properly support 512 ECC step size in the sunxi driver
- improve the error messages in the pxa probe path
- fix module autoload in the omap2 driver
- cleanup of several nand drivers to return nand_scan{_tail}() error code instead of returning -EIO
- various cleanups in the denali driver
- cleanups in the ooblayout handling (MTD core)
- fix an error check in nandsim

----------------------------------------------------------------
Boris Brezillon (5):
mtd: nand: sunxi: fix support for 512bytes ECC chunks
mtd: nand: add support for the TC58NVG2S0H chip
mtd: nand: Add a few more timings to nand_sdr_timings
mtd: nand: Wait tCCS after a column change
mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd

Javier Martinez Canillas (1):
mtd: nand: omap2: Fix module autoload

Marc Gonzalez (5):
mtd: nand: add tango NFC dt bindings doc
mtd: nand: add tango NAND flash controller support
mtd: nand: Support controllers with custom page
mtd: nand: tango: Enable custom page accessors
mtd: nand: tango: Cleanup raw_write and raw_read

Masahiro Yamada (38):
mtd: nand: denali_dt: replace clk_disable() with clk_disable_unprepare()
mtd: nand: change return type of nand_get_flash_type() to int
mtd: nand: ams-delta: return error code of nand_scan() on error
mtd: nand: cmx270: return error code of nand_scan() on error
mtd: nand: cs553x: return error code of nand_scan() on error
mtd: nand: gpio: return error code of nand_scan() on error
mtd: nand: mpc5121: return error code of nand_scan() on error
mtd: nand: tmio: return error code of nand_scan() on error
mtd: nand: orion: return error code of nand_scan() on error
mtd: nand: pasemi: return error code of nand_scan() on error
mtd: nand: plat_nand: return error code of nand_scan() on error
mtd: nand: atmel: return error code of nand_scan_ident/tail() on error
mtd: nand: brcmnand: return error code of nand_scan_ident/tail() on error
mtd: nand: fsmc: return error code of nand_scan_ident/tail() on error
mtd: nand: lpc32xx: return error code of nand_scan_ident/tail() on error
mtd: nand: mediatek: return error code of nand_scan_ident/tail() on error
mtd: nand: mxc: return error code of nand_scan_ident/tail() on error
mtd: nand: omap2: return error code of nand_scan_ident/tail() on error
mtd: nand: vf610: return error code of nand_scan_ident/tail() on error
mtd: nand: cafe: return error code of nand_scan_ident() on error
mtd: nand: hisi504: return error code of nand_scan_ident() on error
mtd: nand: pxa3xx: return error code of nand_scan_ident() on error
mtd: nand: nandsim: remove unneeded checks for nand_scan_ident/tail()
mtd: nand: socrates: use nand_scan() for nand_scan_ident/tail() combo
mtd: nand: denali: remove unneeded <linux/slab.h> includes
mtd: nand: denali: remove unused struct member denali_nand_info::idx
mtd: nand: denali: remove bogus comment about interrupt handler setup
mtd: nand: denali: remove detect_partition_feature()
mtd: nand: denali: remove "Spectra:" prefix from printk strings
mtd: nand: denali: remove unused struct member totalblks, blksperchip
mtd: nand: denali: use managed devm_irq_request()
mtd: nand: denali: return error code from devm_request_irq() on error
mtd: nand: denali: return error code from nand_scan_ident/tail on error
mtd: nand: denali: remove unneeded parentheses
mtd: nand: denali: remove debug lines of __FILE__, __LINE__, __func__
mtd: remove unneeded initializer in mtd_ooblayout_{get, set}_bytes()
mtd: use min_t() to refactor mtd_ooblayout_{get, set}_bytes()
mtd: remove unneeded initializer in mtd_ooblayout_count_bytes()

Neil Armstrong (1):
mtd: nand: Add OX820 NAND Support

Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd: s3c2410: parse the device configuration from OF node

Sudip Mukherjee (1):
mtd: nand: nandsim: fix error check

Uwe Kleine-König (1):
mtd: nand: pxa3xx_nand: write exactly one message on probe failure

 .../devicetree/bindings/mtd/oxnas-nand.txt         |  41 ++
 .../devicetree/bindings/mtd/samsung-s3c2410.txt    |  56 ++
 .../devicetree/bindings/mtd/tango-nand.txt         |  38 ++
 arch/arm/mach-s3c24xx/common-smdk.c                |   1 +
 arch/arm/mach-s3c24xx/mach-anubis.c                |   1 +
 arch/arm/mach-s3c24xx/mach-at2440evb.c             |   1 +
 arch/arm/mach-s3c24xx/mach-bast.c                  |   1 +
 arch/arm/mach-s3c24xx/mach-gta02.c                 |   1 +
 arch/arm/mach-s3c24xx/mach-jive.c                  |   1 +
 arch/arm/mach-s3c24xx/mach-mini2440.c              |   1 +
 arch/arm/mach-s3c24xx/mach-osiris.c                |   1 +
 arch/arm/mach-s3c24xx/mach-qt2410.c                |   1 +
 arch/arm/mach-s3c24xx/mach-rx1950.c                |   1 +
 arch/arm/mach-s3c24xx/mach-rx3715.c                |   1 +
 arch/arm/mach-s3c24xx/mach-vstms.c                 |   1 +
 arch/arm/mach-s3c64xx/mach-hmt.c                   |   1 +
 arch/arm/mach-s3c64xx/mach-mini6410.c              |   1 +
 arch/arm/mach-s3c64xx/mach-real6410.c              |   1 +
 drivers/mtd/mtdcore.c                              |  14 +-
 drivers/mtd/nand/Kconfig                           |  21 +-
 drivers/mtd/nand/Makefile                          |   2 +
 drivers/mtd/nand/ams-delta.c                       |   5 +-
 drivers/mtd/nand/atmel_nand.c                      |  10 +-
 drivers/mtd/nand/brcmnand/brcmnand.c               |  10 +-
 drivers/mtd/nand/cafe_nand.c                       |   5 +-
 drivers/mtd/nand/cmx270_nand.c                     |   4 +-
 drivers/mtd/nand/cs553x_nand.c                     |   5 +-
 drivers/mtd/nand/denali.c                          | 101 +---
 drivers/mtd/nand/denali.h                          |  12 -
 drivers/mtd/nand/denali_dt.c                       |   3 +-
 drivers/mtd/nand/denali_pci.c                      |   1 -
 drivers/mtd/nand/fsmc_nand.c                       |   9 +-
 drivers/mtd/nand/gpio.c                            |   5 +-
 drivers/mtd/nand/hisi504_nand.c                    |   4 +-
 drivers/mtd/nand/lpc32xx_mlc.c                     |  10 +-
 drivers/mtd/nand/lpc32xx_slc.c                     |  10 +-
 drivers/mtd/nand/mpc5121_nfc.c                     |   4 +-
 drivers/mtd/nand/mtk_nand.c                        |   4 +-
 drivers/mtd/nand/mxc_nand.c                        |  10 +-
 drivers/mtd/nand/nand_base.c                       |  84 ++-
 drivers/mtd/nand/nand_ids.c                        |   3 +
 drivers/mtd/nand/nand_timings.c                    |  26 +-
 drivers/mtd/nand/nandsim.c                         |  19 +-
 drivers/mtd/nand/omap2.c                           |  10 +-
 drivers/mtd/nand/orion_nand.c                      |   5 +-
 drivers/mtd/nand/oxnas_nand.c                      | 195 ++++++
 drivers/mtd/nand/pasemi_nand.c                     |   5 +-
 drivers/mtd/nand/plat_nand.c                       |   5 +-
 drivers/mtd/nand/pxa3xx_nand.c                     |  22 +-
 drivers/mtd/nand/s3c2410.c                         | 286 ++++++---
 drivers/mtd/nand/socrates_nand.c                   |  12 +-
 drivers/mtd/nand/sunxi_nand.c                      |   4 +
 drivers/mtd/nand/tango_nand.c                      | 668 +++++++++++++++++++++
 drivers/mtd/nand/tmio_nand.c                       |   6 +-
 drivers/mtd/nand/vf610_nfc.c                       |  10 +-
 include/linux/mtd/nand.h                           |  30 +
 include/linux/platform_data/mtd-nand-s3c2410.h     |   7 +-
 57 files changed, 1477 insertions(+), 319 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mtd/oxnas-nand.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/samsung-s3c2410.txt
 create mode 100644 Documentation/devicetree/bindings/mtd/tango-nand.txt
 create mode 100644 drivers/mtd/nand/oxnas_nand.c
 create mode 100644 drivers/mtd/nand/tango_nand.c
#2 lore raw

Hi Boris,

Quoted 5 lines · Boris Brezillon
Quoted 2 lines · On Sun, 27 Nov 2016 15:44:16 +0100 Boris Brezillon…

Hi Brian,

Quoted 47 lines
Quoted 5 lines

Here is my PR for 4.10.
As usual, don't hesitate to tell me if there's anything wrong, or fix things after pulling the changes if you think it does not require a new PR.

I realized I forgot to Cc the MTD ML.

Quoted 39 lines

Thanks,

Boris

The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

[email protected]:linux-nand/linux.git tags/nand/for-4.10

for you to fetch changes up to 8fcfba072420518fda4b2fe00a3f3c9c3e2774e2:

mtd: nand: tango: Use nand_to_mtd() instead of directly accessing chip->mtd (2016-11-21 11:55:59 +0100)

----------------------------------------------------------------
This pull request contains the following notable changes:
- new tango NAND controller driver
- new ox820 NAND controller driver
- addition of a new full-ID entry in the nand_ids table
- rework of the s3c240 driver to support DT
- extension of the nand_sdr_timings to expose tCCS, tPROG and tR
- addition of a new flag to ask the core to wait for tCCS when sending a RNDIN/RNDOUT command
- addition of a new flag to ask the core to let the controller driver send the READ/PROGPAGE command

This pull request also contains minor fixes/cleanup/cosmetic changes:
- properly support 512 ECC step size in the sunxi driver
- improve the error messages in the pxa probe path
- fix module autoload in the omap2 driver
- cleanup of several nand drivers to return nand_scan{_tail}() error code instead of returning -EIO
- various cleanups in the denali driver
- cleanups in the ooblayout handling (MTD core)
- fix an error check in nandsim

----------------------------------------------------------------

I think this all looks good except:

...

Quoted 6 lines
Quoted 6 lines

Marc Gonzalez (5):
mtd: nand: add tango NFC dt bindings doc
mtd: nand: add tango NAND flash controller support
mtd: nand: Support controllers with custom page
mtd: nand: tango: Enable custom page accessors
mtd: nand: tango: Cleanup raw_write and raw_read

this driver was missing a copyright header. Presumably we can get a proper one before the merge window.

Merged the whole thing to l2-mtd.git.

Brian