1. 13 4月, 2012 1 次提交
    • P
      ARM: OMAP1: OHCI: use platform_data fn ptr to enable OCPI bus · d3645d39
      Paul Walmsley 提交于
      The OMAP1 OHCI driver needs to enable the OCPI IP block before it can
      work.  Previously, the driver was simply calling a symbol defined in
      the OMAP platform code, but this is incorrect: drivers should be fully
      decoupled from platform and architecture code.
      
      So instead, modify the driver to call through a platform_data function
      pointer instead.  We skip any DT aspect, since OMAP1 is not scheduled
      to be converted to DT in the near future.
      
      This resolves the following sparse warning:
      
      It also gets rid of a cpu_is_omap16xx() call in a driver.
      
      In the long term, it probably makes sense to move the OCPI bus code to
      somewhere under drivers/.  This should avoid the whole platform_data/DT
      issue with this function.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Anand Gadiyar <gadiyar@ti.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      d3645d39
  2. 05 7月, 2010 3 次提交
  3. 12 12月, 2009 1 次提交
  4. 23 11月, 2009 1 次提交
    • C
      omap1: omap_udc: Add clocking and disable vbus sense for omap7xx · 45f780a0
      Cory Maccarrone 提交于
      The l3_ocpi_ck clock is needed on omap7xx processors for USB.
      Additionally, bit 8 of the SOFT_REQ_REG needs to be enabled for
      the usb_dc_ck on omap7xx, which is a different bit than that
      of the omap16xx-defined clock of the same name.
      
      I added a provision for the usb_dc_ck and l3_ocpi_ck clocks as
      dc_clk and hhc_clk, respectively, for omap7xx CPUs.  Additionally,
      I added a check in machine_without_vbus_sense for all omap7xx
      devices, as presently I know of no omap7xx-based devices that
      have vbus sense, and it made more sense to me to use a cpu check
      here than to spell out each machine one at a time.  Finally, DMA
      is disabled for omap7xx, as it causes problems with these chips.
      
      Cc: linux-usb@vger.kernel.org
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NCory Maccarrone <darkstar6262@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      45f780a0
  5. 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
  6. 08 10月, 2009 2 次提交
  7. 24 3月, 2009 1 次提交
    • F
      ARM: OMAP: get rid of OMAP_TAG_USB, v2 · b0b5aa3f
      Felipe Balbi 提交于
      OMAP_TAGS should vanish soon since they're not generic arm tags.
      Most of them can be converted to a platform_data or parsed
      from a command line like e.g. serial tag.
      
      For OMAP_TAG_USB we just let boards call omap_usb_init()
      passing a pointer to omap_usb_config.
      
      Patch updated by Tony for mainline, basically make
      n770 and h4 compile. Also folded in a fix for OSK
      by David Brownell <dbrownell@users.sourceforge.net>.
      Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b0b5aa3f
  8. 25 1月, 2009 1 次提交
  9. 08 1月, 2009 2 次提交
  10. 06 9月, 2008 1 次提交
  11. 07 8月, 2008 2 次提交
  12. 03 7月, 2008 1 次提交
  13. 15 4月, 2008 1 次提交
  14. 21 5月, 2007 1 次提交
  15. 09 5月, 2007 1 次提交
  16. 28 9月, 2006 1 次提交
  17. 01 7月, 2006 1 次提交
  18. 10 11月, 2005 1 次提交
  19. 30 10月, 2005 1 次提交
  20. 29 9月, 2005 1 次提交
  21. 08 9月, 2005 1 次提交
    • T
      [ARM] 2887/1: OMAP 2/4: Update files common to omap1 and omap2, take 2 · 92105bb7
      Tony Lindgren 提交于
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with linux-omap tree.
      The highlights of the patch are:
      - Clock updates by Tuukka Tikkanen, Juha Yrjola,
        Daniel Petrini and Tony Lindgren
      - DMA fixes by Imre Deak, Juha Yrjola and Daniel Petrini
      - Add support to dual-mode hardware timers by Lauri Leukkunen
      - GPIO support for 24xx by Paul Mundt
      - GPIO wake-up support by Tony Lindgren
      - Better GPIO interrupt handler to not lose interrupts by
        Ralph Walden and Ladislav Michl
      - Power Management updates by Tuukka Tikkanen
      - Make Power Management code use new SRAM functions by
        Tony Lindgren
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      92105bb7
  22. 11 7月, 2005 2 次提交