[PATCH v3 0/8] MTD: xway: fix driver

Hauke Mehrtens hauke at hauke-m.de
Sun Jun 19 09:08:09 PDT 2016


Without these patches the driver does not work for me.
Some of these patches are in OpenWrt for years now and should go 
upstream. In addition this converts it from some hack with the 
plat_nand driver to a normal platform driver.

I will try to convert the spinlock to a mutex in a separate patch 
because this affects other parts of the kernel. 

changes since:
v2:
 - reorder patches
 - use of_property_read_u32()
 - rework error handling in xway_nand_probe()
 - simplyfy latched command handling
 - remove xway_reset_chip()
 - remove cast of nandaddr
 - add nandaddr to xway_nand_data
 - add csflags to xway_nand_data

v1:
 - convert to normal platform driver
 - do not use global variable xway_latchcmd
 - use mtd_to_nand()


Hauke Mehrtens (6):
  MTD: xway: add some more documentation
  MTD: xway: convert to normal platform driver
  MTD: xway: use generic reset function
  MTD: xway: extract read and write function
  MTD: xway: add nandaddr to own struct
  MTD: xway: add missing write_buf and read_buf to nand driver

John Crispin (2):
  MTD: xway: the latched command should be persistent
  MTD: xway: fix nand locking

 drivers/mtd/nand/Kconfig     |   1 -
 drivers/mtd/nand/xway_nand.c | 224 +++++++++++++++++++++++++++----------------
 2 files changed, 140 insertions(+), 85 deletions(-)

-- 
2.8.1




More information about the linux-mtd mailing list