1. 21 9月, 2013 1 次提交
    • L
      ARM: plat-iop: instantiate GPIO from platform device · 7b85b867
      Linus Walleij 提交于
      This converts the IOP32x and IOP33x platforms to pass their
      base address offset by a resource attached to a platform device
      instead of using static offset macros implicitly passed
      through <linux/gpio.h> including <mach/gpio.h>. Delete the
      local <mach/gpio.h> and <asm/hardware/iop3xx-gpio.h> headers
      and remove the selection of NEED_MACH_GPIO_H.
      
      Pass the virtual address as a resource in the platform device
      at this point for bisectability, next patch will pass the
      physical address as is custom.
      
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Mikael Pettersson <mikpe@it.uu.se>
      Tested-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      7b85b867
  2. 19 8月, 2009 1 次提交
    • A
      iop3xx: ATU and PCI memory configuration corrected · 5b9eda33
      Aaro Koskinen 提交于
      There are two 64 MB outbound memory windows at bus addresses
      0x80000000..0x83ffffff and 0x84000000..0x87ffffff for PCI
      memory. Currently, on iop32x, only the lower window is available for
      allocations, limiting the available space to 64 MB. On iop33x the full
      128 MB can be allocated, but the translation value is wrong for the
      upper window.
      
      The patch enables the full 128 MB space on iop32x and corrects the
      initialization of OMWTVR1. Redundant definitions are deleted. Tested
      using a Thecus N2100 board with a graphics adapter in the expansion
      slot. Both windows are in use:
      
        00:05.0 VGA compatible controller: XGI Technology Inc. (eXtreme Graphics
        Innovation) Volari Z7 (prog-if 00 [VGA controller])
        [...]
      	Region 0: Memory at 80000000 (32-bit, prefetchable) [size=64M]
      	Region 1: Memory at 84080000 (32-bit, non-prefetchable) [size=256K]
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      5b9eda33
  3. 07 8月, 2008 1 次提交
  4. 03 5月, 2007 1 次提交
    • D
      [ARM] 4348/4: iop3xx: Give Linux control over PCI initialization · e90ddd81
      Dan Williams 提交于
      Currently the iop3xx platform support code assumes that RedBoot is the
      bootloader and has already initialized the ATU.  Linux should handle this
      initialization for three reasons:
      
      1/ The memory map that RedBoot sets up is not optimal (page_to_dma and
      virt_to_phys return different addresses).  The effect of this is that using
      the dma mapping API for the internal bus dma units generates pci bus
      addresses that are incorrect for the internal bus.
      
      2/ Not all iop platforms use RedBoot
      
      3/ If the ATU is already initialized it indicates that the iop is an add-in
      card in another host, it does not own the PCI bus, and should not be
      re-initialized.
      
      Changelog:
      * rather than change nr_controllers to zero, simply do not call
        pci_common_init
      
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e90ddd81
  5. 25 9月, 2006 1 次提交