1. 28 Jun, 2012 1 commit
  2. 12 Mar, 2012 1 commit
  3. 11 Jul, 2011 2 commits
  4. 26 Nov, 2010 1 commit
  5. 01 Oct, 2010 1 commit
  6. 13 May, 2010 1 commit
  7. 25 Jan, 2010 1 commit
    • Paul Mundt's avatar
      sh: Mass ctrl_in/outX to __raw_read/writeX conversion. · 9d56dd3b
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      9d56dd3b
  8. 13 May, 2009 1 commit
  9. 12 May, 2009 1 commit
    • Paul Mundt's avatar
      sh: clkfwk: Use arch_clk_init() for on-chip clock registration. · 9fe5ee0e
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      9fe5ee0e
  10. 11 May, 2009 3 commits
    • Paul Mundt's avatar
      sh: clkfwk: Tidy up on-chip clock registration and rate propagation. · f5c84cf5
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      f5c84cf5
    • Paul Mundt's avatar
      sh: clkfwk: Consolidate the ALWAYS_ENABLED / NEEDS_INIT mess. · 4ff29ff8
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
      4ff29ff8
    • Paul Mundt's avatar
      sh: clkfwk: Make recalc return an unsigned long. · b68d8201
      Paul Mundt authored
      This is prep work for cleaning up some of the rate propagation bits.
      Trivial conversion.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      b68d8201
  11. 20 Jun, 2007 1 commit