1. 27 10月, 2014 3 次提交
  2. 16 5月, 2014 1 次提交
  3. 12 5月, 2014 1 次提交
  4. 08 5月, 2014 1 次提交
  5. 20 10月, 2013 1 次提交
  6. 30 1月, 2013 2 次提交
  7. 09 11月, 2012 1 次提交
    • P
      ARM: OMAP2+: CM/clock: convert _omap2_module_wait_ready() to use SoC-independent CM functions · c4ceedcb
      Paul Walmsley 提交于
      Convert the OMAP clock code's _omap2_module_wait_ready() to use
      SoC-independent CM functions that are provided by the CM code, rather
      than using a deprecated function from mach-omap2/prcm.c.
      
      This facilitates the future conversion of the CM code to a driver, and
      also removes a mach-omap2/prcm.c user.  mach-omap2/prcm.c will be removed
      by a subsequent patch.
      
      Some modules have IDLEST registers that aren't in the CM module, such
      as the AM3517 IDLEST bits.  So we also need a fallback function for
      these non-CM odd cases.  Create a temporary one in mach-omap2/clock.c,
      intended to exist until the SCM drivers are ready.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Tested-by: NVaibhav Hiremath <hvaibhav@ti.com>
      c4ceedcb
  8. 21 10月, 2012 2 次提交
  9. 24 9月, 2012 1 次提交
  10. 13 9月, 2012 1 次提交
    • T
      ARM: OMAP: Split plat/hardware.h, use local soc.h for omap2+ · dbc04161
      Tony Lindgren 提交于
      As the plat and mach includes need to disappear for single zImage work,
      we need to remove plat/hardware.h.
      
      Do this by splitting plat/hardware.h into omap1 and omap2+ specific files.
      
      The old plat/hardware.h already has omap1 only defines, so it gets moved
      to mach/hardware.h for omap1. For omap2+, we use the local soc.h
      that for now just includes the related SoC headers to keep this patch more
      readable.
      
      Note that the local soc.h still includes plat/cpu.h that can be dealt
      with in later patches. Let's also include plat/serial.h from common.h for
      all the board-*.c files. This allows making the include files local later
      on without patching these files again.
      
      Note that only minimal changes are done in this patch for the
      drivers/watchdog/omap_wdt.c driver to keep things compiling. Further
      patches are needed to eventually remove cpu_is_omap usage in the drivers.
      
      Also only minimal changes are done to sound/soc/omap/* to remove the
      unneeded includes and to define OMAP44XX_MCPDM_L3_BASE locally so there's
      no need to include omap44xx.h.
      
      While at it, also sort some of the includes in the standard way.
      
      Cc: linux-watchdog@vger.kernel.org
      Cc: alsa-devel@alsa-project.org
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      dbc04161
  11. 08 3月, 2012 1 次提交
    • T
      ARM: OMAP2+: Fix build error after merge · 2b43e4e5
      Tony Lindgren 提交于
      Commit 9890ce44 (ARM: get rid of asm/irq.h in asm/prom.h)
      removed include of asm/irq.h in asm/prom.h. This commit
      together with recent omap cleanup to remove io.h causes
      build breakage:
      
      arrch/arm/mach-omap2/control.c: In function 'omap3_ctrl_write_boot_mode':
      arch/arm/mach-omap2/control.c:238: error:
      'OMAP343X_CTRL_BASE' undeclared (first use in this function)
      ...
      
      Fix this by including hardware.h directly where needed
      instead of relying on asm/irq.h in asm/prom.h.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      2b43e4e5
  12. 25 2月, 2012 1 次提交
  13. 18 11月, 2011 1 次提交
  14. 21 4月, 2011 1 次提交
    • E
      OMAP3: PM: Do not rely on ROM code to restore CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL · a8ae645c
      Eduardo Valentin 提交于
      As per OMAP3 erratum (i671), ROM code adds extra latencies while
      restoring CM_AUTOIDLE_PLL register, if AUTO_PERIPH_DPLL is equal to 1.
      
      This patch stores 0's in scratchpad content area corresponding to
      AUTO_PERIPH_DPLL, to prevent ROM code to try to lock per DPLL, since
      it won't respect proper programing scheme.
      
      This register is then stored in prcm context. The saving and restore
      is now done by kernel side.
      
      Here follow the erratum description
      
      DESCRIPTION
      
      After OFF mode transition, among many restorations, the ROM Code restores the
      CM_AUTOIDLE_PLL register, and after that, it tries to relock the PER DPLL.
      
      In case the restoration data stored in scratchpad memory contains a field
      CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL = 1, then the way the ROM Code restores and
      locks the PER DPLL does not respect the PER DPLL programming scheme.
      
      In that case, the DPLL might not lock. Meanwhile, when trying to lock the PER
      DPLL, the ROM Code does not hang. Only extra latencies are introduced at
      wake-up.
      
      WORKAROUND
      
      When saving the context-restore structure in scratchpad memory, in order to
      respect the PER DPLL programming scheme, it is advised to store 0 in the
      CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL field of the saved structure.
      
      After wake-up, the application should store in CM_AUTOIDLE_PLL register the
      right desired value.
      Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      a8ae645c
  15. 08 3月, 2011 2 次提交
  16. 22 12月, 2010 4 次提交
  17. 27 7月, 2010 1 次提交
  18. 21 5月, 2010 1 次提交
  19. 12 12月, 2009 1 次提交
    • P
      OMAP clock/hwmod: fix off-by-one errors · 6f8b7ff5
      Paul Walmsley 提交于
      Fix loop bailout off-by-one bugs reported by Juha Leppänen
      <juha_motorsportcom@luukku.com>.
      
      This second version incorporates comments from Russell King
      <linux@arm.linux.org.uk>.  A new macro, 'omap_test_timeout', has
      been created, with cleaner code, and existing code has been converted
      to use it.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Juha Leppänen <juha_motorsportcom@luukku.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      6f8b7ff5
  20. 04 9月, 2009 1 次提交
    • P
      OMAP2/3/4 PRCM: add module IDLEST wait code · 71348bca
      Paul Walmsley 提交于
      After a hardware module's clocks are enabled, Linux must wait for it
      to indicate readiness via its IDLEST bit before attempting to access
      the device, otherwise register accesses to the device may trigger an
      abort.  This has traditionally been implemented in the clock
      framework, but this is the wrong place for it: the clock framework
      doesn't know which module clocks must be enabled for a module to leave
      idle; and if a module is not in smart-idle mode, it may never leave
      idle at all.  This type of information is best stored in a
      per-hardware module data structure (coming in a following patch),
      rather than a per-clock data structure.  The new code will use these new
      functions to handle waiting for modules to enable.
      
      Once hardware module data is filled in for all of the on-chip devices,
      the clock framework code to handle IDLEST waiting can be removed.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      71348bca