1. 01 10月, 2014 1 次提交
    • L
      of/pci: Fix the conversion of IO ranges into IO resources · 0b0b0893
      Liviu Dudau 提交于
      The ranges property for a host bridge controller in DT describes the
      mapping between the PCI bus address and the CPU physical address.  The
      resources framework however expects that the IO resources start at a pseudo
      "port" address 0 (zero) and have a maximum size of IO_SPACE_LIMIT.  The
      conversion from PCI ranges to resources failed to take that into account,
      returning a CPU physical address instead of a port number.
      
      Also fix all the drivers that depend on the old behaviour by fetching the
      CPU physical address based on the port number where it is being needed.
      Signed-off-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      CC: Grant Likely <grant.likely@linaro.org>
      CC: Rob Herring <robh+dt@kernel.org>
      CC: Arnd Bergmann <arnd@arndb.de>
      CC: Thierry Reding <thierry.reding@gmail.com>
      CC: Simon Horman <horms@verge.net.au>
      CC: Catalin Marinas <catalin.marinas@arm.com>
      0b0b0893
  2. 30 7月, 2014 1 次提交
    • U
      ARM: 8113/1: remove remaining definitions of PLAT_PHYS_OFFSET from <mach/memory.h> · c6f54a9b
      Uwe Kleine-König 提交于
      The platforms selecting NEED_MACH_MEMORY_H defined the start address of
      their physical memory in the respective <mach/memory.h>. With
      ARM_PATCH_PHYS_VIRT=y (which is quite common today) this is useless
      though because the definition isn't used but determined dynamically.
      
      So remove the definitions from all <mach/memory.h> and provide the
      Kconfig symbol PHYS_OFFSET with the respective defaults in case
      ARM_PATCH_PHYS_VIRT isn't enabled.
      
      This allows to drop the dependency of PHYS_OFFSET on !NEED_MACH_MEMORY_H
      which prevents compiling an integrator nommu-kernel.
      (CONFIG_PAGE_OFFSET which has "default PHYS_OFFSET if !MMU" expanded to
      "0x" because CONFIG_PHYS_OFFSET doesn't exist as INTEGRATOR selects
      NEED_MACH_MEMORY_H.)
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c6f54a9b
  3. 27 6月, 2014 2 次提交
    • 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
    • L
      ARM: integrator: get rid of <mach/memory.h> · e6dc195c
      Linus Walleij 提交于
      The Integrator has a custom <mach/memory.h> header defining the
      BUS_OFFSET for *_to_bus and bus_to_* operations as offset from
      0x80000000.
      
      This switches the Integrator over to using the mechanism
      introduced for the Keystone to provide the same offset using
      the device tree, deletes <mach/memory.h> and augments the
      Integrator device tree to provide the bus offset.
      
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      e6dc195c
  4. 25 6月, 2014 1 次提交
  5. 24 6月, 2014 1 次提交
    • L
      ARM: integrator: fix OF-related regression · 11f9323a
      Linus Walleij 提交于
      Commit 07e461cd
      "of: Ensure unique names without sacrificing determinism"
      caused a boot failure regression on the Integrator machines.
      
      The problem is probably caused by fiddling too much with
      the device tree population in the OF init function, such
      as passing the SoC bus device as parent when populating
      the device tree.
      
      This patch fixes the problem by:
      
      - Avoiding to explicitly look up the tree root
      - Look up devices needed before device population from
        the match only, passing NULL as root
      - Passing NULL as root and parent when calling
        of_platform_populate()
      
      After this the Integrators boot again. Tested on
      Integrator/AP and Integrator/CP.
      
      Cc: Grant Likely <grant.likely@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      11f9323a
  6. 17 6月, 2014 1 次提交
    • L
      ARM: integrator: fix section mismatch problem · e1318391
      Linus Walleij 提交于
      This addresses a section mismatch problem in the IM-PD1
      driver in the Integrator/AP.
      
      The IM-PD1 contains a VIC interrupt controller and therefore
      the driver calls vic_init_cascaded() which is marked __init as
      irqchips are simply not hot-pluggable and specifically the VIC
      is assumed to initiate only on boot.
      
      However the module driver model of the Integrator LM bus
      assumes that logic tile drivers can be probed at runtime. This
      is not really the case for IM-PD1: these tiles are detected at
      boot and they cannot be plugged into a running system. Before
      this patch it is of course possible to modprobe them later.
      
      By first forcing the IM-PD1 to bool we make sure this driver
      gets compiled into the kernel, and we know it will be probed
      only at boot time when the tiles are detected, so we can tag
      its probe function __init_refok as we know it won't be called
      after boot now, and the section mismatch problem goes away.
      
      As a side effect, sysfs binding from userspace becomes
      impossible, so we tag the driver to suppress the bind/unbind
      sysfs attributes.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      e1318391
  7. 22 3月, 2014 1 次提交
    • A
      ARM: integrator: only select pl01x if TTY is enabled · 152c5555
      Arnd Bergmann 提交于
      Building the integrator platform without TTY support currently
      results in a build failure because we always turn on the
      pl010 or pl011 drivers. Changing this to a conditional 'select'
      statement enables us to build more random configurations, although
      it should have little impact for practical configurations.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      152c5555
  8. 12 3月, 2014 1 次提交
  9. 26 2月, 2014 5 次提交
    • 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 impd1.h header · cc0cc4ca
      Linus Walleij 提交于
      As we move toward multiplatform support for the Integrator family
      we need to localize all <mach/*> headers. This moves the impd1.h
      header down to the machine folder, copying the the three defines
      only used by the clock driver down into the clock driver.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Jonathan Austin <jonathan.austin@arm.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      cc0cc4ca
    • 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
  10. 13 2月, 2014 4 次提交
  11. 01 2月, 2014 1 次提交
  12. 21 12月, 2013 1 次提交
  13. 04 12月, 2013 2 次提交
  14. 22 11月, 2013 1 次提交
  15. 15 11月, 2013 1 次提交
  16. 24 10月, 2013 4 次提交
  17. 16 10月, 2013 8 次提交
  18. 26 9月, 2013 1 次提交
  19. 26 8月, 2013 2 次提交
  20. 10 7月, 2013 1 次提交