1. 06 7月, 2016 1 次提交
    • P
      PM / devfreq: make devfreq explicitly non-modular · 417dc4bb
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      menuconfig PM_DEVFREQ
            bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      This code wasn't using module_init, so we don't need to be concerned
      with altering the initcall level here.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      We don't replace module.h with init.h since the file already has that.
      But we do add export.h since this file does export some symbols.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      417dc4bb
  2. 24 6月, 2016 1 次提交
  3. 22 6月, 2016 5 次提交
  4. 03 5月, 2016 2 次提交
  5. 13 1月, 2016 4 次提交
  6. 02 10月, 2015 1 次提交
  7. 30 9月, 2015 1 次提交
  8. 11 9月, 2015 3 次提交
  9. 30 3月, 2015 1 次提交
  10. 29 9月, 2014 1 次提交
  11. 24 5月, 2014 3 次提交
  12. 21 3月, 2014 1 次提交
  13. 28 10月, 2013 1 次提交
  14. 26 10月, 2013 3 次提交
  15. 20 8月, 2013 1 次提交
  16. 04 7月, 2013 1 次提交
  17. 03 6月, 2013 2 次提交
  18. 22 1月, 2013 1 次提交
  19. 29 11月, 2012 1 次提交
  20. 26 11月, 2012 3 次提交
  21. 20 11月, 2012 3 次提交
    • N
      PM / devfreq: Add sysfs node to expose available governors · 50a5b33e
      Nishanth Menon 提交于
      Now that governor list can be variable, knowing the available governors
      is useful to be able to select a governor using relevant sysfs node.
      
      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>
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      50a5b33e
    • N
      PM / devfreq: allow sysfs governor node to switch governor · 0359d1af
      Nishanth Menon 提交于
      This allows us to select governor runtime from the
      default configuration without having to rebuild kernel
      or the devfreq driver using the sysfs node:
      /sys/class/devfreq/.../governor
      cat of the governor will return valid governor
      and an echo 'governor_name'>governor will switch
      governor
      
      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>
      Acked-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      0359d1af
    • 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