From: Wolfgang Grandegger <hidden> Date: 2008-06-05 08:50:39
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
http://ozlabs.org/pipermail/linuxppc-dev/2008-May/057158.htmlhttp://ozlabs.org/pipermail/linuxppc-dev/2008-May/056531.htmlhttp://ozlabs.org/pipermail/linuxppc-dev/2008-June/057244.html
They should show up mainstream soon.
Signed-off-by: Wolfgang Grandegger <redacted>
---
Documentation/powerpc/booting-without-of.txt | 1 +
drivers/mtd/nand/Kconfig | 2 +-
drivers/mtd/nand/fsl_upm.c | 17 +++++++++++++----
3 files changed, 15 insertions(+), 5 deletions(-)
Index: linux-2.6-galak/drivers/mtd/nand/Kconfig
===================================================================
@@ -3007,6 +3007,7 @@ platforms are moved over to use the flat - reg : should specify localbus chip select and size used for the chip. - fsl,upm-addr-offset : UPM pattern offset for the address latch. - fsl,upm-cmd-offset : UPM pattern offset for the command latch.+ - chip-delay : may specify a delay value in milliseconds. - gpios : may specify optional GPIO connected to the Ready-Not-Busy pin. Example:
From: David Woodhouse <dwmw2@infradead.org> Date: 2008-06-07 08:01:47
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...
You should probably comment on the removal of the OF_GPIO dependency. It
looks fine, since the relevant functions all get stubbed out and will do
the right thing, but it's worth a comment in the commit text.
--
dwmw2
From: Anton Vorontsov <hidden> Date: 2008-06-07 11:44:40
On Sat, Jun 07, 2008 at 09:01:41AM +0100, David Woodhouse wrote:
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
quoted
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...
Well, I have no objections to applying that patch, feel free to add my
sign off. But if OF people will NAK the bindings, I'll have to bother you
once again with the update to that driver. :-/
I've tried to push the bindings several times already, and always there
were [absolutely legitimate] issues. The last RFC is here (along with
other new bindings):
http://ozlabs.org/pipermail/linuxppc-dev/2008-June/057244.html
so far no comments.. Probably a good sign. :-)
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
From: Wolfgang Grandegger <hidden> Date: 2008-06-08 18:01:54
David Woodhouse wrote:
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
quoted
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...
Anton has already answer that question.
You should probably comment on the removal of the OF_GPIO dependency. It
looks fine, since the relevant functions all get stubbed out and will do
the right thing, but it's worth a comment in the commit text.
From: Wolfgang Grandegger <hidden> Date: 2008-06-08 18:05:36
Anton Vorontsov wrote:
On Sat, Jun 07, 2008 at 09:01:41AM +0100, David Woodhouse wrote:
quoted
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
quoted
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...
Well, I have no objections to applying that patch, feel free to add my
sign off. But if OF people will NAK the bindings, I'll have to bother you
once again with the update to that driver. :-/
I've tried to push the bindings several times already, and always there
were [absolutely legitimate] issues. The last RFC is here (along with
other new bindings):
http://ozlabs.org/pipermail/linuxppc-dev/2008-June/057244.html
so far no comments.. Probably a good sign. :-)
I see. I think I should then also post the bindings (update of
booting-without-of.txt) separately.
Wolfgang.
From: Wolfgang Grandegger <hidden> Date: 2008-06-09 08:32:59
David Woodhouse wrote:
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
quoted
[NAND] driver extension to support NAND on TQM85xx modules
This patch extends the FSL UPM NAND driver from Anton Vorontsov to
support NAND on the TQM85xx modules. Unfortunately, the hardware does
not support the R/B pins of the NAND chip and therefore the specified
maximum delay time must used. It therefore re-introduces the chip-delay
property.
Note: this patch is based on various patches from Anton Vorontsov posted
to this list:
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...
You should probably comment on the removal of the OF_GPIO dependency. It
looks fine, since the relevant functions all get stubbed out and will do
the right thing, but it's worth a comment in the commit text.
I just sent v3 of this patch with some better description.
Thanks,
Wolfgang.