1. 16 12月, 2015 1 次提交
    • R
      ARM: versatile: switch to DT only booting and remove legacy code · 16956fed
      Rob Herring 提交于
      With DT support for clocks, irqchips, timers, and PCI now in place, DT
      based booting has feature parity with non-DT legacy boot. The final
      piece is actually enabling common clock support on Versatile. Enabling
      full DT support requires either removing the old Versatile clock code,
      updating the legacy boot to use the common clock code, or making DT and
      legacy boot mutually exclusive. Given that removing legacy boot code is
      the goal anyway, I am going with the 1st option.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      16956fed
  2. 02 6月, 2015 2 次提交
  3. 15 1月, 2015 1 次提交
  4. 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
  5. 27 2月, 2014 1 次提交
    • L
      ARM: plat-versatile: convert LEDs to platform device · e4ecf2bd
      Linus Walleij 提交于
      The LEDs were initialized unconditionally with an fs_initcall()
      which doesn't play well with multiplatform. Convert the driver
      to a platform device and convert all boards with these LEDs
      to register a platform device and pass the register as a
      resource instead.
      
      Tested successfully on the Versatile/AB and RealView PB1176.
      
      Cc: Bryan Wu <cooloney@gmail.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      e4ecf2bd
  6. 13 2月, 2014 1 次提交
    • L
      irqchip: support cascaded VICs · e641b987
      Linus Walleij 提交于
      This adds support for a VIC to be cascaded off another IRQ.
      On the Integrator/AP logical module IM-PD1 there is a VIC
      cascaded off the central FPGA IRQ controller so this is
      needed for that to work out.
      
      In order for the plug-in board to be able to register all
      the devices with their IRQs relative to the offset of the
      base obtained for the cascaded VIC, the base IRQ number
      is passed back to the caller.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      e641b987
  7. 21 12月, 2013 1 次提交
  8. 10 7月, 2013 1 次提交
  9. 12 4月, 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. 06 2月, 2013 1 次提交
    • L
      ARM: 7635/1: versatile: fix the PCI IRQ regression · e3e92a7b
      Linus Walleij 提交于
      The PCI IRQs were regressing due to two things:
      
      - The PCI glue layer was using an hard-coded IRQ 27 offset.
        This caused the immediate regression.
      
      - The SIC IRQ mask was inverted (i.e. a bit was indeed set to
        one for each valid IRQ on the SIC, but accidentally inverted
        in the init call). This has been around forever, but we have
        been saved by some other forgiving code that would reserve
        IRQ descriptors in this range, as the versatile is
        non-sparse.
      
      When the IRQs were bumped up 32 steps so as to avoid using IRQ
      zero and avoid touching the 16 legacy IRQs, things broke.
      
      Introduce an explicit valid mask for the IRQs that are active
      on the PIC/SIC, and pass that. Use the BIT() macro from
      <linux/bitops.h> to make sure we hit the right bits, readily
      defined in <mach/platform.h>.
      Reported-by: NTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e3e92a7b
  12. 13 1月, 2013 1 次提交
    • R
      irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h · 9e47b8bf
      Rob Herring 提交于
      Now that we have VIC moved to drivers/irqchip and all VIC DT init for
      platforms using irqchip_init, move gic.h and update the remaining
      includes.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Rubini <rubini@unipv.it>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: linux-samsung-soc@vger.kernel.org
      9e47b8bf
  13. 25 12月, 2012 1 次提交
  14. 05 11月, 2012 1 次提交
  15. 01 8月, 2012 1 次提交
    • B
      ARM: mach-realview and mach-versatile: retire custom LED code · e031cd51
      Bryan Wu 提交于
      This replaces the custom LED trigger code in mach-realview with
      some overarching platform code for the plat-versatile family that
      will lock down LEDs 2 thru 5 for CPU activity indication. The
      day we have 8 core ARM systems the plat-versatile code will have
      to become more elaborate.
      
      Tested on RealView PB11MPCore by invoking four different CPU
      hogs (yes > /dev/null&) and see the LEDs go on one at a time.
      They all go off as the hogs are killed. Tested on the PB1176
      as well - just one activity led (led 2) goes on and off with
      CPU activity.
      
      (bryan.wu@canonical.com: use ledtrig-cpu instead of ledtrig-arm-cpu)
      
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NBryan Wu <bryan.wu@canonical.com>
      Acked-by: NPawel Moll <pawel.moll@arm.com>
      e031cd51
  16. 26 7月, 2012 1 次提交
  17. 17 6月, 2012 1 次提交
    • A
      arm: versatile: fix and enable PCI I/O space · 9b0f7e39
      Arnd Bergmann 提交于
      With commit 4d5fc58d (ARM: remove bunch of now unused
      mach/io.h files), the I/O space setup was completely broken on
      versatile. This patch fixes that and prepares for further
      I/O space clean-up.
      
      I/O space handling on the versatile platform is currently
      broken in multiple ways. Most importantly, the ports do
      not get mapped into the virtual address space at all.
      
      Also, there is some amount of confusion between PCI I/O
      space and other statically mapped MMIO registers in the
      platform code:
      
      * The __io_address() macro that is used to access the
        platform register maps to the same __io macro that gets
        used for I/O space.
      
      * The IO_SPACE_LIMIT is set to a value that is much larger
        than the total available space.
      
      * The I/O resource of the PCI bus is set to the physical
        address of the mapping, which is way outside of the
        actual I/O space limit as well as the address range that
        gets decoded by traditional PCI cards.
      
      * No attempt is made to stay outside of the ISA port range
        that some device drivers try access.
      
      * No resource gets requested as a child of ioport_resource,
        but an IORESOURCE_IO type mapping gets requested
        as a child of iomem_resource.
      
      This patch attempts to correct all of the above. This makes
      it possible to use virtio-pci based virtual devices as well
      as actual PCI cards including those with legacy ISA port
      ranges like VGA.
      
      Some of the issues seem to be duplicated on other platforms.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      [rob: update to 3.5-rc2 and io.h cleanup related changes]
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Tested-by: NRobert Schwebel <r.schwebel@pengutronix.de>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      9b0f7e39
  18. 04 5月, 2012 2 次提交
  19. 29 3月, 2012 1 次提交
  20. 16 2月, 2012 1 次提交
    • G
      irq_domain: Remove 'new' irq_domain in favour of the ppc one · 75294957
      Grant Likely 提交于
      This patch removes the simplistic implementation of irq_domains and enables
      the powerpc infrastructure for all irq_domain users.  The powerpc
      infrastructure includes support for complex mappings between Linux and
      hardware irq numbers, and can manage allocation of irq_descs.
      
      This patch also converts the few users of irq_domain_add()/irq_domain_del()
      to call irq_domain_add_legacy() instead.
      
      v3: Fix bug that set up too many irqs in translation range.
      v2: Fix removal of irq_alloc_descs() call in gic driver
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Milton Miller <miltonm@bga.com>
      Tested-by: NOlof Johansson <olof@lixom.net>
      75294957
  21. 25 1月, 2012 2 次提交
  22. 05 1月, 2012 1 次提交
  23. 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
  24. 19 11月, 2011 1 次提交
  25. 28 7月, 2011 1 次提交
    • G
      arm/versatile: Add device tree support · 3ba7222a
      Grant Likely 提交于
      For testing the dt work, define a dt-enabled versatile platform.
      
      This patch adds a new versatile platform for when using the device
      tree.  Add platform and amba devices are discovered and registered by
      parsing the device tree.  Clocks and initial io mappings are still
      configured statically.
      
      This patch still depends on some static platform_data for a few devices
      which is passed via the auxdata structure to of_platform_populate(),
      but it is a viable starting point until the drivers can get all
      configuration data out of the device tree.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      3ba7222a
  26. 24 5月, 2011 3 次提交
  27. 21 5月, 2011 2 次提交
  28. 30 3月, 2011 1 次提交
  29. 29 3月, 2011 1 次提交
  30. 19 2月, 2011 5 次提交