public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* DaVinci NAND: disable subpage write (28c015)
@ 2016-04-22  8:20 Petr Kulhavy
  2016-04-22  9:05 ` Boris Brezillon
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Kulhavy @ 2016-04-22  8:20 UTC (permalink / raw)
  To: Boris Brezillon, Murali Karicheri; +Cc: linux-mtd

Hi,

this email refers to the commit: 
28c015a9daabe4ed3aeb0ccf669a3f1c2b8b81d5 on drivers/mtd/nand/davinci-nand.c.
This commit sets the NAND_NO_SUBPAGE_WRITE option for "ti,keystone-nand" 
to workaround a HW issue on the controller.

Disabling subpage write however should be made a general option because 
some NAND chips do not support subpage write at all. Subpage write is a 
feature of the NAND chip, not the NAND interface. In combination with  
"ti,davinci-nand" there is no option to disable subpage write.
In my case I'm struggling with this issue on the AM1808 with a 1Gb 
Micron NAND (MT29F1GxxABB).

My proposal would be to add a boolean property 
"ti,davinci-disable-subpage-write" or similar, which sets the 
NAND_NO_SUBPAGE_WRITE option.
I'm also wondering why no other binding is addressing this, as it is a 
general problem.

I wanted to collect your opinion before submitting a patch.

Thanks
Petr

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

end of thread, other threads:[~2016-04-22 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22  8:20 DaVinci NAND: disable subpage write (28c015) Petr Kulhavy
2016-04-22  9:05 ` Boris Brezillon
2016-04-22 11:49   ` Petr Kulhavy
2016-04-22 12:09     ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox