[PATCH] [NAND] driver extension to support NAND on TQM85xx modules

Anton Vorontsov avorontsov at ru.mvista.com
Fri May 30 22:50:57 EST 2008


On Fri, May 30, 2008 at 08:36:32AM +0200, Wolfgang Grandegger wrote:
> This patch extends the FSL UPM NAND driver from Anton Vorontsov to
> support for 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 a patch Anton Vorontsov posted to this list:
>       See http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
>       It should show up mainstream soon. 

Personally, I like this patch. But OF people should approve "chip-delay"
property. Though, the whole UPM NAND bindings are in the air still.

> --- a/include/linux/of_gpio.h
> +++ b/include/linux/of_gpio.h
> @@ -15,7 +15,7 @@
>  #define __LINUX_OF_GPIO_H
>  
>  #include <linux/errno.h>
> -#include <asm/gpio.h>
> +#include <linux/gpio.h>

This should be done separately.

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list