1. 26 11月, 2010 1 次提交
  2. 13 5月, 2010 1 次提交
  3. 26 1月, 2010 1 次提交
    • P
      sh: Mass ctrl_in/outX to __raw_read/writeX conversion. · 9d56dd3b
      Paul Mundt 提交于
      The old ctrl in/out routines are non-portable and unsuitable for
      cross-platform use. While drivers/sh has already been sanitized, there
      is still quite a lot of code that is not. This converts the arch/sh/ bits
      over, which permits us to flag the routines as deprecated whilst still
      building with -Werror for the architecture code, and to ensure that
      future users are not added.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9d56dd3b
  4. 13 5月, 2009 1 次提交
  5. 12 5月, 2009 4 次提交
    • P
      sh: clkfwk: Use arch_clk_init() for on-chip clock registration. · 9fe5ee0e
      Paul Mundt 提交于
      CPUs registering on-chip clocks should be using arch_clk_init() with the
      new scheme so that the CPUs have the opportunity to establish the
      topology prior to the initial root clock rate propagation. This ensures
      that CPUs with on-chip clocks that use CLK_ENABLE_ON_INIT are properly
      enabled at the initial propagation time, without having to further poke
      the root clocks.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9fe5ee0e
    • P
      sh: clkfwk: Tidy up on-chip clock registration and rate propagation. · f5c84cf5
      Paul Mundt 提交于
      This tidies up the set_rate hack that the on-chip clocks were abusing to
      trigger rate propagation, which is now handled generically.
      
      Additionally, now that CLK_ENABLE_ON_INIT is wired up where it needs to
      be for these clocks, the clk_enable() can go away. In some cases this was
      bumping up the refcount higher than it should have been.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f5c84cf5
    • P
      sh: clkfwk: Consolidate the ALWAYS_ENABLED / NEEDS_INIT mess. · 4ff29ff8
      Paul Mundt 提交于
      There is no real distinction here in behaviour, either a clock needs to
      be enabled on initialiation or not. The ALWAYS_ENABLED flag was always
      intended to only apply to clocks that were physically always on and could
      simply not be disabled at all from software. Unfortunately over time this
      was abused and the meaning became a bit blurry.
      
      So, we kill off both of all of those paths now, as well as the newer
      NEEDS_INIT flag, and consolidate on a CLK_ENABLE_ON_INIT. Clocks that
      need to be enabled on initialization can set this, and it will purposely
      enable them and bump the refcount up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4ff29ff8
    • P
      sh: clkfwk: Make recalc return an unsigned long. · b68d8201
      Paul Mundt 提交于
      This is prep work for cleaning up some of the rate propagation bits.
      Trivial conversion.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b68d8201
  6. 04 6月, 2007 1 次提交
  7. 07 5月, 2007 1 次提交
  8. 06 12月, 2006 1 次提交
  9. 17 1月, 2006 1 次提交