1. 10 3月, 2014 2 次提交
  2. 07 3月, 2014 2 次提交
    • A
      de4fdfc1
    • E
      OMAP3: igep00x0: Enable required clocks for GPIO that are used. · dd1e8583
      Enric Balletbo i Serra 提交于
      Enable required clocks for GPIO to fix a boot issue introduced by commit
      f33b9bd3 (arm: omap3: Enable clocks for
      peripherals only if they are used).
      
      Without this patch the u-boot freezes after the following messages
      
        OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
        IGEPv2 + LPDDR/NAND
        I2C:   ready
        DRAM:  512 MiB
        NAND:  512 MiB
        MMC:   OMAP SD/MMC: 0
      
      Diving into the issue, the sequence that produces the u-boot freezes is
      
        setup_net_chip
         |--> gpio_direction_out
               |--> _set_gpio_dataout
                     |--> __raw_writel
      
      To avoid this we just need enable the clocks for GPIOs that are used, but it
      would be interesting implement a mechanism to protect these situations and
      make sure that the clock is enabled when we request a GPIO.
      Signed-off-by: NEnric Balletbo i Serra <eballetbo@gmail.com>
      dd1e8583
  3. 06 3月, 2014 9 次提交
  4. 04 3月, 2014 11 次提交
  5. 27 2月, 2014 6 次提交
  6. 26 2月, 2014 10 次提交