1. 27 6月, 2014 1 次提交
    • L
      video: move Versatile CLCD helpers · 11c32d7b
      Linus Walleij 提交于
      This moves the Versatile-specific helper code and panel database
      down into the drivers/video folder next to the CLCD driver
      itself, preserving the config symbol but also moving the header
      to platform data.
      
      This is necessary to rid the Integrator of this final <plat/*>
      inclusion dependency and get us one less user of the
      plat-versatile folder.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: linux-fbdev@vger.kernel.org
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      11c32d7b
  2. 26 2月, 2014 4 次提交
    • L
      ARM: integrator: register sched_clock directly · a79528e9
      Linus Walleij 提交于
      The detour through plat-versatile/sched-clock.c is hard to migrate
      to multiplatform set-up and it's very little code being duplicated
      so let's just inline the sched_clock registration and cut one more
      dependency to plat-versatile.
      
      This also makes this sched_clock implementation compulsory.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      a79528e9
    • L
      ARM: integrator: localize the hardware.h header · 1b1ef755
      Linus Walleij 提交于
      As we move toward multiplatform support for the Integrator family
      we need to localize all <mach/*> headers. This moves the hardware.h
      header down to the machine folder. There are no users outside the
      machine in the kernel.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      1b1ef755
    • L
      ARM: integrator: merge platform.h to hardware.h · f8487aa8
      Linus Walleij 提交于
      There is no need to have the two separate headers <mach/platform.h>
      and <mach/hardware.h>, especially since we are now going to make them
      local files. There is not one single driver outside the mach-integrator
      folder referencing any of the files.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f8487aa8
    • L
      ARM: integrator: localize the lm.h header · c36928ad
      Linus Walleij 提交于
      As we move toward multiplatform support for the Integrator family
      we need to localize all <mach/*> headers. This moves the lm.h
      header down to the machine folder as it is not used outside it
      anyway.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      c36928ad
  3. 13 2月, 2014 1 次提交
    • L
      ARM: integrator: switch to fetch clocks from device tree · 09c978bc
      Linus Walleij 提交于
      This atomic commit changes the Integrator clock implementation
      and the machines to register clocks from the device tree and
      use these instead of the previous hard-coded clocks.
      
      In the clock implementation all hard-coded clocks and the
      special initialization function call goes away, and is
      replaced by two compatible strings for the two clocks
      available on the core module.
      
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      09c978bc
  4. 01 2月, 2014 1 次提交
  5. 04 12月, 2013 2 次提交
  6. 15 11月, 2013 1 次提交
  7. 16 10月, 2013 4 次提交
  8. 12 4月, 2013 1 次提交
  9. 24 2月, 2013 1 次提交
  10. 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
  11. 25 12月, 2012 1 次提交
  12. 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
  13. 17 11月, 2012 4 次提交
  14. 05 11月, 2012 1 次提交
  15. 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
  16. 09 10月, 2012 2 次提交
  17. 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
  18. 18 9月, 2012 3 次提交
  19. 17 9月, 2012 1 次提交
  20. 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
  21. 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
  22. 24 3月, 2012 1 次提交
  23. 27 1月, 2012 1 次提交
  24. 25 1月, 2012 1 次提交
  25. 05 1月, 2012 1 次提交
  26. 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