1. 02 6月, 2015 1 次提交
  2. 13 11月, 2014 2 次提交
    • L
      soc: move SoC driver for the ARM Integrator · f956a785
      Linus Walleij 提交于
      This creates a new SoC bus driver for the ARM Integrator
      family core modules to register the SoC bus and provide
      sysfs info for the core module. We delete the corresponding
      code from the Integrator machine and select this driver to
      get a clean result.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f956a785
    • L
      ARM: integrator: move restart to the device tree · b437c52c
      Linus Walleij 提交于
      Using the augmented reset driver for the Versatile family,
      we can move the reset handling for the Integrator out of the
      machine. We add a "syscon" attribute to the core module, and
      access the syscon registers using this handle. We need to
      select SYSCON, POWER, POWER_RESET and POWER_RESET_VERSATILE
      in order for the restart functionality to always be
      available on all systems (it should not be optional).
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b437c52c
  3. 28 10月, 2014 1 次提交
  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. 12 3月, 2014 1 次提交
  7. 26 2月, 2014 3 次提交
    • 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 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
  8. 13 2月, 2014 1 次提交
    • L
      ARM: integrator: switch to fetch clocks from device tree · 09c978bc
      Linus Walleij 提交于
      This atomic commit changes the Integrator clock implementation
      and the machines to register clocks from the device tree and
      use these instead of the previous hard-coded clocks.
      
      In the clock implementation all hard-coded clocks and the
      special initialization function call goes away, and is
      replaced by two compatible strings for the two clocks
      available on the core module.
      
      Cc: Mike Turquette <mturquette@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      09c978bc
  9. 04 12月, 2013 2 次提交
  10. 22 11月, 2013 1 次提交
  11. 16 10月, 2013 5 次提交
  12. 16 6月, 2013 1 次提交
    • L
      ARM: integrator: basic PCIv3 device tree support · f55b2b56
      Linus Walleij 提交于
      This registers the memory ranges for I/O, non-prefetched and
      prefetched memory and configuration space for the PCIv3 bridge
      and let us fetch these basic memory resources from the device
      tree in the device tree boot path. Remove the stepping stone
      platform device. This is an either/or approach - the platform
      data path is mutually exclusive to the plain platform data
      path and provided addresses from the device tree have to be
      correct.
      
      This adds the interrupt-map property to the PCIv3 DTS file
      and makes the bridge obtain mappings from the device tree.
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f55b2b56
  13. 13 6月, 2013 1 次提交
  14. 03 6月, 2013 4 次提交
  15. 24 2月, 2013 1 次提交
  16. 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
  17. 10 2月, 2013 1 次提交
  18. 25 12月, 2012 1 次提交
  19. 18 11月, 2012 1 次提交
    • L
      ARM: integrator: push down SC dependencies · 379df279
      Linus Walleij 提交于
      This pushes the dependencies on the Integrator/AP system
      controller (SC) down into the PCI V3 driver and the
      AP-specific board file.
      
      First, the platform data for the PL010 UART is moved into
      the integrator_ap.c board file, and the Integrator/CP is
      assigned with NULL pdata. This way the callback functions
      can reference the dynamically remapped AP syscon address
      in both the ATAG and DT boot path, and this remapping
      is localized to the board file.
      
      Second the PCIv3 driver is making its own dynamic remapping
      of the SC for the few registers it is using. When we
      convert the PCIv3 driver over to using device tree having a
      dynamically assigned base address will be useful, but we
      will have to use the definition from <mach/platform.h> for
      now, the only improvement is that it's done dynamically.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      379df279
  20. 17 11月, 2012 3 次提交
  21. 05 11月, 2012 1 次提交
  22. 27 10月, 2012 1 次提交
    • L
      ARM: integrator: get rid of preallocated irq descriptors · da72a66b
      Linus Walleij 提交于
      The Integrators were using the .nr_irqs field of the machine
      descriptor to pre-allocate a number of descriptors at boot. This
      is not right: the irq chip implementations should allocate
      their descriptors themselves, and as a result the simple
      irqdomain code warns about it.
      
      Get rid of this by just deleting the .nr_irq field from the
      machine descriptors but take care: doing so makes the default
      implementation hog the first 16 IRQ numbers, so these cannot
      be used by the still static IRQ number assignments in the
      ATAG boot case. So for these, bump the IRQ numbers to begin
      at 64 and upward.
      
      Introduce an offset to offset all IRQ numbers if need be,
      though we don't expect to do that again as device tree comes
      along.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      da72a66b
  23. 09 10月, 2012 1 次提交
  24. 19 9月, 2012 1 次提交
    • A
      ARM: integrator: use __iomem pointers for MMIO · b7a3f8db
      Arnd Bergmann 提交于
      ARM is moving to stricter checks on readl/write functions,
      so we need to use the correct types everywhere.
      
      This patch has a few small conflicts with stuff in linux-next, which
      we have to sort out in arm-soc.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b7a3f8db
  25. 18 9月, 2012 3 次提交