1. 12 12月, 2009 10 次提交
  2. 09 12月, 2009 1 次提交
  3. 23 11月, 2009 4 次提交
    • C
      omap1: Add board support and LCD for HTC Herald · 9c2816f7
      Cory Maccarrone 提交于
      This patch introduces support for the HTC Herald (T-Mobile
      Wing, etc.) series of smart phones -- board support and LCD
      panel settings.
      Signed-off-by: NCory Maccarrone <darkstar6262@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      9c2816f7
    • 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
    • C
      omap1: mmc: Add platform init for omap7xx · 490a5665
      Cory Maccarrone 提交于
      The MMC mux pins normally used by omap chips in devices.c
      are different from what is needed by omap7xx chips.  This
      change adds a conditional around the mux setup code to
      enable the correct mux pins.
      
      The omap730 and omap850 both use a different clock for the "fck"
      clock of the MMC interface than other omap processors based on the
      SOFT_REQ_REG, pin 12.  The "ick" clock is the same as that used
      by other omap processors.
      
      * Added the missing clock definition as mmc3_ck to clock.h
      * Added the clock definition to omap_clks in clock.c
      * Added CK_7XX to the mmci-omap.0 "ick" clock already in clock.c
      
      With these changes, it is now possible to initialize and use MMC
      cards with omap730 and omap850 devices.
      Signed-off-by: NCory Maccarrone <darkstar6262@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      490a5665
    • A
      omap: Eliminate OMAP_MAX_NR_PORTS · 9d30b99f
      Alexander Shishkin 提交于
      Eliminate OMAP_MAX_NR_PORTS
      
      Note that also the null terminator entry for omap1
      serial_platform_data needs to be now removed to avoid
      oopsing.
      
      Note that mach-omap1 uses struct plat_serial8250_port
      array, which requires a null terminator at the end,
      and that's why we need to use ARRAY_SIZE - 1. This
      is not needed on mach-omap2 as the array used is
      struct omap_uart_state, and does not use a null
      terminator.
      Signed-off-by: NAlexander Shishkin <virtuoso@slind.org>
      Acked-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NLadislav Michl <ladis@linux-mips.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      9d30b99f
  4. 23 10月, 2009 2 次提交
    • J
      omap1: Fix DSP public peripherals support for ams-delta · b3dba0b8
      Janusz Krzysztofik 提交于
      DSP public peripherals used to work on OMAP1510 based (or all OMAP1 class?)
      machines as long as old dspgateway code were present in the l-o tree. For
      several months it is no longer included, breaking support for McBSP1 based
      audio on Amstrad Delta, for example.
      
      This patch, derived from the old dspgateway code, corrects the problem for the
      board by simply taking the DSP out of reset state, I guess. That way, things
      should not break when a new dsp code is added to the tree, and the change can
      be reverted then.
      
      If there are any reports on McBSP1 or other DSP public peripherals not working
      for other OMAP1 machines (I've not heard of any for now), I can prepare a more
      general patch providing an extra include file with a helper function defined.
      
      Created and tested against linux-2.6.32-rc5
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b3dba0b8
    • J
      omap1: Fix redundant UARTs pin muxing that can break other hardware support · c33da3a8
      Janusz Krzysztofik 提交于
      Commit 15ac408e removed enabled_uart
      and OMAP_TAG_UART. This works for mach-omap2, but causes issues on
      mach-omap1 for some boards as the mach-omap1 serial.c was muxing
      pins based on the enabled_uart flag for 15xx.
      
      Fix this by muxing pins in board-*.c files for the 15xx boards for
      the uart ports that had enabled_uart flag set before the commit
      above.
      
      Tested on Amsdtrad Delta only.
      
      Note that in the future we should add support for powering down
      the uarts with a timer like mach-omap2/serial.c does. Otherwise
      the enabled uarts will be blocking retention-while-idle.
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c33da3a8
  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. 20 10月, 2009 5 次提交
  7. 17 10月, 2009 1 次提交
  8. 08 10月, 2009 12 次提交
  9. 25 9月, 2009 1 次提交
  10. 29 8月, 2009 3 次提交