1. 10 Mar, 2011 3 commits
    • Paul Walmsley's avatar
      OMAP2+: clockdomain: add flag that will block autodeps from being added for a clockdomain · 570b54c7
      Paul Walmsley authored
      Add a new clockdomain flag, CLKDM_NO_AUTODEPS, which, when marked on a
      clockdomain, will prevent "autodeps" from being associated with the
      clockdomain.  ("Autodeps" are sleep dependencies and wakeup
      dependencies from/to processor modules that are automatically added to
      a clockdomain when it is in hardware-supervised idle mode.  They are
      deprecated -- a relic from the old CDP trees -- but are still in use
      for OMAP3.)
      
      Also, prevent the hwmod code from adding or removing initiator
      dependencies for clockdomains with this flag set.
      
      This patch should allow others to test which clockdomains actually
      still need autodeps.
      
      Thanks to Kevin Hilman <khilman@ti.com> for noting that the original
      version should also modify the hwmod code.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@ti.com>
      570b54c7
    • Kishon Vijay Abraham I's avatar
      OMAP2+: hwmod: add API to handle autoidle mode · 9599217a
      Kishon Vijay Abraham I authored
      Create a new API that forms a wrapper to _set_module_autoidle()
      to modify the AUTOIDLE bit.
      
      This API is intended to be used by drivers that requires direct
      manipulation of the AUTOIDLE bits in SYSCONFIG register.
      McBSP driver requires autoidle bit to be enabled/disabled while
      using sidetone feature.
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      [paul@pwsan.com: restrict the hwmod states that the autoidle bit can be changed
       in; changed function name; dropped "int" from "unsigned int long"]
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      9599217a
    • Paul Walmsley's avatar
      OMAP2+: hwmod: allow board files to prevent devices from being reset upon init · 43b01643
      Paul Walmsley authored
      Some boards can't tolerate IP blocks being reset when they are initialized.
      Michael Büsch cites a case with the Nokia N810:
      
          http://www.spinics.net/lists/linux-omap/msg47277.html
      
      To allow such boards to continue working normally, allow board file
      maintainers to mark IP blocks to prevent them from being reset upon
      init.  This is done via a hwmod function, omap_hwmod_no_setup_reset().
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Michael Buesch <mb@bu3sch.de>
      43b01643
  2. 01 Mar, 2011 12 commits
  3. 28 Feb, 2011 6 commits
  4. 26 Feb, 2011 4 commits
  5. 25 Feb, 2011 15 commits