1. 10 12月, 2011 2 次提交
    • M
      ARM: S3C64XX: Implement basic power domain support · c656c306
      Mark Brown 提交于
      The S3C64xx SoCs contain a set of gateable power domains which can be
      enabled and disabled at runtime in order to save power.  Use the generic
      power domain code to implement support for these in software, enabling
      runtime control of most domains:
      
       - ETM (not supported in mainline).
       - Domain G: 3D acceleration (no mainline support).
       - Domain V: MFC (no mainline support).
       - Domain I: JPEG and camera interface (no mainline support).
       - Domain P: 2D acceleration, TV encoder and scaler (no mainline support)
       - Domain S: Security (no mainline support).
       - Domain F: LCD (driver already uses runtime PM), post processing and
         rotation (no mainline support).
      
      The IROM domain is marked as always enabled as we should arrange for it
      to be enabled when we suspend which will need a bit more work.
      
      Due to all the conditional device registration that the platform does
      wrap s3c_pm_init() with s3c64xx_pm_init() which actually puts the device
      into the power domain after the machines have registered, looking for
      platform data to tell if the device was registered. Since currently only
      Cragganmore actually sets up PM that is the only machine updated.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      c656c306
    • M
      PM / shmobile: Use common always on power domain governor · a87dc8fd
      Mark Brown 提交于
      Saves a tiny amount of code.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      a87dc8fd
  2. 07 12月, 2011 1 次提交
  3. 02 12月, 2011 2 次提交
    • R
      PM / Domains: Add device stop governor function (v4) · b02c999a
      Rafael J. Wysocki 提交于
      Add a function deciding whether or not devices should be stopped in
      pm_genpd_runtime_suspend() depending on their PM QoS constraints
      and stop/start timing values.  Make it possible to add information
      used by this function to device objects.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      b02c999a
    • R
      PM / Domains: Make it possible to use per-device domain callbacks · d5e4cbfe
      Rafael J. Wysocki 提交于
      The current generic PM domains code requires that the same .stop(),
      .start() and .active_wakeup() device callback routines be used for
      all devices in the given domain, which is inflexible and may not
      cover some specific use cases.  For this reason, make it possible to
      use device specific .start()/.stop() and .active_wakeup() callback
      routines by adding corresponding callback pointers to struct
      generic_pm_domain_data.  Add a new helper routine,
      pm_genpd_register_callbacks(), that can be used to populate
      the new per-device callback pointers.
      
      Modify the shmobile's power domains code to allow drivers to add
      their own code to be run during the device stop and start operations
      with the help of the new callback pointers.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      d5e4cbfe
  4. 29 11月, 2011 2 次提交
  5. 25 11月, 2011 2 次提交
  6. 24 11月, 2011 16 次提交
  7. 22 11月, 2011 6 次提交
  8. 20 11月, 2011 1 次提交
  9. 18 11月, 2011 4 次提交
  10. 17 11月, 2011 4 次提交