1. 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
  2. 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
  3. 26 11月, 2009 2 次提交