1. 29 3月, 2012 1 次提交
  2. 21 2月, 2012 1 次提交
    • T
      ARM: OMAP2+: Split omap2_hsmmc_init() to properly support I2C GPIO pins · 3b972bf0
      Tony Lindgren 提交于
      Otherwise omap_device_build() and omap_mux related functions
      can't be marked as __init when twl is build as a module.
      
      If a board is using GPIO pins or regulators configured by an
      external chip, such as TWL PMIC on I2C bus, the board must
      mark those MMC controllers as deferred. Additionally both
      omap_hsmmc_init() and omap_hsmmc_late_init() must be called
      by the board.
      
      For MMC controllers using internal GPIO pins for card
      detect and regulators the slots don't need to be marked
      deferred. In this case calling omap_hsmmc_init() is sufficient.
      
      Only mark the MMC slots using gpio_cd or gpio_wd as deferred
      as noted by Igor Grinberg <grinberg@compulab.co.il>.
      
      Note that this patch does not change the behaviour for
      board-4430sdp.c board-omap4panda.c. These boards wrongly
      rely on the omap_hsmmc.c init function callback to configure
      the PMIC GPIO interrupt lines on external chip. If the PMIC
      interrupt lines are not configured during init, they will
      fail.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3b972bf0
  3. 05 1月, 2012 1 次提交
  4. 18 11月, 2011 1 次提交
  5. 16 11月, 2011 1 次提交
  6. 05 11月, 2011 1 次提交
  7. 30 9月, 2011 3 次提交
  8. 27 9月, 2011 1 次提交
  9. 24 8月, 2011 2 次提交
    • T
      ARM: OMAP: Introduce SoC specific early_init · 8f5b5a41
      Tony Lindgren 提交于
      Introduce them for each omap variant and just make them all call
      omap2_init_common_infrastructure for now. Do this for each board-*.c
      file except for board-generic and board-omap3beagle as they use
      the same machine ID for multiple SoCs.
      
      No functional changes.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      8f5b5a41
    • T
      ARM: OMAP: Move omap2_init_common_devices out of init_early · a4ca9dbe
      Tony Lindgren 提交于
      There's no need to call omap2_init_common_devices from init_early.
      
      It no longer does anything else except reprogram the memory timings
      for some boards, so it's better to do it later so we have a chance
      to get console messages if something goes wrong.
      
      Move it to happen after omap_serial_init gets called. And while
      patching it anyways, rename it to omap_sdrc_init as suggested by
      Benoit Cousson <b-cousson@ti.com>.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a4ca9dbe
  10. 22 8月, 2011 1 次提交
  11. 04 7月, 2011 2 次提交
  12. 28 6月, 2011 1 次提交
  13. 20 6月, 2011 1 次提交
    • T
      omap: Set separate timer init functions to avoid cpu_is_omap tests · e74984e4
      Tony Lindgren 提交于
      This is needed for the following patches so we can initialize the
      rest of the hardware timers later on.
      
      As with the init_irq calls, there's no need to do cpu_is_omap calls
      during the timer init as we only care about the major omap generation.
      This means that we can initialize the sys_timer with the .timer
      entries alone.
      
      Note that for now we just set stubs for the various sys_timer entries
      that will get populated in a later patch. The following patches will
      also remove the omap_dm_timer_init calls and change the init for the
      rest of the hardware timers to happen with an arch_initcall.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Reviewed-by: NKevin Hilman <khilman@ti.com>
      e74984e4
  14. 16 6月, 2011 1 次提交
  15. 14 6月, 2011 1 次提交
  16. 01 6月, 2011 1 次提交
  17. 12 5月, 2011 1 次提交
  18. 11 5月, 2011 2 次提交
  19. 09 5月, 2011 1 次提交
  20. 03 5月, 2011 3 次提交
  21. 12 3月, 2011 1 次提交
  22. 11 3月, 2011 2 次提交
  23. 03 3月, 2011 1 次提交
  24. 02 3月, 2011 1 次提交
  25. 01 3月, 2011 2 次提交
  26. 23 2月, 2011 1 次提交
  27. 15 2月, 2011 1 次提交
  28. 02 2月, 2011 1 次提交
    • T
      OMAP3: Devkit8000: Change lcd power pin · daf7aabc
      Thomas Weber 提交于
      This patch fixes a wrongly used lcd enable pin.
      
      The Devkit8000 uses twl4030_ledA configured as output gpio only for
      the lcd enable line. twl4030_gpio.1 is used through the generic
      gpio functions while ledA is used via low level twl4030 calls.
      
      This patch removes the low level calls and use the generic gpio functions
      for initialization and use of ledA. This patch also fixes a bug where the
      lcd would not power down when blanking.
      
      Further this patch fixes an indentation issue. The comment line uses
      eight whitespace and is replaced with a hard tab.
      
      gpio_request + gpio_direction_output are replaced with gpio_request_one.
      The return value of gpio_request_one is used to set the value of the
      gpio to -EINVAL when unsuccessful, so that gpio_is_valid can detect the
      unsuccessful request. But already successful requested gpios are not freed.
      Reported-by: NDaniel Morsing <daniel.morsing@gmail.com>
      Signed-off-by: NThomas Weber <weber@corscience.de>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      daf7aabc
  29. 20 1月, 2011 1 次提交
  30. 10 1月, 2011 1 次提交
  31. 22 12月, 2010 1 次提交
    • P
      OMAP2+: io: split omap2_init_common_hw() · 4805734b
      Paul Walmsley 提交于
      Split omap2_init_common_hw() into two functions.  The first,
      omap2_init_common_infrastructure(), initializes the hwmod code and
      data, the OMAP PM code, and the clock code and data.  The second,
      omap2_init_common_devices(), handles any other early device
      initialization that, for whatever reason, has not been or cannot be
      moved to initcalls or early platform devices.
      
      This patch is required for the hwmod postsetup patch, which allows
      board files to change the state that hwmods should be placed into at
      the conclusion of the hwmod _setup() function.  For example, for a
      board whose creators wish to ensure watchdog coverage across the
      entire kernel boot process, code to change the watchdog's postsetup
      state will be added in the board-*.c file between the
      omap2_init_common_infrastructure() and omap2_init_common_devices() function
      calls.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Tony Lindgren <tony@atomide.com>
      4805734b