1. 29 10月, 2010 1 次提交
  2. 20 10月, 2010 1 次提交
    • N
      arm: remove machine_desc.io_pg_offst and .phys_io · 6451d778
      Nicolas Pitre 提交于
      Since we're now using addruart to establish the debug mapping, we can
      remove the io_pg_offst and phys_io members of struct machine_desc.
      
      The various declarations were removed using the following script:
      
        grep -rl MACHINE_START arch/arm | xargs \
        sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
      
      [ Initial patch was from Jeremy Kerr, example script from Russell King ]
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: Eric Miao <eric.miao at canonical.com>
      6451d778
  3. 09 10月, 2010 5 次提交
    • D
      omap4: pandaboard: enable the ehci port on pandaboard · 4415beb6
      David Anders 提交于
      The OMAP4 PandaBoard has EHCI port1 hooked up to an external
      SMSC3320 transciever. GPIO 1 is used to power on the transceiver
      and GPIO 62 for reset on the transceiver.
      Signed-off-by: NDavid Anders <x0132446@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      4415beb6
    • D
      omap4: pandaboard: Fix the init if CONFIG_MMC_OMAP_HS is not set · b9b52620
      David Anders 提交于
      Avoid possible crash if CONFIG_MMC_OMAP_HS is not set.
      Signed-off-by: NDavid Anders <x0132446@ti.com>
      Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b9b52620
    • D
      omap4: pandaboard: remove unused hsmmc definition · 191183b9
      David Anders 提交于
      remove the second hsmmc definition as it is only used on the
      expansion header of the PandaBoard and can be mux for other
      functions.
      Signed-off-by: NDavid Anders <x0132446@ti.com>
      Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      191183b9
    • P
      OMAP: control: move plat-omap/control.h to mach-omap2/control.h · 4814ced5
      Paul Walmsley 提交于
      Only OMAP2+ platforms have the System Control Module (SCM) IP block.
      In the past, we've kept the SCM header file in plat-omap.  This has
      led to abuse - device drivers including it; includes being added that
      create implicit dependencies on OMAP2+ builds; etc.
      
      In response, move the SCM headers into mach-omap2/.
      
      As part of this, remove the direct SCM access from the OMAP UDC
      driver.  It was clearly broken.  The UDC code needs an indepth review for
      use on OMAP2+ chips.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Cory Maccarrone <darkstar6262@gmail.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      4814ced5
    • M
      OMAP2plus: Fix static function warnings · 04aeae77
      Manjunath Kondaiah G 提交于
      This patch fixes sparse warnings due non declarations of static functions.
      
      arch/arm/mach-omap2/timer-gp.c:115:12: warning: symbol 'omap2_gp_clockevent_set_gptimer' was not declared. Should it be static?
      arch/arm/mach-omap2/powerdomain.c:993:5: warning: symbol 'pwrdm_set_lowpwrstchange' was not declared. Should it be static?
      arch/arm/mach-omap2/board-flash.c:141:8: warning: symbol 'board_nand_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-n8x0.c:416:6: warning: symbol 'n8x0_mmc_slot1_cover_handler' was not declared. Should it be static?
      arch/arm/mach-omap2/board-n8x0.c:544:13: warning: symbol 'n8x0_mmc_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-rx51-peripherals.c:902:13: warning: symbol 'rx51_peripherals_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-rx51-video.c:107:13: warning: symbol 'rx51_video_mem_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-zoom-debugboard.c:155:12: warning: symbol 'zoom_debugboard_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-zoom-peripherals.c:280:13: warning: symbol 'zoom_peripherals_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-igep0020.c:110:13: warning: symbol 'igep2_flash_init' was not declared. Should it be static?
      arch/arm/mach-omap2/board-am3517evm.c:109:6: warning: symbol 'am3517_evm_ethernet_init' was not declared. Should it be static?
      drivers/mtd/onenand/omap2.c:577:5: warning: symbol 'omap2_onenand_rephase' was not declared. Should it be static?
      Signed-off-by: NManjunath Kondaiah G <manjugk@ti.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: Nishanth Menon <nm@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      04aeae77
  4. 28 9月, 2010 1 次提交
  5. 25 9月, 2010 1 次提交
  6. 24 9月, 2010 1 次提交
    • S
      omap2: fix assorted compiler warnings · ca828760
      Sanjeev Premi 提交于
      This patch fixes these compiler warnings:
      
        CC      arch/arm/mach-omap2/mux.o
      arch/arm/mach-omap2/mux.c: In function 'omap_mux_init_gpio':
      arch/arm/mach-omap2/mux.c:90: warning: 'gpio_mux' may be used uninitial
      ized in this function
      
        CC      arch/arm/plat-omap/gpio.o
      arch/arm/plat-omap/gpio.c: In function 'omap2_gpio_resume_after_idle':
      arch/arm/plat-omap/gpio.c:2152: warning: 'l' may be used uninitialized
      in this function
      arch/arm/plat-omap/gpio.c: In function 'omap2_gpio_prepare_for_idle':
      arch/arm/plat-omap/gpio.c:2085: warning: 'l2' may be used uninitialized
      in this function
      arch/arm/plat-omap/gpio.c:2085: warning: 'l1' may be used uninitialized
      in this function
      
        CC      arch/arm/mach-omap2/board-omap4panda.o
      arch/arm/mach-omap2/board-omap4panda.c: In function 'omap4_panda_init':
      arch/arm/mach-omap2/board-omap4panda.c:277: warning: unused variable 's
      tatus'
      Signed-off-by: NSanjeev Premi <premi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ca828760
  7. 02 8月, 2010 4 次提交
  8. 16 7月, 2010 1 次提交
  9. 21 5月, 2010 5 次提交
  10. 12 3月, 2010 1 次提交
  11. 24 2月, 2010 2 次提交
    • S
      omap4: multi-omap: Allow build to work · ae46ec77
      Santosh Shilimkar 提交于
      The musb support is enabled in omap3 platforms. For omap4 only board
      support is available and the driver still isn't supported.
      Because of this build with omap3_defconfig used for multi-omap
      doesn't work on omap4430 sdp.
      
      This patch avoids usb_musb_init() by adding a cpu check
      in the board file.
      
      Thanks to Anand Gadiyar and Mankad Maulik for the suggestion
      of patching board file instead of musb driver.
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ae46ec77
    • M
      omap: musb: Add USB support to 4430 SDP board file · bce06683
      Maulik Mankad 提交于
      This patch adds support for Mentor USB to 4430 SDP board
      file.
      
      It also defines the base address for HS USB OTG controller
      in OMAP4.
      
      Also updates platform specfic structure with base address
      and IRQ details.
      Signed-off-by: NMaulik Mankad <x0082077@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Felipe Balbi <felipe.balbi@nokia.com>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: Olof Johansson <olof@lixom.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      bce06683
  12. 16 2月, 2010 3 次提交
  13. 23 10月, 2009 1 次提交
  14. 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
  15. 20 10月, 2009 2 次提交
  16. 29 8月, 2009 2 次提交
  17. 28 7月, 2009 1 次提交
  18. 25 7月, 2009 1 次提交
    • J
      OMAP3 SDRC: add support for 2 SDRAM chip selects · 58cda884
      Jean Pihet 提交于
      Some OMAP3 boards (Beagle Cx, Overo, RX51, Pandora) have 2
      SDRAM parts connected to the SDRC.
      
      This patch adds the following:
      - add a new argument of type omap_sdrc_params struct*
      to omap2_init_common_hw and omap2_sdrc_init for the 2nd CS params
      - adapted the OMAP boards files to the new prototype of
      omap2_init_common_hw
      - add the SDRC 2nd CS registers offsets defines
      - adapt the sram sleep code to configure the SDRC for the 2nd CS
      
      Note: If the 2nd param to omap2_init_common_hw is NULL, then the
      parameters are not programmed into the SDRC CS1 registers
      
      Tested on 3430 SDP and Beagleboard rev C2 and B5, with
      suspend/resume and frequency changes (cpufreq).
      Signed-off-by: NJean Pihet <jpihet@mvista.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      58cda884
  19. 29 5月, 2009 1 次提交