1. 02 8月, 2010 2 次提交
    • S
      OMAP3: AM3505/3517 do not have IO wakeup capability · ad0c63f1
      stanley.miao 提交于
      AM3505/3517 doesn't have IO wakeup capability, so we do not need to set
      the bit OMAP3430_EN_IO and the bit OMAP3430_EN_IO_CHAIN in the register
      PM_WKEN_WKUP when the system enters suspend state.
      
      Tested on AM3517EVM and OMAP3530EVM.
      Signed-off-by: NStanley.Miao <stanley.miao@windriver.com>
      Acked-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ad0c63f1
    • N
      omap2/3: id: fix sparse warning · 5ebc0d52
      Nishanth Menon 提交于
      omap24xx_check_revision, omap3_check_features,
      omap3_check_revision, omap4_check_revision, omap3_cpuinfo
      are not used elsewhere, it should be static
      
      Also fixes the following sparse warnings:
      arch/arm/mach-omap2/id.c:105:13: warning: symbol 'omap24xx_check_revision'
      was not declared. Should it be static?
      arch/arm/mach-omap2/id.c:167:13: warning: symbol 'omap3_check_features'
      was not declared. Should it be static?
      arch/arm/mach-omap2/id.c:189:13: warning: symbol 'omap3_check_revision'
      was not declared. Should it be static?
      arch/arm/mach-omap2/id.c:270:13: warning: symbol 'omap4_check_revision'
      was not declared. Should it be static?
      arch/arm/mach-omap2/id.c:300:13: warning: symbol 'omap3_cpuinfo'
      was not declared. Should it be static?
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      5ebc0d52
  2. 25 2月, 2010 1 次提交
    • V
      OMAP3 clock: add support for 192Mhz DPLL4M2 output · 7356f0b2
      Vishwanath BS 提交于
      In 3630, DPLL4M2 output can be 96MHz or 192MHz (for SGX to run at
      192). This patch has changes to support this feature. 96MHz clock is
      generated by dividing 192Mhz clock by 2 using CM_CLKSEL_CORE register.
      SGX can select Core Clock, 192MHz clock or CM_96M_FCLK as it's
      functional clock. In summary changes done are:
      1. Added a feature called omap3_has_192mhz_clk and enabled for 3630
      2. Added a new clock node called omap_192m_alwon_ck
      3. Made omap_96m_alwon_fck to derive its clock from omap_192m_alwon_ck
      Signed-off-by: NVishwanath BS <Vishwanath.bs@ti.com>
      [paul@pwsan.com: fixed whitespace]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      7356f0b2
  3. 24 2月, 2010 1 次提交
  4. 27 1月, 2010 1 次提交
  5. 20 1月, 2010 1 次提交
    • T
      omap3: Fix cpu detection · e9acb9b6
      Tony Lindgren 提交于
      We need to set the omap_chip.oc carefully for the clocks to work.
      
      To fix this, set the omap_chip.oc in omap3_check_features() based
      on the CONTROL_IDCODE and silicon revision registers.
      
      Also add handling for 34xx es3.1.2 as es3.1 for now.
      
      Fixes booting on at least overo board.
      
      Based on an earlier patch by Paul Walmsley <paul@pwsan.com>.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e9acb9b6
  6. 12 12月, 2009 2 次提交
  7. 23 11月, 2009 9 次提交
  8. 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
  9. 23 6月, 2009 1 次提交
    • K
      OMAP2/3: Add omap_type() for determining GP/EMU/HS · 8e25ad96
      Kevin Hilman 提交于
      The omap_type() function is added and returns the DEVICETYPE field of
      the CONTROL_STATUS register.  The result can be used for conditional
      code based on whether device is GP (general purpose), EMU or
      HS (high security). Also move the type defines so omap1 code
      compile does not require ifdefs for sections using these defines.
      
      This code is needed for the following fix to set the SRAM
      size correctly for HS omaps.  Also at least PM and watchdog
      code will need this function.
      Signed-off-by: NKevin Hilman <khilman@ti.deeprootsystems.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      8e25ad96
  10. 29 5月, 2009 1 次提交
  11. 23 2月, 2009 1 次提交
  12. 30 1月, 2009 1 次提交
  13. 11 12月, 2008 3 次提交
  14. 06 10月, 2008 1 次提交
  15. 06 9月, 2008 2 次提交
  16. 01 9月, 2008 1 次提交
  17. 07 8月, 2008 1 次提交
  18. 03 7月, 2008 1 次提交
    • P
      ARM: OMAP: Add OMAP chip type structure; clean up mach-omap2/id.c · 097c584c
      Paul Walmsley 提交于
      Add a new OMAP chip identification interface, omap_chip_id.
      omap_chip_id is a structure which contains one bit for each OMAP2/3
      CPU type, and on 3430, ES level.  For example, the CHIP_IS_OMAP2420
      bit is set in omap_chip at boot on an OMAP2420.  On OMAP3430ES2, both
      CHIP_IS_OMAP3430 and CHIP_IS_OMAP3430ES2 bits are set.
      
      omap_chip is set in mach-omap2/id.c by _set_omap_chip(). Other
      code should use the omap_chip_is() function to test against omap_chip.
      
      Also, clean up id.c by splitting some code out of
      omap_check_revision() into its own function, _set_system_rev(); and
      converting some debug printk()s into pr_debug().
      
      Second revision.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      097c584c
  19. 21 9月, 2007 1 次提交
  20. 01 7月, 2006 1 次提交
  21. 10 11月, 2005 1 次提交
    • T
      [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx · 1dbae815
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch adds support for omap24xx series of processors.
      The files live in arch/arm/mach-omap2, and share common
      files with omap15xx and omap16xx processors in
      arch/arm/plat-omap.
      
      Omap24xx support was originally added for 2.6.9 by TI.
      This code was then improved and integrated to share common
      code with omap15xx and omap16xx processors by various
      omap developers, such as Paul Mundt, Juha Yrjola, Imre Deak,
      Tony Lindgren, Richard Woodruff, Nishant Menon, Komal Shah
      et al.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1dbae815