public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* WP# line on flash chip?
@ 2015-01-08 17:59 Steve deRosier
  2015-01-08 19:00 ` Daniel Ehrenberg
  2015-01-12 21:50 ` Brian Norris
  0 siblings, 2 replies; 4+ messages in thread
From: Steve deRosier @ 2015-01-08 17:59 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Our flash chip has an active-low write-protect line controlled via a
GPIO. It's out-of-band of everything, the interface still has CS and
other normal signals and those are connected to the NAND controller
pins on our controller.  This pin isn't controlled by the controller,
it's a GPIO activated pin. It's also out-of-band of the various LOCK
commands that can be sent.

The datasheet basically says it locks down the chip so that random
data on the bus doesn't cause erase or programs.  Micron is telling us
that we really should keep it asserted and only deassert it when we
want to erase/write the device.  Right now, we deassert it shortly
after boot.

I can't find any way to add this pin to our device tree, nor do I see
any evidence for support in either our atmel_nand driver or in
higher-level MTD stuff like nand_base.

Does the support for this exist and am I simply missing finding it, or
is it not there at all (expected)?

Assuming it's not there, and assuming I actually add it, is this a
feature that the MTD maintainers would allow to go upstream? I'm
assuming it's not a unique feature to this chip and that other chips
may have it.

Thanks,
- Steve

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

end of thread, other threads:[~2015-01-12 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 17:59 WP# line on flash chip? Steve deRosier
2015-01-08 19:00 ` Daniel Ehrenberg
2015-01-08 19:29   ` Brian Norris
2015-01-12 21:50 ` Brian Norris

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