[PATCH 00/13] mtd: nand: fsmc: fixes, improvements and cleanups

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 21 03:03:52 PDT 2017


Hello,

This patch series brings a number of fixes, improvements and cleanups
to the fsmc MTD NAND driver.

The first patch is really a fix for the NAND bus width selection
through the Device Tree, which was broken since the Device Tree
support was added in the driver.

The next two patches add support for configuring the NAND controller
timings according to the connected NAND chip automatically.

The remaining patches are basically cleanups, removing useless code
and logic from the driver.

This patch series is based on v4.11-rc1.

Best regards,

Thomas

Thomas Petazzoni (13):
  mtd: nand: fsmc: fix NAND width handling
  mtd: nand: fsmc: rework fsmc_nand_setup() to use
    ->setup_data_interface()
  mtd: nand: fsmc: add support to use NAND timings
  mtd: nand: fsmc: move fsmc_nand_data definition
  mtd: nand: fsmc: remove ->select_bank() from fsmc_nand_platform_data
  mtd: nand: fsmc: remove fsmc_select_chip()
  mtd: nand: fmsc: kill {read,write}_dma_priv from
    fsmc_nand_platform_data
  mtd: nand: fsmc: kill {nr_,}partitions structure fields
  mtd: nand: fsmc: remove duplicate nand_set_flash_node()
  mtd: nand: fsmc: finally remove fsmc_nand_platform_data
  mtd: nand: fsmc: use devm_clk_get()
  mtd: nand: fsmc: remove unused definitions
  mtd: nand: fsmc: remove CONFIG_OF conditional

 drivers/mtd/nand/fsmc_nand.c | 342 ++++++++++++++++++++-----------------------
 1 file changed, 156 insertions(+), 186 deletions(-)

-- 
2.7.4




More information about the linux-mtd mailing list