1. 05 12月, 2011 2 次提交
  2. 08 7月, 2011 2 次提交
    • S
      davinci: enable forced transitions on PSC · aad70de2
      Sekhar Nori 提交于
      Some DaVinci modules like the SATA on DA850
      need forced module state transitions.
      
      Define a "force" flag which can be passed to
      the PSC config function to enable it to make
      forced transitions.
      
      Forced transitions shouldn't normally be attempted,
      unless the TRM explicitly specifies its usage.
      
      ChangeLog:
      v2:
      Modified to take care of the fact that
      davinci_psc_config() now takes the flags
      directly.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      aad70de2
    • S
      davinci: pass clock flags to davinci_psc_config() · a51ca38b
      Sekhar Nori 提交于
      Enabling or disabling a PSC can take certain
      modifiers like "disable with reset", "force
      enable/disable" and "enable/disable with local
      reset" apart from the regular clock gating
      functionality.
      
      Pass a flags argument to davinci_psc_config()
      so these variations can be supported there.
      
      At this time only "disable with reset" is
      supported, but other functionality will be
      added in subsequent patches.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      a51ca38b
  3. 10 12月, 2010 1 次提交
  4. 14 5月, 2010 1 次提交
  5. 07 5月, 2010 1 次提交
    • C
      Davinci: support LPSC SwRstDisable state · 52958be3
      Cyril Chemparathy 提交于
      The current clock control code always gates the clock (PSC state Disable = 2)
      on clk_disable().  Some on-chip peripherals (e.g. LCD controller on TNETV107X)
      need to be put into SwRstDisable = 0 on clock disable, to maintain
      hardware sanity.
      
      This patch extends the davinci_psc_config() arguments to pass in the desired
      module state instead of a boolean enable/disable.  Further, clk_disable() now
      checks for the PSC_SWRSTDISABLE clk flag before selecting the target state.
      Signed-off-by: NCyril Chemparathy <cyril@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      52958be3
  6. 05 2月, 2010 1 次提交
  7. 26 11月, 2009 1 次提交
  8. 26 5月, 2009 1 次提交
    • M
      davinci: Add support for multiple PSCs · d81d188c
      Mark A. Greer 提交于
      The current code to support the DaVinci Power and Sleep Controller (PSC)
      assumes that there is only one controller.  This assumption is no longer
      valid so expand the support to allow greater than one PSC.
      
      To accomplish this, put the base addresses for the PSCs in the SoC
      infrastructure so it can be referenced by the PSC code.  This also
      requires adding an extra parameter to davinci_psc_config() to specify
      the PSC that is to be enabled/disabled.
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      d81d188c
  9. 28 4月, 2009 1 次提交
  10. 24 4月, 2009 2 次提交
    • K
      davinci: add arch_ioremap() which uses existing static mappings · f5c122da
      Kevin Hilman 提交于
      Add arch-specific ioremap() which uses any existing static mappings in
      place of doing a new mapping.  From now on, drivers should always use
      ioremap() instead of IO_ADDRESS().
      
      In addition, remove the davinci_[read|write]* macros in favor of using
      ioremap.
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      f5c122da
    • K
      davinci: major rework of clock, PLL, PSC infrastructure · c5b736d0
      Kevin Hilman 提交于
      This is a significant rework of the low-level clock, PLL and Power
      Sleep Controller (PSC) implementation for the DaVinci family.  The
      primary goal is to have better modeling if the hardware clocks and
      features with the aim of DVFS functionality.
      
      Highlights:
      - model PLLs and all PLL-derived clocks
      - model parent/child relationships of PLLs and clocks
      - convert to new clkdev layer
      - view clock frequency and refcount via /proc/davinci_clocks
      
      Special thanks to significant contributions and testing by David
      Brownell.
      
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      c5b736d0
  11. 18 9月, 2008 1 次提交
  12. 06 9月, 2008 1 次提交
  13. 07 8月, 2008 2 次提交
  14. 12 7月, 2007 1 次提交
  15. 12 5月, 2007 1 次提交