1. 24 11月, 2014 1 次提交
  2. 22 11月, 2014 1 次提交
  3. 11 11月, 2014 1 次提交
  4. 04 11月, 2014 1 次提交
    • T
      ARM: dts: Use better omap GPMC timings for LAN9220 · 13aec8e4
      Tony Lindgren 提交于
      With the GPMC warnings now enabled, I noticed the LAN9220 timings
      can overflow the GPMC registers with 200MHz L3 speed. Earlier we
      were just skipping the bad timings and would continue with the
      bootloader timings. Now we no longer allow to continue with bad
      timings as we have the timings in the .dts files.
      
      We could start using the GPMC clock divider, but let's instead
      use the u-boot timings that are known to be working and a bit
      faster. These are basically the u-boot NET_GPMC_CONFIG[1-6]
      defines deciphered. Except that we don't set gpmc,burst-length
      as that's only partially configured and does not seem to work
      if fully enabled.
      
      [tony@atomide.com: updated to remove gpmc,burst-length]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      13aec8e4
  5. 24 4月, 2014 2 次提交
    • T
      ARM: dts: Fix GPMC timings for LAN9220 · dcf21919
      Tony Lindgren 提交于
      I've noticed occasional random oopsing on my gateway
      machine since I upgraded it to use device tree based
      booting. As this machine has worked reliably before
      that for a few years, pretty much the only difference
      was narrowed down to the GPMC timings. Turns out that
      for legacy based booting we are using bootloader timings
      for GPMC for smsc911x. With device tree we are passing
      the timings in the .dts file, and the device tree
      timings are not quite suitable for LAN9920.
      
      Enabling DEBUG in gpmc.c I noticed that the device tree
      configured timings are different from the the known
      working bootloader timings. So let's fix the timings to
      match the bootloader timings when looked at the gpmc
      dmesg output with DEBUG enabled.
      
      The changes were done by multiplying the bootloader
      tick values by six to get the nanosecond value for
      device tree. This is not generic from the device point
      of view as the calculations should be based on the device
      timings. Anyways, further improvments can be done based
      on the timings documentation for LAN9220. But let's first
      get things to a known good working state.
      
      Note that we still need to change the timings also for
      sb-t35 also as it has two LAN9220 instances on GPMC and
      we can currently include the generic timings only once.
      
      Also note that any boards that have LAN9221 instead of
      LAN9220 should be updated to use omap-gpmc-smsc9221.dtsi
      instead of omap-gpmc-smsc911x.dtsi. The LAN9221 timings
      are different from LAN9220 timings.
      
      Cc: Christoph Fritz <chf.fritz@googlemail.com>
      Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
      Cc: Javier Martinez Canillas <javier@dowhile0.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      dcf21919
    • T
      ARM: dts: Fix GPMC Ethernet timings for omap cm-t sbc-t boards for device tree · de9949a4
      Tony Lindgren 提交于
      Looks like we have wrong GPMC timings we have for the cm-t and
      sbc-t boards. This can cause occasional strange errors with at
      least doing an rsync of large files or doing apt-get dist-upgrade.
      
      Let's fix the issue in two phases. First let's simplify cm-t and
      sbc-t to use the shared omap-gpmc-smsc911x.dtsi to avoid fixing
      the issue in multiple places. Then we can fix the timings in
      a single place with a follow-up patch.
      
      Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      de9949a4
  6. 01 3月, 2014 2 次提交
  7. 19 12月, 2013 1 次提交
  8. 03 12月, 2013 1 次提交
    • F
      ARM: dts: Fix the name of supplies for smsc911x shared by OMAP · ac46bf39
      Florian Vaussard 提交于
      drivers/net/ethernet/smsc/smsc911x.c is expecting supplies named
      "vdd33a" and "vddvario". Currently the shared DTS file provides
      "vmmc" and "vmmc_aux", and the supply lookup will fail:
      
      smsc911x 2c000000.ethernet: Looking up vdd33a-supply from device tree
      smsc911x 2c000000.ethernet: Looking up vdd33a-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed
      smsc911x 2c000000.ethernet: Looking up vddvario-supply from device tree
      smsc911x 2c000000.ethernet: Looking up vddvario-supply property in node /ocp/gpmc@6e000000/ethernet@gpmc failed
      
      Fix it!
      
      Looks like commmit 6b2978ac (ARM: dts: Shared file for omap GPMC
      connected smsc911x) made the problem more visible by moving the smc911x
      configuration from the omap3-igep0020.dts file to the generic file.
      But it seems we've had this problem since commit d72b4415
      (ARM: dts: omap3-igep0020: Add SMSC911x LAN chip support).
      
      Tested on OMAP3 Overo platform.
      Signed-off-by: NFlorian Vaussard <florian.vaussard@epfl.ch>
      [tony@atomide.com: updated comments for the commits causing the problem]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ac46bf39
  9. 15 10月, 2013 1 次提交