All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] mtd: add support for the dual-die stack parallel NOR
@ 2018-02-21 19:32 ` Bean Huo
  0 siblings, 0 replies; 2+ messages in thread
From: Bean Huo @ 2018-02-21 19:32 UTC (permalink / raw)
  To: dwmw2, computersforpeace, boris.brezillon, marek.vasut, richard,
	cyrille.pitchen, robh+dt, mark.rutland, linux-mtd, devicetree
  Cc: beanhuo

From: beanhuo <beanhuo@micron.com>

The dual-die stacked parallel NOR flash comprises the two identical dies
in parallel. the second/upper die should be selected through its unlock
cycle command addresses, maximum address line A[max]. when the 
A[max] == 1, the second/upper die is activated, when  A[max] == 0, the 
first/lower die is activated.
Because CFI table doesn't exist one entry that can tell us this is a dual
die device, I only add this information in the devicetree binding.

This patch now will update following funcitons:
otp_enter()
otp_exit()
do_write_oneword()
do_write_buffer()
do_panic_write_oneword()
do_erase_oneblock()
do_ppb_xxlock()

For the Micron dual-die stacked PNOR,since there are two dies now,
the following functions need to be changed, but not in this series
patch. Because I am not 100% sure if other parallel NOR vendors'
dual-die stacked PNOR need, still studying.
do_otp_lock()
cfi_amdstd_otp_walk()
do_erase_chip()

beanhuo (3):
  mtd: physmap: add dual die entry in devicetree binding
  mtd: probe: probe dual die entry from devicetree binding
  drivers: mtd: chips: add support for the dual die stacked PNOR

 .../devicetree/bindings/mtd/mtd-physmap.txt        |   2 +
 drivers/mtd/chips/cfi_cmdset_0002.c                | 144 ++++++++++++++++-----
 drivers/mtd/chips/cfi_probe.c                      |   7 +
 include/linux/mtd/cfi.h                            |   8 ++
 4 files changed, 130 insertions(+), 31 deletions(-)

-- 
2.7.4


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v1 0/3] mtd: add support for the dual-die stack parallel NOR
@ 2018-02-21 19:32 ` Bean Huo
  0 siblings, 0 replies; 2+ messages in thread
From: Bean Huo @ 2018-02-21 19:32 UTC (permalink / raw)
  To: dwmw2, computersforpeace, boris.brezillon, marek.vasut, richard,
	cyrille.pitchen, robh+dt, mark.rutland, linux-mtd, devicetree
  Cc: beanhuo

From: beanhuo <beanhuo@micron.com>

The dual-die stacked parallel NOR flash comprises the two identical dies
in parallel. the second/upper die should be selected through its unlock
cycle command addresses, maximum address line A[max]. when the 
A[max] == 1, the second/upper die is activated, when  A[max] == 0, the 
first/lower die is activated.
Because CFI table doesn't exist one entry that can tell us this is a dual
die device, I only add this information in the devicetree binding.

This patch now will update following funcitons:
otp_enter()
otp_exit()
do_write_oneword()
do_write_buffer()
do_panic_write_oneword()
do_erase_oneblock()
do_ppb_xxlock()

For the Micron dual-die stacked PNOR,since there are two dies now,
the following functions need to be changed, but not in this series
patch. Because I am not 100% sure if other parallel NOR vendors'
dual-die stacked PNOR need, still studying.
do_otp_lock()
cfi_amdstd_otp_walk()
do_erase_chip()

beanhuo (3):
  mtd: physmap: add dual die entry in devicetree binding
  mtd: probe: probe dual die entry from devicetree binding
  drivers: mtd: chips: add support for the dual die stacked PNOR

 .../devicetree/bindings/mtd/mtd-physmap.txt        |   2 +
 drivers/mtd/chips/cfi_cmdset_0002.c                | 144 ++++++++++++++++-----
 drivers/mtd/chips/cfi_probe.c                      |   7 +
 include/linux/mtd/cfi.h                            |   8 ++
 4 files changed, 130 insertions(+), 31 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-21 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 19:32 [PATCH v1 0/3] mtd: add support for the dual-die stack parallel NOR Bean Huo
2018-02-21 19:32 ` Bean Huo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.