linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: kirkwood: Increase NAND chip-delay for DNS-320
@ 2012-10-28 20:47 Jamie Lentin
  2012-10-28 20:59 ` Andrew Lunn
  0 siblings, 1 reply; 9+ messages in thread
From: Jamie Lentin @ 2012-10-28 20:47 UTC (permalink / raw)
  To: linux-arm-kernel

The default chip-delay of 25ns is a bit too tight for some DNS-320's,
increase to 35ns.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
---
I now own 2 DNS-320's, the first of which is happy with a mainline
kernel, the second fills the console with "Bad eraseblock xxx at
0x00000xxxxxxx" for every eraseblock and refuses to access the NAND.
Beyond this they appear identical, and report the same NAND chip
(I haven't physically checked that it's the same, however).

The patch below fixes it, however:-
* Is there something else I should be trying, rather than potentially
masking the problem?
* Is chip-delay too low for kirkwood generally?

Cheers,

 arch/arm/boot/dts/kirkwood-dns320.dts |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/kirkwood-dns320.dts b/arch/arm/boot/dts/kirkwood-dns320.dts
index 5bb0bf3..abe17a4 100644
--- a/arch/arm/boot/dts/kirkwood-dns320.dts
+++ b/arch/arm/boot/dts/kirkwood-dns320.dts
@@ -50,5 +50,9 @@
 			clock-frequency = <166666667>;
 			status = "okay";
 		};
+
+		nand at 3000000 {
+			chip-delay = <35>;
+		};
 	};
 };
-- 
1.7.10.4

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

end of thread, other threads:[~2012-11-02  5:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 20:47 [PATCH] ARM: kirkwood: Increase NAND chip-delay for DNS-320 Jamie Lentin
2012-10-28 20:59 ` Andrew Lunn
2012-10-28 21:53   ` Jamie Lentin
2012-10-29  6:46     ` Andrew Lunn
2012-10-29 22:47       ` Jamie Lentin
2012-10-30  6:02         ` Andrew Lunn
2012-11-01 21:57           ` [PATCH V2] ARM: kirkwood: Increase NAND chip-delay for DNS-32[05] Jamie Lentin
2012-11-02  5:45             ` Andrew Lunn
2012-11-01 22:09           ` [PATCH] ARM: kirkwood: Increase NAND chip-delay for DNS-320 Jamie Lentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).