1. 29 7月, 2011 1 次提交
  2. 28 7月, 2011 3 次提交
    • G
      arm/dt: tegra devicetree support · 8e267f3d
      Grant Likely 提交于
      Everything required to populate NVIDIA Tegra devices from the device
      tree.  This patch adds a new DT_MACHINE_DESC() which matches against
      a tegra20 device tree.  So far it only registers the on-chip devices,
      but it will be refined in follow on patches to configure clocks and
      pin IO from the device tree also.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      8e267f3d
    • 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
    • G
      irq: add irq_domain translation infrastructure · 08a543ad
      Grant Likely 提交于
      This patch adds irq_domain infrastructure for translating from
      hardware irq numbers to linux irqs.  This is particularly important
      for architectures adding device tree support because the current
      implementation (excluding PowerPC and SPARC) cannot handle
      translation for more than a single interrupt controller.  irq_domain
      supports device tree translation for any number of interrupt
      controllers.
      
      This patch converts x86, Microblaze, ARM and MIPS to use irq_domain
      for device tree irq translation.  x86 is untested beyond compiling it,
      irq_domain is enabled for MIPS and Microblaze, but the old behaviour is
      preserved until the core code is modified to actually register an
      irq_domain yet.  On ARM it works and is required for much of the new
      ARM device tree board support.
      
      PowerPC has /not/ been converted to use this new infrastructure.  It
      is still missing some features before it can replace the virq
      infrastructure already in powerpc (see documentation on
      irq_domain_map/unmap for details).  Followup patches will add the
      missing pieces and migrate PowerPC to use irq_domain.
      
      SPARC has its own method of managing interrupts from the device tree
      and is unaffected by this change.
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      08a543ad
  3. 27 7月, 2011 11 次提交
  4. 26 7月, 2011 1 次提交
  5. 25 7月, 2011 3 次提交
  6. 24 7月, 2011 2 次提交
  7. 23 7月, 2011 1 次提交
    • M
      ARM: 7004/1: fix traps.h compile warnings · e7d59db9
      Mikael Pettersson 提交于
      Building kernel 3.0 for an n2100 (plat-iop) results in:
      
      In file included from arch/arm/plat-iop/cp6.c:20:
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:12: warning: 'struct pt_regs' declared inside parameter list
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:12: warning: its scope is only this definition or declaration, which is probably not what you want
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:48: warning: 'struct pt_regs' declared inside parameter list
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:48: warning: 'struct task_struct' declared inside parameter list
      arch/arm/plat-iop/cp6.c:45: warning: initialization from incompatible pointer type
      
      Nothing here depends on the layout of pt_regs or task_struct, so this
      can be fixed by adding forward struct declarations to asm/traps.h.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e7d59db9
  8. 22 7月, 2011 3 次提交
  9. 21 7月, 2011 15 次提交