1. 23 4月, 2012 1 次提交
    • A
      ARM: spear: remove most mach/*.h header contents · 5019f0b1
      Arnd Bergmann 提交于
      The register and irq definitions in mach/*.h for spear3xx and
      spear6xx are now mostly obsolete, after the platforms have been
      converted to device tree based probing and the data is now
      part of the device tree files.
      
      The misc_regs.h contents are moved into clock.c because that is
      the only user, aside from the DMA_CHN_CFG that should eventually
      get handled differently. Some of the contents of mach/spear.h
      still remain, because they are used to set up the static map table,
      timer, uart and auxdata tables, but almost everything got removed.
      We might remove everything but the map table as the DT conversion
      completes, but that is not a priority. I've also made sure to
      make both copies of spear.h more or less identical so we can
      eventually combine them.
      
      The spear3?0.h files were only used by the spear3?0.c files, so I
      merged the contents in there and removed the bits that were unused.
      This is something that should still be looked at.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NViresh Kumar <viresh.kumar@st.com>
      5019f0b1
  2. 11 4月, 2012 1 次提交
  3. 15 3月, 2012 1 次提交
  4. 03 3月, 2012 1 次提交
  5. 28 2月, 2012 2 次提交
  6. 27 2月, 2012 1 次提交
    • G
      devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc) · 964dba28
      Grant Likely 提交于
      Sparc has its own helpers for translating address ranges when the device
      tree is parsed at boot time, and it isn't able to use of_platform_populate().
      However, there are some device drivers that want to use that function on
      other DT enabled platforms (ie. TWL4030).  This patch adds an empty
      of_platform_populate() implementation that returns an error when
      CONFIG_OF_ADDRESS is not selected.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      964dba28
  7. 22 2月, 2012 1 次提交
  8. 06 2月, 2012 1 次提交
  9. 02 2月, 2012 1 次提交
    • G
      drivercore: Output common devicetree information in uevent · 07d57a32
      Grant Likely 提交于
      When userspace needs to find a specific device, it currently isn't easy to
      resolve a /sys/devices/ path from a specific device tree node.  Nor is it
      easy to obtain the compatible list for devices.
      
      This patch generalizes the code that inserts OF_* values into the uevent
      device attribute so that any device that is attached to an OF node will
      have that information exported to userspace.  Without this patch only
      platform devices and some powerpc-specific busses have access to this
      data.
      
      The original function also creates a MODALIAS property for the compatible
      list, but that code has not been generalized into the common case because
      it has the potential to break module loading on a lot of bus types.  Bus
      types are still responsible for their own MODALIAS properties.
      
      Boot tested on ARM and compile tested on PowerPC and SPARC.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Tobias Klauser <tklauser@distanz.ch>
      Cc: Frederic Lambert <frdrc66@gmail.com>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Mark Brown <broonie@sirena.org.uk>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      07d57a32
  10. 29 1月, 2012 1 次提交
  11. 25 1月, 2012 1 次提交
  12. 10 1月, 2012 1 次提交
  13. 05 1月, 2012 1 次提交
    • F
      ARM: prom.h: Fix build error by removing unneeded header file · c89810ac
      Fabio Estevam 提交于
      Fix the following build error:
      
        CC [M]  fs/udf/balloc.o
      In file included from /home/fabio/next/linux-next/arch/arm/include/asm/prom.h:16,
                       from include/linux/of.h:140,
                       from include/asm-generic/gpio.h:7,
                       from arch/arm/plat-mxc/include/mach/irqs.h:14,
                       from /home/fabio/next/linux-next/arch/arm/include/asm/irq.h:4,
                       from /home/fabio/next/linux-next/arch/arm/include/asm/hardirq.h:6,
                       from include/linux/hardirq.h:7,
                       from include/linux/highmem.h:8,
                       from include/linux/pagemap.h:10,
                       from include/linux/buffer_head.h:13,
                       from fs/udf/udfdecl.h:11,
                       from fs/udf/balloc.c:22:
      /home/fabio/next/linux-next/arch/arm/include/asm/setup.h:146: error: redefinition of 'struct tag'
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      [grant.likely: fix build failure on drivers/of/fdt.c]
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      c89810ac
  14. 04 1月, 2012 2 次提交
  15. 28 12月, 2011 3 次提交
  16. 20 12月, 2011 1 次提交
  17. 13 12月, 2011 4 次提交
  18. 08 12月, 2011 1 次提交
  19. 29 11月, 2011 1 次提交
  20. 23 11月, 2011 1 次提交
    • L
      Revert "of/irq: of_irq_find_parent: check for parent equal to child" · b4bbb029
      Linus Torvalds 提交于
      This reverts commit dc937280.
      
      As requested by Ben Herrenschmidt:
        "This breaks some powerpc platforms at least.  The practice of having
         a node provide an explicit "interrupt-parent" property pointing to
         itself is an old trick that we've used in the past to allow a
         device-node to have interrupts routed to different controllers.
      
         In that case, the node also contains an interrupt-map, so the node is
         its own parent, the interrupt resolution hits the map, which then can
         route each individual interrupt to a different parent."
      
      Grant says:
        "Ah, nuts, yes that is broken then.  Yes, please revert the commit and
         Rob & I will come up with a better solution.
      
         Rob, I think it can be done by explicitly checking for np ==
         desc->interrupt_parent in of_irq_init() instead of relying on
         of_irq_find_parent() returning NULL."
      Requested-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
      Cc: Tanmay Inamdar <tinamdar@apm.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b4bbb029
  21. 04 11月, 2011 1 次提交
  22. 01 11月, 2011 3 次提交
  23. 31 10月, 2011 1 次提交
  24. 25 10月, 2011 1 次提交
  25. 05 10月, 2011 3 次提交
  26. 23 9月, 2011 1 次提交
  27. 20 9月, 2011 1 次提交
  28. 04 8月, 2011 1 次提交
  29. 03 8月, 2011 1 次提交