linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix few omap gpmc regressions when booted with device tree
@ 2014-04-22  0:54 Tony Lindgren
  2014-04-22  0:54 ` [PATCH 1/2] ARM: OMAP2+: Fix oops for GPMC free Tony Lindgren
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tony Lindgren @ 2014-04-22  0:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

Here are two fixes to GPMC issues I've seen. It seems that we have
few more issues left to solve:

1. The remap of a device with gpmc_cs_remap seems to fail for
   a device if it's address specified in the .dts file is
   different from the address used by the bootloader

2. There seems to be some timing issues with smc911x where
   rsync of larger files and apt-get dist-upgrade can produce 
   strange errors. This seems to work reliably when booted in
   legacy mode.

3. The DT mappings of GPMC devices are wrong for most devices
   where the ranges property should contain the GPMC partition
   size (16, 32, 128 or 256 MB), and the reg property for the
   device should only contain the device IO range. So only NOR
   should use large values for ranges and IO range, the rest
   should use the minimum 16 MB range for GPMC partition, and
   0x4 - 0x20000 for the IO range. And while patching these
   it makes sense to also unify the GPMC ranges being used for
   devices.

Pekon, can you take a look at 1 and 2 above?

Then for 3 above, it seems that we cannot safely change
ranges before 1 and 2 are working reliably. Or else we have
patch things twice, once to fix the range sizes, then to
unify the mappings for the range address...

Regards,

Tony

Tony Lindgren (2):
  ARM: OMAP2+: Fix oops for GPMC free
  ARM: OMAP2+: Fix GPMC remap for devices using an offset

 arch/arm/mach-omap2/gpmc.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

-- 
1.8.1.1

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

end of thread, other threads:[~2014-04-23 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22  0:54 [PATCH 0/2] Fix few omap gpmc regressions when booted with device tree Tony Lindgren
2014-04-22  0:54 ` [PATCH 1/2] ARM: OMAP2+: Fix oops for GPMC free Tony Lindgren
2014-04-22  0:54 ` [PATCH 2/2] ARM: OMAP2+: Fix GPMC remap for devices using an offset Tony Lindgren
2014-04-22  6:55 ` [PATCH 0/2] Fix few omap gpmc regressions when booted with device tree Javier Martinez Canillas
2014-04-22 15:23   ` Tony Lindgren
2014-04-23  0:00     ` Tony Lindgren
2014-04-23 18:08       ` Tony Lindgren
2014-04-23 18:42         ` Javier Martinez Canillas

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).