Robert, On 25/02/15 18:33, Roger Quadros wrote: > On 24/02/15 22:05, Robert ABEL wrote: >> The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, >> even though the access is defined as asynchronous, and no GPMC_CLK clock >> is provided to the external device. Still, GPMCFCLKDIVIDER is used as a divider >> for the GPMC clock, so it must be programmed to define the >> correct WAITMONITORINGTIME delay. >> >> Calculate GPMCFCLKDIVIDER independent of gpmc,sync-clk-ps in DT for >> truly asynchronous accesses, i.e. both read and write asynchronous. >> >> Signed-off-by: Robert ABEL <rabel@xxxxxxxxxxxxxxxxxxxxxxx> >> --- >> arch/arm/mach-omap2/gpmc-nand.c | 17 ++++----- >> arch/arm/mach-omap2/gpmc-onenand.c | 4 +-- >> drivers/memory/omap-gpmc.c | 74 ++++++++++++++++++++++++++++++++++---- >> include/linux/omap-gpmc.h | 2 +- >> 4 files changed, 80 insertions(+), 17 deletions(-) Need to patch mach-omap2/usb-tusb6010.c as well. else we get arch/arm/mach-omap2/usb-tusb6010.c: In function ‘tusb_set_async_mode’: arch/arm/mach-omap2/usb-tusb6010.c:74:2: error: too few arguments to function ‘gpmc_cs_set_timings’ In file included from arch/arm/mach-omap2/gpmc.h:14:0, from arch/arm/mach-omap2/usb-tusb6010.c:23: include/linux/omap-gpmc.h:166:12: note: declared here arch/arm/mach-omap2/usb-tusb6010.c: In function ‘tusb_set_sync_mode’: arch/arm/mach-omap2/usb-tusb6010.c:101:2: error: too few arguments to function ‘gpmc_cs_set_timings’ In file included from arch/arm/mach-omap2/gpmc.h:14:0, from arch/arm/mach-omap2/usb-tusb6010.c:23: include/linux/omap-gpmc.h:166:12: note: declared here cheers, -roger -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html