1. 19 3月, 2011 1 次提交
  2. 15 3月, 2011 7 次提交
  3. 12 3月, 2011 9 次提交
  4. 11 3月, 2011 18 次提交
  5. 10 3月, 2011 5 次提交
    • T
      omap2/3: dmtimer: Enable autoidle · 4ce1e5e1
      Tero Kristo 提交于
      This saves some power. OMAP4 version should check for GPT module ID, as
      autoidle is only supported on a subset of these.
      Signed-off-by: NTero Kristo <tero.kristo@nokia.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      4ce1e5e1
    • P
      OMAP2+: clockdomain: add flag that will block autodeps from being added for a clockdomain · 570b54c7
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      Cc: Kevin Hilman <khilman@ti.com>
      570b54c7
    • K
      OMAP2+: hwmod: add API to handle autoidle mode · 9599217a
      Kishon Vijay Abraham I 提交于
      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: NKishon 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: NPaul Walmsley <paul@pwsan.com>
      9599217a
    • P
      OMAP2+: hwmod: allow board files to prevent devices from being reset upon init · 43b01643
      Paul Walmsley 提交于
      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: NPaul Walmsley <paul@pwsan.com>
      Cc: Michael Buesch <mb@bu3sch.de>
      43b01643
    • O
      OMAP2+: hwmod: use status bit info for reset line · cc1226e7
      omar ramirez 提交于
      On OMAP2 and OMAP3 the reset ctrl shift doesn't match the
      status bit, as it does on OMAP4, when handling the reset lines.
      
      This patch adds a new member in the reset info structure, so now it
      can be added as part of hwmod data, and checked accordingly for
      OMAP2 or 3; otherwise, there could be cases when the shift masks
      doesn't match both of the registers, and a successful reset might
      throw an error message or vice versa.
      Signed-off-by: NOmar Ramirez Luna <omar.ramirez@ti.com>
      [paul@pwsan.com: added a warning if st_shift used on OMAP4; renamed 'r'
       variable; improved some documentation]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      cc1226e7