1. 09 10月, 2012 1 次提交
    • K
      cpufreq: OMAP: ensure valid clock rate before scaling · 8df0a663
      Kevin Hilman 提交于
      Ensure the clock rate that will be used is a valid one before
      attempting to scale the voltage.  Currently the driver assumes it has
      a valid frequency from the OPP table, but boards using different
      system oscillators might not have exact matches with the OPP table,
      and result in a failing call to clk_set_rate().
      
      This is particularily bad because the voltage may be scaled even
      though the frequency is not.  This will obviously lead to some
      unpredictable behavior, especially if the frequency is high and
      the voltage is dropped.
      
      Thanks to Joni Lapilainen for reporting crashes seen on 3430/n900.
      Reported-by: NJoni Lapilainen <joni.lapilainen@gmail.com>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      8df0a663
  2. 20 9月, 2012 1 次提交
  3. 15 9月, 2012 1 次提交
  4. 09 8月, 2012 1 次提交
  5. 29 3月, 2012 1 次提交
  6. 03 3月, 2012 1 次提交
  7. 22 2月, 2012 1 次提交
    • K
      cpufreq: OMAP: scale voltage along with frequency · 53dfe8a8
      Kevin Hilman 提交于
      Use the regulator framework to get the voltage regulator associated
      with the MPU voltage domain and use it to scale voltage along with
      frequency.
      
      While here, CONFIG_CPU_FREQ_DEBUG doesn't exist anymore, so move
      debug prints to use dev_dbg().
      
      Special thanks to Afzal Mohammed for suggestions on more robust error
      checking.
      
      Cc: Afzal Mohammed  <afzal@ti.com>
      Signed-off-by: NKevin Hilman <khilman@ti.com>
      53dfe8a8
  8. 11 11月, 2011 1 次提交
  9. 09 11月, 2011 10 次提交
  10. 03 3月, 2011 1 次提交
    • M
      arm: omap: fix section mismatch warning · 790ab7e9
      Ming Lei 提交于
      WARNING: arch/arm/plat-omap/built-in.o(.data+0x6d4): Section mismatch in reference from the variable omap_driver to the function .init.text:omap_cpu_init()
      The variable omap_driver references
      the function __init omap_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: NMing Lei <tom.leiming@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      790ab7e9
  11. 09 10月, 2010 1 次提交
    • M
      OMAP: plat-omap: Fix static function warnings · b0a330dc
      Manjunath Kondaiah G 提交于
      This patch fixes sparse warnings due non declarations of static functions.
      
      arch/arm/plat-omap/sram.c:130:13: warning: symbol 'omap_detect_sram' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:216:13: warning: symbol 'omap_map_sram' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:450:12: warning: symbol 'omap_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:348:12: warning: symbol 'omap242x_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:369:12: warning: symbol 'omap243x_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:425:12: warning: symbol 'omap34xx_sram_init' was not declared. Should it be static?
      arch/arm/plat-omap/sram.c:441:12: warning: symbol 'omap44xx_sram_init' was not declared. Should it be static
      
      arch/arm/plat-omap/mcbsp.c:36:6: warning: symbol 'omap_mcbsp_write' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:50:5: warning: symbol 'omap_mcbsp_read' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:65:6: warning: symbol 'omap_mcbsp_st_write' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:70:5: warning: symbol 'omap_mcbsp_st_read' was not declared. Should it be static?
      arch/arm/plat-omap/mcbsp.c:1648:15: warning: symbol 'omap_st_add' was not declared. Should it be static?
      
      arch/arm/plat-omap/fb.c:414:15: warning: symbol 'omapfb_reserve_sram' was not declared. Should it be static?
      arch/arm/plat-omap/cpu-omap.c:43:5: warning: symbol 'omap_verify_speed' was not declared. Should it be static?
      arch/arm/plat-omap/cpu-omap.c:61:14: warning: symbol 'omap_getspeed' was not declared. Should it be static?
      Signed-off-by: NManjunath Kondaiah G <manjugk@ti.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Nishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b0a330dc
  12. 09 1月, 2010 1 次提交
    • P
      OMAP clock/CPUFreq: add clk_exit_cpufreq_table() · 4e37c10d
      Paul Walmsley 提交于
      A subsequent patch adds code on OMAP2xxx to dynamically allocate the
      CPUFreq frequency table in clk_init_cpufreq_table(), so for it to
      avoid a leak, it will need a corresponding function to free the
      memory.  This patch adds clk_exit_cpufreq_table() with generic
      code to call a chip-specific variant inside the clockfw_lock spinlock via
      struct clk_functions.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      4e37c10d
  13. 12 11月, 2009 1 次提交
  14. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  15. 06 8月, 2009 1 次提交
  16. 09 2月, 2009 1 次提交
  17. 06 9月, 2008 1 次提交
  18. 07 8月, 2008 2 次提交
  19. 05 3月, 2008 1 次提交
    • H
      ARM: OMAP: Fix sleep under spinlock for cpufreq · b8488fbe
      Hiroshi DOYU 提交于
      [   10.523437] BUG: sleeping function called from invalid context at kernel/mut6
      [   10.523437] in_atomic():0, irqs_disabled():128
      [   10.523437] [<c002c168>] (dump_stack+0x0/0x14) from [<c005374c>] (__might_sl)
      [   10.523437] [<c0053698>] (__might_sleep+0x0/0xd4) from [<c024fdf4>] (mutex_l)
      [   10.523437]  r5 = C02F0DE8  r4 = C02F0DF0
      [   10.523437] [<c024fdd4>] (mutex_lock+0x0/0x44) from [<c0041df4>] (clk_get+0x)
      [   10.523437]  r4 = 00000000
      [   10.523437] [<c0041da4>] (clk_get+0x0/0x128) from [<c0046520>] (omap_getspee)
      [   10.523437]  r8 = 00000002  r7 = 00000000  r6 = C031DAF8  r5 = C0473980
      [   10.523437]  r4 = 00000000
      [   10.523437] [<c00464fc>] (omap_getspeed+0x0/0x5c) from [<c01b8518>] (cpufreq)
      [   10.523437]  r5 = C0473980  r4 = 00000002
      Signed-off-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b8488fbe
  20. 05 10月, 2007 1 次提交
  21. 27 6月, 2006 1 次提交
  22. 08 1月, 2006 1 次提交
  23. 29 9月, 2005 1 次提交
  24. 11 7月, 2005 1 次提交