1. 23 12月, 2010 3 次提交
  2. 22 12月, 2010 9 次提交
  3. 02 10月, 2010 1 次提交
    • L
      OMAP: PM: Fix build when CONFIG_PM_DEBUG isn't set · ebfa88cf
      Loïc Minier 提交于
      Since 6cdee912 the references to
      enable_off_mode and sleep_while_idle can't be resolved when CONFIG_PM_DEBUG
      isn't set:
      arch/arm/mach-omap2/built-in.o: In function `omap_uart_restore_context':
      arch/arm/mach-omap2/serial.c:253: undefined reference to `enable_off_mode'
      arch/arm/mach-omap2/built-in.o: In function `omap3_can_sleep':
      arch/arm/mach-omap2/pm34xx.c:479: undefined reference to `sleep_while_idle'
      
      Simply #define these in pm.h just like omap2_pm_debug.
      Signed-off-by: NLoïc Minier <loic.minier@linaro.org>
      [khilman: moved down into existing #ifdef section]
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      ebfa88cf
  4. 24 9月, 2010 2 次提交
  5. 13 5月, 2010 1 次提交
  6. 24 2月, 2010 3 次提交
    • K
      OMAP3: cpuidle: Add valid field into C-state parameter passing · 709731bb
      Kalle Jokiniemi 提交于
      Different boards benefit differently from the available
      seven C-states for cpu idle. In most cases, only few,
      properly spaced (in terms of consumption and latency)
      C-states are required to make the power management
      optimal. Hence we need a possibility to pass which
      C-states are actually used for each board.
      
      So added the valid field to cpuidle_params and added
      support to 3430sdp, which uses the paramenter passing.
      Signed-off-by: NKalle Jokiniemi <kalle.jokiniemi@digia.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      709731bb
    • K
      OMAP3: cpuidle: configure latencies/thresholds from board file · bb4de3df
      Kevin Hilman 提交于
      The CPUidle C state latencies and thresholds are dependent on various
      board specific details.  This patch makes it possible to configure
      these values from the respective board files.
      
      omap3_pm_init_cpuidle() can now be optionally called from board files
      to pass board specific cpuidle parameters.  If the board files do not
      use this function to pass the params default values are used which
      might cause higher consumption dur to wrong state selection by the
      governor.
      
      This patch only updates the 3430sdp board files to use
      omap3_pm_init_cpuidle().
      
      From Kalle, in addition to original patch from Rajendra:
      
      Building without CONFIG_CPU_IDLE or CONFIG_PM causes build to fail if
      cpu idle parameters are tried to pass using omap3_pm_init_cpuidle
      function.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NKalle Jokiniemi <kalle.jokiniemi@digia.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      bb4de3df
    • S
      OMAP3: cpuidle: Update statistics for correct state · 6af83b38
      Sanjeev Premi 提交于
      When 'enable_off_mode' is 0, the target power state for MPU
      and CORE was locally changed to PWRDM_POWER_RET but, the
      statistics are updated for idle state originally selected
      by the governor.
      
      This patch 'invalidates' the idle states that lead either of
      MPU or Core to PWRDM_POWER_OFF state when 'enable_off_mode'
      is '0'. The states are valid once 'enable_off_mode' is set
      to '1'.
      
      Added function next_valid_state() to check if current state
      is valid; else get the next valid state. It is called from
      omap3_enter_idle_bm().
      Signed-off-by: NSanjeev Premi <premi@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      6af83b38
  7. 21 1月, 2010 1 次提交
    • M
      OMAP3: PM debug: fix build error when !CONFIG_DEBUG_FS · ae559d87
      Manjunatha GK 提交于
      The PM debug code fails to build on when CONFIG_DEBUG_FS is not
      enabled.
      
      Build error log:
      arch/arm/mach-omap2/built-in.o: In function `omap_sram_idle':
      arch/arm/mach-omap2/pm34xx.c:449: undefined reference to `pm_dbg_regset_save'
      arch/arm/mach-omap2/pm34xx.c:460: undefined reference to `pm_dbg_regset_save'
      arch/arm/mach-omap2/built-in.o: In function `configure_vc':
      arch/arm/mach-omap2/pm34xx.c:1237: undefined reference to `pm_dbg_regset_init'
      arch/arm/mach-omap2/pm34xx.c:1238: undefined reference to `pm_dbg_regset_init'
      make: *** [.tmp_vmlinux1] Error 1
      
      This patch fixes the above errors.
      
      Kernel booting is tested on omap zoom2 and zoom3 boards.
      Signed-off-by: NManjunatha GK <manjugk@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      ae559d87
  8. 12 11月, 2009 6 次提交
  9. 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
  10. 03 9月, 2009 3 次提交
  11. 06 8月, 2009 1 次提交
  12. 29 5月, 2009 1 次提交
    • K
      OMAP2/3: PM: push core PM code from linux-omap · 8bd22949
      Kevin Hilman 提交于
      This patch is to sync the core linux-omap PM code with mainline.  This
      code has evolved and been used for a while the linux-omap tree, but
      the attempt here is to finally get this into mainline.
      
      Following this will be a series of patches from the 'PM branch' of the
      linux-omap tree to add full PM hardware support from the linux-omap
      tree.
      
      Much of this PM core code was written by Jouni Hogander with
      significant contributions from Paul Walmsley as well as many others
      from Nokia, Texas Instruments and linux-omap community.
      Signed-off-by: NJouni Hogander <jouni.hogander@nokia.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      8bd22949