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. 28 3月, 2014 1 次提交
  3. 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
  4. 26 2月, 2014 1 次提交
  5. 12 12月, 2013 1 次提交
  6. 22 11月, 2013 1 次提交
  7. 20 10月, 2013 1 次提交
  8. 15 7月, 2013 1 次提交
    • P
      arm: delete __cpuinit/__CPUINIT usage from all ARM users · 8bd26e3a
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      Note that some harmless section mismatch warnings may result, since
      notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
      and are flagged as __cpuinit  -- so if we remove the __cpuinit from
      the arch specific callers, we will also get section mismatch warnings.
      As an intermediate step, we intend to turn the linux/init.h cpuinit
      related content into no-ops as early as possible, since that will get
      rid of these warnings.  In any case, they are temporary and harmless.
      
      This removes all the ARM uses of the __cpuinit macros from C code,
      and all __CPUINIT from assembly code.  It also had two ".previous"
      section statements that were paired off against __CPUINIT
      (aka .section ".cpuinit.text") that also get removed here.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      8bd26e3a
  9. 24 6月, 2013 1 次提交
  10. 13 6月, 2013 1 次提交
  11. 27 3月, 2013 1 次提交
  12. 24 1月, 2013 1 次提交
  13. 13 1月, 2013 1 次提交
    • R
      irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h · 520f7bd7
      Rob Herring 提交于
      Now that we have GIC moved to drivers/irqchip and all GIC 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: Russell King <linux@arm.linux.org.uk>
      Cc: Anton Vorontsov <avorontsov@mvista.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      520f7bd7
  14. 11 1月, 2013 1 次提交
  15. 26 11月, 2012 1 次提交
  16. 05 11月, 2012 1 次提交
  17. 27 10月, 2012 1 次提交
    • L
      ARM: plat-versatile: use simple irqdomain for FPGA IRQ · 3a6ca8c5
      Linus Walleij 提交于
      This switches the FPGA IRQ driver over to using the simple IRQ
      domain. We can then use the same codepath for this in the
      DT and non-DT cases.
      
      To be able to use quicker irq_find_mapping() in the handlers
      we first call irq_create_mapping() on all the valid HW IRQ
      numbers so that descriptors will be created for them in the
      DT case where a linear domain will be the outcome of the
      call.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3a6ca8c5
  18. 18 9月, 2012 1 次提交
  19. 15 9月, 2012 1 次提交
  20. 14 9月, 2012 1 次提交
  21. 13 9月, 2012 1 次提交
  22. 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
  23. 12 7月, 2012 2 次提交
    • P
      ARM: versatile: Make plat-versatile clock optional · 56a34b03
      Pawel Moll 提交于
      ... in preparation for common clock coming for Integrator
      and Versatile Express.
      
      Based on Linus Walleij's "ARM: integrator: convert to common
      clock" patch.
      Signed-off-by: NPawel Moll <pawel.moll@arm.com>
      56a34b03
    • 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
  24. 10 7月, 2012 1 次提交
  25. 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
  26. 24 3月, 2012 1 次提交
  27. 13 3月, 2012 1 次提交
  28. 23 2月, 2012 1 次提交
  29. 03 2月, 2012 1 次提交
  30. 23 1月, 2012 1 次提交
  31. 16 1月, 2012 1 次提交
  32. 19 12月, 2011 1 次提交
  33. 17 10月, 2011 1 次提交
  34. 23 5月, 2011 1 次提交
  35. 29 3月, 2011 2 次提交
  36. 24 2月, 2011 1 次提交
    • S
      ARM: 6759/1: smp: Select local timers vs broadcast timer support runtime · af90f10d
      Santosh Shilimkar 提交于
      The current code support of dummy timers in absence of local
      timer is compile time. This is an attempt to convert it to runtime
      so that on few SOC version if the local timers aren't supported
      kernel can switch to dummy timers. OMAP4430 ES1.0 does suffer from
      this limitation.
      
      This patch should not have any functional impact on affected
      files.
      
      Cc: Daniel Walker <dwalker@codeaurora.org>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Colin Cross <ccross@android.com>
      Cc: Erik Gilling <konkers@android.com>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: NDavid Brown <davidb@codeaurora.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      af90f10d
  37. 19 2月, 2011 2 次提交