1. 18 11月, 2012 1 次提交
    • L
      ARM: integrator: push down SC dependencies · 379df279
      Linus Walleij 提交于
      This pushes the dependencies on the Integrator/AP system
      controller (SC) down into the PCI V3 driver and the
      AP-specific board file.
      
      First, the platform data for the PL010 UART is moved into
      the integrator_ap.c board file, and the Integrator/CP is
      assigned with NULL pdata. This way the callback functions
      can reference the dynamically remapped AP syscon address
      in both the ATAG and DT boot path, and this remapping
      is localized to the board file.
      
      Second the PCIv3 driver is making its own dynamic remapping
      of the SC for the few registers it is using. When we
      convert the PCIv3 driver over to using device tree having a
      dynamically assigned base address will be useful, but we
      will have to use the definition from <mach/platform.h> for
      now, the only improvement is that it's done dynamically.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      379df279
  2. 17 11月, 2012 6 次提交
  3. 09 10月, 2012 2 次提交
  4. 19 9月, 2012 1 次提交
    • A
      ARM: integrator: use __iomem pointers for MMIO · b7a3f8db
      Arnd Bergmann 提交于
      ARM is moving to stricter checks on readl/write functions,
      so we need to use the correct types everywhere.
      
      This patch has a few small conflicts with stuff in linux-next, which
      we have to sort out in arm-soc.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b7a3f8db
  5. 18 9月, 2012 3 次提交
  6. 17 9月, 2012 2 次提交
  7. 09 8月, 2012 1 次提交
    • A
      ARM: integrator: include <linux/export.h> · b434f5c9
      Arnd Bergmann 提交于
      Without this patch, building integrator_defconfig results in:
      
      arch/arm/mach-integrator/core.c:150:1: warning: data definition has no type or storage class [enabled by default]
      arch/arm/mach-integrator/core.c:150:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int]
      arch/arm/mach-integrator/core.c:150:1: warning: parameter names (without types) in function declaration [enabled by default]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      b434f5c9
  8. 07 8月, 2012 1 次提交
  9. 01 8月, 2012 2 次提交
  10. 26 7月, 2012 2 次提交
  11. 12 7月, 2012 2 次提交
    • L
      ARM: integrator: convert to common clock · a613163d
      Linus Walleij 提交于
      This converts the Integrator platform to use common clock
      and the ICST driver. Since from this point not all ARM
      reference platforms use the clock, we define
      CONFIG_PLAT_VERSATILE_CLOCK and select it for all platforms
      except the Integrator.
      
      Open issue: I could not use the .init_early() field of the
      machine descriptor to initialize the clocks, but had to
      move them to .init_irq(), so presumably .init_early() is
      so early that common clock is not up, and .init_machine()
      is too late since it's needed for the clockevent/clocksource
      initialization. Any suggestions on how to solve this is
      very welcome.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      [mturquette@linaro.org: use 'select' instead of versatile Kconfig]
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      a613163d
    • L
      ARM: integrator: put symbolic bus names on devices · d59fdcfc
      Linus Walleij 提交于
      All the Integrator devices have bus names like "mb:16" which
      I think means "memory base 0x16000000" which is where the
      UART0 is. So let's call it "uart0" because that's what most
      platforms do these days.
      
      Change this everywhere for the integrator as we prepare for
      some core clock code movement.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      d59fdcfc
  12. 14 5月, 2012 2 次提交
  13. 04 5月, 2012 1 次提交
    • L
      ARM: 7389/2: plat-versatile: modernize FPGA IRQ controller · 3108e6ab
      Linus Walleij 提交于
      This does two things to the FPGA IRQ controller in the versatile
      family:
      
      - Convert to MULTI_IRQ_HANDLER so we can drop the entry macro
        from the Integrator. The C IRQ handler was inspired from
        arch/arm/common/vic.c, recent bug discovered in this handler was
        accounted for.
      - Convert to using IRQ domains so we can get rid of the NO_IRQ
        mess and proceed with device tree and such stuff.
      
      As part of the exercise, bump all the low IRQ numbers on the
      Integrator PIC to start from 1 rather than 0, since IRQ 0 is
      now NO_IRQ. The Linux IRQ numbers are thus entirely decoupled
      from the hardware IRQ numbers in this controller.
      
      I was unable to split this patch. The main reason is the half-done
      conversion to device tree in Versatile.
      
      Tested on Integrator/AP and Integrator/CP.
      
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Acked-by: NRob Herring <rob.herring@calxeda.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3108e6ab
  14. 20 4月, 2012 1 次提交
  15. 29 3月, 2012 1 次提交
  16. 24 3月, 2012 2 次提交
  17. 07 3月, 2012 1 次提交
    • R
      ARM: kill off __mem_pci · 5621caac
      Rob Herring 提交于
      __mem_pci is only used to enable readl/writel and friends. Just condition
      this on readl being defined and remove all the __mem_pci defines.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Nicolas Pitre <nico@fluxnic.net>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Colin Cross <ccross@android.com>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Stephen Warren <swarren@nvidia.com>
      5621caac
  18. 24 2月, 2012 1 次提交
  19. 22 2月, 2012 1 次提交
  20. 27 1月, 2012 1 次提交
  21. 25 1月, 2012 2 次提交
  22. 21 1月, 2012 1 次提交
  23. 07 1月, 2012 1 次提交
  24. 05 1月, 2012 2 次提交