1. 02 3月, 2015 1 次提交
  2. 25 1月, 2015 1 次提交
  3. 20 10月, 2014 1 次提交
  4. 31 5月, 2014 1 次提交
  5. 26 5月, 2014 1 次提交
    • J
      cpufreq: exynos: Fix the compile error · be1f7c8d
      Jonghwan Choi 提交于
      Commit 7da83a80 ("ARM: EXYNOS: Migrate Exynos specific macros from
      plat to mach") which lands in samsung tree causes build breakage
      for cpufreq-exynos like following:
      
      drivers/cpufreq/exynos-cpufreq.c: In function 'exynos_cpufreq_probe':
      drivers/cpufreq/exynos-cpufreq.c:166:2: error: implicit declaration of function 'soc_is_exynos4210'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4212'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:168:2: error: implicit declaration of function 'soc_is_exynos4412'
      [-Werror=implicit-function-declaration]
      drivers/cpufreq/exynos-cpufreq.c:170:2: error: implicit declaration of function 'soc_is_exynos5250'
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/cpufreq/exynos-cpufreq.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      drivers/cpufreq/exynos4x12-cpufreq.c: In function 'exynos4x12_set_clkdiv':
      drivers/cpufreq/exynos4x12-cpufreq.c:118:2: error: implicit declaration of function 'soc_is_exynos4212'
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/cpufreq/exynos4x12-cpufreq.o] Error 1
      make[1]: *** [drivers/cpufreq] Error 2
      
      This fixes above error with getting SoC information via
      of_machine_is_compatible() instead of soc_is_exynosXXXX().
      Suggested-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NJonghwan Choi <jhbird.choi@samsung.com>
      [kgene.kim@samsung.com: fixed typo and modified as per Viresh's suggestion]
      [kgene.kim@samsung.com: Rafael agreed]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      be1f7c8d
  6. 01 5月, 2014 1 次提交
  7. 30 4月, 2014 1 次提交
  8. 12 3月, 2014 1 次提交
  9. 06 3月, 2014 1 次提交
  10. 17 1月, 2014 2 次提交
  11. 06 1月, 2014 2 次提交
  12. 31 10月, 2013 1 次提交
  13. 26 10月, 2013 1 次提交
    • V
      cpufreq: Implement light weight ->target_index() routine · 9c0ebcf7
      Viresh Kumar 提交于
      Currently, the prototype of cpufreq_drivers target routines is:
      
      int target(struct cpufreq_policy *policy, unsigned int target_freq,
      		unsigned int relation);
      
      And most of the drivers call cpufreq_frequency_table_target() to get a valid
      index of their frequency table which is closest to the target_freq. And they
      don't use target_freq and relation after that.
      
      So, it makes sense to just do this work in cpufreq core before calling
      cpufreq_frequency_table_target() and simply pass index instead. But this can be
      done only with drivers which expose their frequency table with cpufreq core. For
      others we need to stick with the old prototype of target() until those drivers
      are converted to expose frequency tables.
      
      This patch implements the new light weight prototype for target_index() routine.
      It looks like this:
      
      int target_index(struct cpufreq_policy *policy, unsigned int index);
      
      CPUFreq core will call cpufreq_frequency_table_target() before calling this
      routine and pass index to it. Because CPUFreq core now requires to call routines
      present in freq_table.c CONFIG_CPU_FREQ_TABLE must be enabled all the time.
      
      This also marks target() interface as deprecated. So, that new drivers avoid
      using it. And Documentation is updated accordingly.
      
      It also converts existing .target() to newly defined light weight
      .target_index() routine for many driver.
      Acked-by: NHans-Christian Egtvedt <egtvedt@samfundet.no>
      Acked-by: NJesper Nilsson <jesper.nilsson@axis.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NRussell King <linux@arm.linux.org.uk>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Tested-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rjw@rjwysocki.net>
      9c0ebcf7
  14. 17 10月, 2013 1 次提交
  15. 16 10月, 2013 3 次提交
  16. 14 10月, 2013 1 次提交
  17. 01 10月, 2013 1 次提交
  18. 12 8月, 2013 1 次提交
    • B
      cpufreq: fix EXYNOS drivers selection · 45e12086
      Bartlomiej Zolnierkiewicz 提交于
      * remove superfluous pr_debug() call from exynos_cpufreq_init()
        (init errors are always logged anyway)
      * add dummy per-SoC type init functions to exynos-cpufreq.h
      * make per-SoC type cpufreq config options selectable
      * make CONFIG_ARM_EXYNOS_CPUFREQ config option invisible to user and
        automatically enable it when needed
      
      This patch fixes following issues:
      * EXYNOS per-SoC type cpufreq support (i.e. exynos4210-cpufreq.c) being
        always built if given SoC support was enabled (i.e. CPU_EXYNOS4210),
        even if common EXYNOS cpufreq support was disabled
      * inability to select cpufreq for each SoC type separately (it could
        be only enabled/disabled for all SoCs for which support was enabled)
      * EXYNOS5440 cpufreq support was always enabled when EXYNOS5440
        support was enabled and couldn't be disabled
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      45e12086
  19. 08 8月, 2013 1 次提交
  20. 24 6月, 2013 1 次提交
  21. 10 4月, 2013 1 次提交
  22. 02 4月, 2013 1 次提交
  23. 09 2月, 2013 1 次提交
  24. 05 2月, 2013 1 次提交
  25. 01 2月, 2013 1 次提交
  26. 26 1月, 2013 1 次提交
  27. 19 1月, 2013 2 次提交
  28. 11 1月, 2013 1 次提交
  29. 24 12月, 2012 3 次提交
  30. 22 11月, 2012 2 次提交
  31. 20 7月, 2012 1 次提交
    • J
      EXYNOS: bugfix on retrieving old_index from freqs.old · 53df1ad5
      Jonghwa Lee 提交于
      The policy might have been changed since last call of target().
      Thus, using cpufreq_frequency_table_target(), which depends on
      policy to find the corresponding index from a frequency, may return
      inconsistent index for freqs.old. Thus, old_index should be
      calculated not based on the current policy.
      
      We have been observing such issue when scaling_min/max_freq were
      updated and sometimes cuased system lockups deu to incorrectly
      configured voltages.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      53df1ad5
  32. 15 3月, 2012 1 次提交