1. 25 2月, 2010 1 次提交
    • R
      OMAP2/3 clock: Extend find_idlest() to pass back idle state value · 419cc97d
      Ranjith Lohithakshan 提交于
      Current implementation defines clock idle state indicators based on the
      cpu information (cpu_is_omap24xx() or cpu_is_omap34xx()) in a system wide
      manner. This patch extends the find_idlest() function in clkops to pass
      back the idle state indicator for that clock, thus allowing idle state
      indicators to be defined on a per clock basis if required.
      
      This is specifically needed on AM35xx devices as the new IPSS clocks
      indicates the idle status (0 is idle, 1 is ready) in a way just
      opposite to how its handled in OMAP3 (0 is ready, 1 is idle).
      Signed-off-by: NRanjith Lohithakshan <ranjithl@ti.com>
      [paul@pwsan.com: updated to apply after commit 98c45457 et seq.]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      419cc97d
  2. 27 1月, 2010 1 次提交
  3. 12 12月, 2009 2 次提交
  4. 20 10月, 2009 1 次提交
  5. 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
  6. 29 8月, 2009 1 次提交
  7. 06 8月, 2009 1 次提交
  8. 26 5月, 2009 4 次提交
  9. 06 9月, 2008 1 次提交
    • R
      [ARM] omap: Fix IO_ADDRESS() macros · e8a91c95
      Russell King 提交于
      OMAP1_IO_ADDRESS(), OMAP2_IO_ADDRESS() and IO_ADDRESS() returns cookies
      for use with __raw_{read|write}* for accessing registers.  Therefore,
      these macros should return (void __iomem *) cookies, not integer values.
      
      Doing this improves typechecking, and means we can find those places
      where, eg, DMA controllers are incorrectly given virtual addresses to
      DMA to, or physical addresses are thrown through a virtual to physical
      address translation.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e8a91c95
  10. 03 7月, 2008 3 次提交
  11. 15 4月, 2008 1 次提交