1. 30 May, 2019 1 commit
  2. 27 Sep, 2017 1 commit
  3. 18 Nov, 2016 1 commit
    • Linus Walleij's avatar
      ARM: integrator: drop EBI access use syscon · 94a07de1
      Linus Walleij authored
      The EBI lookup is not longer in use: this has been moved to the
      NAND chip driver. The syscon node is better accessed indirectly
      using the regmap like the NAND chip driver does, so let's use
      the syscon to set the modem control signals RTS/CTS through the
      dedicated syscon register.
      
      We also migrate the decoder status "SC_DEC" register that
      enumerate the logic modules using syscon.
      
      Cc: Russell King <linux@armlinux.org.uk>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      94a07de1
  4. 31 Aug, 2016 2 commits
  5. 23 Jun, 2016 1 commit
  6. 04 Apr, 2016 1 commit
    • Linus Walleij's avatar
      ARM: integrator: move flash registration to device tree · 91011a76
      Linus Walleij authored
      The flash on the Integrator was already defined by the device
      tree, but VPP control and flash protection was in the
      boardfiles. Simply add the compatible string
      "arm,versatile-flash" and the special add-on code for flash
      programming voltage and protection kicks in in the MTD
      layer.
      
      Remove the board file code and augment the device tree in
      one go for seamless transition.
      
      Cc: Grant Likely <grant.likely@linaro.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      91011a76
  7. 02 Jun, 2015 1 commit
  8. 13 Nov, 2014 2 commits
    • Linus Walleij's avatar
      soc: move SoC driver for the ARM Integrator · f956a785
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      f956a785
    • Linus Walleij's avatar
      ARM: integrator: move restart to the device tree · b437c52c
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      b437c52c
  9. 28 Oct, 2014 1 commit
  10. 24 Jun, 2014 2 commits
    • Rob Herring's avatar
      ARM: integrator: convert to use irqchip_init · 44fa72d1
      Rob Herring authored
      Now that versatile-fpga irqchip has IRQCHIP_DECLARE support, the interrupt
      related initialization can be removed.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      44fa72d1
    • Linus Walleij's avatar
      ARM: integrator: fix OF-related regression · 11f9323a
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      11f9323a
  11. 12 Mar, 2014 1 commit
  12. 26 Feb, 2014 3 commits
    • Linus Walleij's avatar
      ARM: integrator: localize the hardware.h header · 1b1ef755
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      1b1ef755
    • Linus Walleij's avatar
      ARM: integrator: merge platform.h to hardware.h · f8487aa8
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      f8487aa8
    • Linus Walleij's avatar
      ARM: integrator: localize the lm.h header · c36928ad
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      c36928ad
  13. 13 Feb, 2014 1 commit
    • Linus Walleij's avatar
      ARM: integrator: switch to fetch clocks from device tree · 09c978bc
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      09c978bc
  14. 04 Dec, 2013 2 commits
  15. 21 Nov, 2013 1 commit
  16. 16 Oct, 2013 5 commits
  17. 15 Jun, 2013 1 commit
    • Linus Walleij's avatar
      ARM: integrator: basic PCIv3 device tree support · f55b2b56
      Linus Walleij authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f55b2b56
  18. 12 Jun, 2013 1 commit
  19. 03 Jun, 2013 4 commits
  20. 24 Feb, 2013 1 commit
  21. 14 Feb, 2013 1 commit
    • Arnd Bergmann's avatar
      ARM: integrator/versatile: fix NOMMU warnings · 060fd1be
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      060fd1be
  22. 10 Feb, 2013 1 commit
  23. 24 Dec, 2012 1 commit
  24. 17 Nov, 2012 1 commit
    • Linus Walleij's avatar
      ARM: integrator: push down SC dependencies · 379df279
      Linus Walleij authored
      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: default avatarLinus Walleij <linus.walleij@linaro.org>
      379df279
  25. 16 Nov, 2012 3 commits