1. 12 5月, 2009 3 次提交
    • 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
  2. 16 5月, 2008 1 次提交
  3. 07 5月, 2007 1 次提交