Files
u-boot-tk1-som/include
Enric Balletbo i Serra dd1e8583ee OMAP3: igep00x0: Enable required clocks for GPIO that are used.
Enable required clocks for GPIO to fix a boot issue introduced by commit
f33b9bd398 (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: Enric Balletbo i Serra <eballetbo@gmail.com>
2014-03-06 11:21:37 -05:00
..
2014-01-24 16:59:07 -05:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2013-06-26 10:07:11 -04:00
2014-02-19 09:47:34 -05:00
2014-02-19 09:47:34 -05:00
2014-02-03 09:46:45 -07:00
2014-02-20 06:48:23 +01:00
2013-09-24 09:10:33 -04:00
2014-02-19 11:10:04 -05:00
2013-09-20 10:30:54 -04:00
2013-11-09 17:21:01 +01:00
2013-11-09 17:21:01 +01:00
2014-02-19 10:47:43 -05:00
2013-12-04 08:11:28 -05:00
2013-08-28 11:44:59 -04:00