1. 20 11月, 2012 2 次提交
    • N
      PM / devfreq: map devfreq drivers to governor using name · 1b5c1be2
      Nishanth Menon 提交于
      Allow devfreq drivers to register a preferred governor name
      and when the devfreq governor loads itself at a later point
      required drivers are managed appropriately, at the time of
      unload of a devfreq governor, stop managing those drivers
      as well.
      
      Since the governor structures do not need to be exposed
      anymore, remove the definitions and make them static
      
      NOTE: devfreq_list_lock is now used to protect governor
      start and stop - as this allows us to protect governors and
      devfreq with the proper dependencies as needed.
      
      As part of this change, change the registration of exynos
      bus driver to request for ondemand using the governor name.
      
      Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org>
      Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: linux-pm@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NNishanth Menon <nm@ti.com>
      [Merge conflict resolved by MyungJoo Ham]
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      1b5c1be2
    • S
      PM / devfreq: Use devm_* functions in exynos4_bus.c · d7895052
      Sachin Kamat 提交于
      devm_* functions are device managed functions and make cleanup code
      simpler and smaller.
      devm_kzalloc and devm_regulator_get functions are used.
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      [renamed the patch title by MyungJoo Ham]
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      d7895052
  2. 18 3月, 2012 1 次提交
  3. 11 3月, 2012 2 次提交
  4. 20 1月, 2012 2 次提交
  5. 20 12月, 2011 1 次提交
    • M
      PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412. · 7b405038
      MyungJoo Ham 提交于
      Exynos4-bus device devfreq driver add DVFS capability for
      Exynos4210/4212/4412-Bus (memory). The driver monitors PPMU counters of memory
      controllers and adjusts operating frequencies and voltages with OPP.
      For Exynos4210, vdd_int is controlled. For exynos4412/4212, vdd_mif and
      vdd_int are controlled.
      
      Dependency (CONFIG_EXYNOS_ASV):
      Exynos4 ASV driver has been posted in the mailing list; however, it
      si not yet upstreamed. Although the current revision of Exynos4 ASV
      patch does not contain "CONFIG_EXYNOS_ASV", we have added the symbol
      to hide the dependent from compilers for now. As soon as Exynos4 ASV
      drivers are merged, the #ifdef statement will be removed or the
      name will be changed.
      
      However, enabling ASV is essential in most Exynos4 chips to reduce
      the power consumption of Exynos4210 because without ASV, this Devfreq
      driver assumes the worst case scenario, which consumes more power.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      
      ---
      Changes from v1
      - Support 4212 and 4412 as well as 4210.
      7b405038