1. 04 10月, 2013 1 次提交
  2. 15 1月, 2013 1 次提交
  3. 17 11月, 2012 1 次提交
  4. 01 11月, 2012 1 次提交
    • T
      ARM: OMAP: Remove plat-omap/common.h · 5c2e8852
      Tony Lindgren 提交于
      Most of the prototypes in plat-omap/common.h are not
      common to omap1 and omap2+, they are local to omap2+
      and should not be in plat-omap/common.h.
      
      The only shared function prototype in this file is
      omap_init_clocksource_32k(), let's put that into
      counter-32k.h.
      
      Note that the new plat/counter-32k.h must not be
      included from drivers, that will break omap2+ build
      for CONFIG_MULTIPLATFORM.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5c2e8852
  5. 01 8月, 2012 1 次提交
  6. 10 5月, 2012 2 次提交
    • V
      ARM: OMAP: Make OMAP clocksource source selection using kernel param · 1fe97c8f
      Vaibhav Hiremath 提交于
      Current OMAP code supports couple of clocksource options based
      on compilation flag (CONFIG_OMAP_32K_TIMER). The 32KHz sync-timer
      and a gptimer which can run on 32KHz or system clock (e.g 38.4 MHz).
      So there can be 3 options -
      
      1. 32KHz sync-timer
      2. Sys_clock based (e.g 13/19.2/26/38.4 MHz) gptimer
      3. 32KHz based gptimer.
      
      The optional gptimer based clocksource was added so that it can
      give the high precision than sync-timer, so expected usage was 2
      and not 3.
      Unfortunately option 2, clocksource doesn't meet the requirement of
      free-running clock as per clocksource need. It stops in low power states
      when sys_clock is cut. That makes gptimer based clocksource option
      useless for OMAP2/3/4 devices with sys_clock as a clock input.
      So, in order to use option 2, deeper idle state MUST be disabled.
      
      Option 3 will still work but it is no better than 32K sync-timer
      based clocksource.
      
      We must support both sync timer and gptimer based clocksource as
      some OMAP based derivative SoCs like AM33XX does not have the
      sync timer.
      
      Considering above, make sync-timer and gptimer clocksource runtime
      selectable so that both OMAP and AMXXXX continue to use the same code.
      
      And, in order to precisely configure/setup sched_clock for given
      clocksource, decision has to be made early enough in boot sequence.
      
      So, the solution is,
      
      Use standard kernel parameter ("clocksource=") to override
      default 32k_sync-timer, in addition to this, we also use hwmod database
      lookup mechanism, through which at run-time we can identify availability
      of 32k-sync timer on the device, else fall back to gptimer.
      
      Also, moved low-level SoC specific init code to respective files,
      (mach-omap1/timer32k.c and mach-omap2/timer.c)
      Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Reviewed-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: NKevin Hilman <khilman@ti.com>
      Tested-by: NKevin Hilman <khilman@ti.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
      Cc: Ming Lei <tom.leiming@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      1fe97c8f
    • V
      ARM: OMAP1: Add checks for possible error condition in timer_init · 18799911
      Vaibhav Hiremath 提交于
      On OMAP1, omap_32k_timer_init() function always returns "true",
      irrespective of whether error occurred while initializing 32k sync
      counter as a kernel clocksource or not and execution will never
      fallback to mpu_timer clocksource init code.
      
      This patch adds check for return value from function
      omap_init_clocksource_32k(), and fallback to omap_mpu_timer_init()
      in case of failure/error from omap_init_clocksource_32k().
      Signed-off-by: NVaibhav Hiremath <hvaibhav@ti.com>
      Acked-by: NKevin Hilman <khilman@ti.com>
      Tested-by: NKevin Hilman <khilman@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      18799911
  7. 29 3月, 2012 1 次提交
  8. 25 2月, 2012 1 次提交
  9. 18 11月, 2011 1 次提交
  10. 28 6月, 2011 1 次提交
  11. 20 1月, 2011 1 次提交
  12. 23 4月, 2010 1 次提交
  13. 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
  14. 13 12月, 2008 1 次提交
  15. 06 9月, 2008 1 次提交
  16. 07 8月, 2008 2 次提交
  17. 15 4月, 2008 4 次提交
  18. 22 8月, 2007 1 次提交
  19. 22 7月, 2007 1 次提交
  20. 09 5月, 2007 1 次提交
  21. 22 4月, 2007 1 次提交
  22. 07 10月, 2006 1 次提交
  23. 25 9月, 2006 2 次提交
  24. 03 7月, 2006 1 次提交
  25. 02 7月, 2006 1 次提交
  26. 01 7月, 2006 1 次提交
  27. 27 6月, 2006 1 次提交
  28. 22 6月, 2006 1 次提交
  29. 03 4月, 2006 1 次提交
  30. 10 11月, 2005 1 次提交
    • T
      [ARM] 3141/1: OMAP 1/5: Update omap1 specific files · 3179a019
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with linux-omap tree.
      The highlights of the patch are:
      
      - Omap1 serial pport and framebuffer init updates by Imre Deak
      
      - Add support for omap310 processor and Palm Tungsten E PDA
        by Laurent Gonzales, Romain Goyet, et al. Omap310 and
        omap1510 processors are now handled as omap15xx.
      
      - Omap1 specific changes to shared omap clock framework
        by Tony Lindgren
      
      - Omap1 specific changes to shared omap pin mux framework
        by Tony Lindgren
      
      - Other misc fixes, such as update memory timings for smc91x,
        omap1 specific device initialization etc.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3179a019
  31. 09 9月, 2005 1 次提交
    • T
      [ARM] 2890/1: OMAP 1/4: Update omap1 specific files, take 2 · 7c38cf02
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with linux-omap tree.
      The highlights of the patch are:
      - Convert more drivers to register resources in board-*.c to take
        advantage of the driver model by David Brownell and Ladislav Michl
      - Use set_irq_type() for GPIO interrupts instead of
        omap_set_gpio_edge_ctrl() by David Brownell
      - Add minimal support for handling optional add-on boards, such as
        OSK Mistral board with LCD and keypad, by David Brownell
      - Minimal support for loading functions to SRAM by Tony Lindgren
      - Wake up from serial port by muxing RX lines temporarily into GPIO
        interrupts by Tony Lindgren
      - 32KHz sched_clock by Tony Lindgren and Juha Yrjola
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7c38cf02
  32. 11 7月, 2005 1 次提交
  33. 30 6月, 2005 1 次提交
  34. 27 6月, 2005 1 次提交