1. 04 12月, 2013 1 次提交
  2. 15 11月, 2013 1 次提交
  3. 16 10月, 2013 4 次提交
  4. 12 4月, 2013 1 次提交
  5. 24 2月, 2013 1 次提交
  6. 14 2月, 2013 1 次提交
    • A
      ARM: integrator/versatile: fix NOMMU warnings · 060fd1be
      Arnd Bergmann 提交于
      On NOMMU kernels, the io_desc variables are unused
      because we don't use the MMU to remap the MMIO
      areas.
      
      Marking these variables as __maybe_unused easily
      avoids the otherwise harmless warnings like
      
      warning: 'versatile_io_desc' defined but not used
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      060fd1be
  7. 25 12月, 2012 1 次提交
  8. 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
  9. 17 11月, 2012 4 次提交
  10. 05 11月, 2012 1 次提交
  11. 27 10月, 2012 1 次提交
    • L
      ARM: integrator: get rid of preallocated irq descriptors · da72a66b
      Linus Walleij 提交于
      The Integrators were using the .nr_irqs field of the machine
      descriptor to pre-allocate a number of descriptors at boot. This
      is not right: the irq chip implementations should allocate
      their descriptors themselves, and as a result the simple
      irqdomain code warns about it.
      
      Get rid of this by just deleting the .nr_irq field from the
      machine descriptors but take care: doing so makes the default
      implementation hog the first 16 IRQ numbers, so these cannot
      be used by the still static IRQ number assignments in the
      ATAG boot case. So for these, bump the IRQ numbers to begin
      at 64 and upward.
      
      Introduce an offset to offset all IRQ numbers if need be,
      though we don't expect to do that again as device tree comes
      along.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      da72a66b
  12. 09 10月, 2012 2 次提交
  13. 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
  14. 18 9月, 2012 3 次提交
  15. 17 9月, 2012 1 次提交
  16. 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
  17. 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
  18. 24 3月, 2012 1 次提交
  19. 27 1月, 2012 1 次提交
  20. 25 1月, 2012 1 次提交
  21. 05 1月, 2012 1 次提交
  22. 22 12月, 2011 1 次提交
    • K
      driver-core: remove sysdev.h usage. · edbaa603
      Kay Sievers 提交于
      The sysdev.h file should not be needed by any in-kernel code, so remove
      the .h file from these random files that seem to still want to include
      it.
      
      The sysdev code will be going away soon, so this include needs to be
      removed no matter what.
      
      Cc: Jiandong Zheng <jdzheng@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: "Venkatesh Pallipadi
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      edbaa603
  23. 22 8月, 2011 1 次提交
  24. 24 5月, 2011 3 次提交
  25. 21 5月, 2011 2 次提交
  26. 19 2月, 2011 2 次提交