1. 04 8月, 2010 1 次提交
    • A
      OMAP3630: Add ES1.1 and ES1.2 detection · b0a1a6ce
      Anand Gadiyar 提交于
      Add revision detection for ES1.1 and ES1.2. Set default
      revision as ES1.2.
      
      Add CHIP_GE_OMAP3630ES1_1 to detect revisions 1.1 and later.
      This is needed for at least one feature that is broken in
      3630ES1.0 but exists on older (3430 ES3.1) and newer revisions.
      
      Additionally, update some of the CHIP_GE_* macros to use other
      macros for ease of maintenance.
      Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Manjunatha GK <manjugk@ti.com>
      [tony@atomide.com: update to remove fallthrough handling]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b0a1a6ce
  2. 02 8月, 2010 4 次提交
  3. 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
  4. 24 2月, 2010 1 次提交
  5. 27 1月, 2010 1 次提交
  6. 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
  7. 12 12月, 2009 2 次提交
  8. 23 11月, 2009 9 次提交
  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. 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
  11. 29 5月, 2009 1 次提交
  12. 23 2月, 2009 1 次提交
  13. 30 1月, 2009 1 次提交
  14. 11 12月, 2008 3 次提交
  15. 06 10月, 2008 1 次提交
  16. 06 9月, 2008 2 次提交
  17. 01 9月, 2008 1 次提交
  18. 07 8月, 2008 1 次提交
  19. 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
  20. 21 9月, 2007 1 次提交
  21. 01 7月, 2006 1 次提交
  22. 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