1. 04 5月, 2011 1 次提交
    • D
      [CPUFREQ] use dynamic debug instead of custom infrastructure · 2d06d8c4
      Dominik Brodowski 提交于
      With dynamic debug having gained the capability to report debug messages
      also during the boot process, it offers a far superior interface for
      debug messages than the custom cpufreq infrastructure. As a first step,
      remove the old cpufreq_debug_printk() function and replace it with a call
      to the generic pr_debug() function.
      
      How can dynamic debug be used on cpufreq? You need a kernel which has
      CONFIG_DYNAMIC_DEBUG enabled.
      
      To enabled debugging during runtime, mount debugfs and
      
      $ echo -n 'module cpufreq +p' > /sys/kernel/debug/dynamic_debug/control
      
      for debugging the complete "cpufreq" module. To achieve the same goal during
      boot, append
      
      	ddebug_query="module cpufreq +p"
      
      as a boot parameter to the kernel of your choice.
      
      For more detailled instructions, please see
      Documentation/dynamic-debug-howto.txt
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: NDave Jones <davej@redhat.com>
      2d06d8c4
  2. 31 3月, 2011 1 次提交
  3. 01 3月, 2011 1 次提交
    • A
      davinci: cpufreq: fix section mismatch warning · 079db590
      Axel Lin 提交于
      Fix below section mismatch warning:
      WARNING: vmlinux.o(.data+0x673c): Section mismatch in reference from the variable davinci_driver to the function .init.text:davinci_cpu_init()
      The variable davinci_driver references
      the function __init davinci_cpu_init()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      079db590
  4. 24 9月, 2010 2 次提交
    • S
      davinci: cpufreq: add support for keeping an additional clock constant · 30a2c5d2
      Sekhar Nori 提交于
      On OMAP-L138 SoC, some of the sysclks need not be at a fixed ratio
      to CPU clock and can be kept at a relatively constant rate by
      adjusting the PLLDIVn ratio even as cpufreq goes ahead and changes
      the CPU clock.
      
      This feature can be used to keep the EMIFA (PLL0 SYSCLK3) clock at a
      constant rate so that the EMIF timings need not be re-programmed
      whenever the CPU frequency changes.
      
      This patch adds the required suppport to cpufreq driver.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      30a2c5d2
    • S
      davinci: cpufreq: bailout on regulator errors · fca97b33
      Sekhar Nori 提交于
      Current cpufreq code does not consider errors that can occur while
      changing voltage. Code to increase CPU  frequency goes ahead even in
      the case the regulator has failed to increase the voltage. This leads
      to hard error since lower voltages cannot support increased frequency.
      
      Prevent this by not increasing frequency in case increasing voltage
      is not successful.
      
      Also, do not lower the voltage if changing the cpu frequency has failed
      for some reason.
      
      Note that we do not return error on failure to decrease voltage as
      that is not a hard error.
      
      Build fix for non-cpufreq kernels by Caglar Akyuz.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Cc: Caglar Akyuz <caglar@bilkon-kontrol.com.tr>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      fca97b33
  5. 26 11月, 2009 2 次提交