1. 20 2月, 2009 1 次提交
    • R
      [ARM] omap: add support for bypassing DPLLs · c0bf3132
      Russell King 提交于
      This roughly corresponds with OMAP commits: 7d06c48, 3241b19,
      88b5d9b, 18a5500, 9c909ac, 5c6497b, 8b1f0bd, 2ac1da8.
      
      For both OMAP2 and OMAP3, we note the reference and bypass clocks in
      the DPLL data structure.  Whenever we modify the DPLL rate, we first
      ensure that both the reference and bypass clocks are enabled.  Then,
      we decide whether to use the reference and DPLL, or the bypass clock
      if the desired rate is identical to the bypass rate, and program the
      DPLL appropriately.  Finally, we update the clock's parent, and then
      disable the unused clocks.
      
      This keeps the parents correctly balanced, and more importantly ensures
      that the bypass clock is running whenever we reprogram the DPLL.  This
      is especially important because the procedure for reprogramming the DPLL
      involves switching to the bypass clock.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c0bf3132
  2. 14 2月, 2009 1 次提交
    • R
      [ARM] omap: arrange for clock recalc methods to return the rate · 8b9dbc16
      Russell King 提交于
      linux-omap source commit 33d000c99ee393fe2042f93e8422f94976d276ce
      introduces a way to "dry run" clock changes before they're committed.
      However, this involves putting logic to handle this into each and
      every recalc function, and unfortunately due to the caching, led to
      some bugs.
      
      Solve both of issues by making the recalc methods always return the
      clock rate for the clock, which the caller decides what to do with.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8b9dbc16
  3. 09 2月, 2009 21 次提交
  4. 02 2月, 2009 1 次提交
  5. 11 12月, 2008 2 次提交
  6. 06 9月, 2008 1 次提交
  7. 19 8月, 2008 2 次提交
    • P
      ARM: OMAP2: Clockdomain: Integrate OMAP3 clocks with clockdomain code · 333943ba
      Paul Walmsley 提交于
      This patch integrates the OMAP3 clock tree with the clockdomain code.
      This patch:
      
      - marks OMAP34xx clocks with their corresponding clockdomain.
      
      - adds code to convert the clockdomain name to a clockdomain pointer in the
        struct clk during clk_register().
      
      - modifies OMAP2 clock usecounting to call into the clockdomain code
        when clocks are enabled or disabled.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      333943ba
    • P
      ARM: OMAP2: Powerdomain: Add base OMAP2/3 powerdomain code · ad67ef68
      Paul Walmsley 提交于
      This patch creates an interface to the powerdomain registers in the
      PRM/CM modules on OMAP2/3.  This interface is intended to be used by
      PM code, e.g., pm.c; not by device drivers directly.
      
      Each powerdomain will be defined in later patches as static
      structures.  Also defined are dependencies between powerdomains,
      used for adding and removing PM_WKDEP and CM_SLEEPDEP bits.  The
      powerdomain structures are linked into a list at boot by
      pwrdm_register(), similar to the OMAP clock code.
      
      The patch adds a Kconfig option, CONFIG_OMAP_DEBUG_POWERDOMAIN, which
      when enabled will emit verbose debug messages via pr_debug().
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      ad67ef68
  8. 07 8月, 2008 1 次提交
  9. 03 7月, 2008 1 次提交
    • P
      ARM: OMAP2: Clock: Add OMAP3 DPLL autoidle functions · 542313cc
      Paul Walmsley 提交于
      This patch adds support for DPLL autoidle control to the OMAP3 clock
      framework.  These functions will be used by the noncore DPLL enable
      and disable code - this is because, according to the CDP code, the
      DPLL autoidle status must be saved and restored across DPLL
      lock/bypass/off transitions.
      
      N.B.: the CORE DPLL (DPLL3) has three autoidle mode options, rather
      than just two.  This code currently does not support the third option,
      low-power bypass autoidle.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      542313cc
  10. 15 4月, 2008 2 次提交