An error occurred fetching the project authors.
  1. 01 Feb, 2016 1 commit
    • Arnd Bergmann's avatar
      ARM: pxa: move extern declarations to pm.h · a9a54cae
      Arnd Bergmann authored
      When CONFIG_IWMMXT is disabled, we get a warning in pxa3xx.c:
      
      arch/arm/mach-pxa/pxa3xx.c: In function 'pxa3xx_cpu_pm_suspend':
      arch/arm/mach-pxa/pxa3xx.c:109:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
      
      It turns out that there is an 'extern' declaration in the
      middle of a function.
      
      For consistency, this moves the declaration and two others from
      the same file into pm.h.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      a9a54cae
  2. 01 Dec, 2015 1 commit
  3. 14 Oct, 2015 1 commit
    • Arnd Bergmann's avatar
      ARM: pxa: fix pxa3xx DFI lockup hack · 63910745
      Arnd Bergmann authored
      Some recently added code to avoid a bug introduced a build error
      when CONFIG_PM is disabled and a macro is hidden:
      
      arch/arm/mach-pxa/pxa3xx.c: In function 'pxa3xx_init':
      arch/arm/mach-pxa/pxa3xx.c:439:3: error: 'NDCR' undeclared (first use in this function)
         NDCR = (NDCR & ~NDCR_ND_ARB_EN) | NDCR_ND_ARB_CNTL;
         ^
      
      This moves the macro outside of the #ifdef so it can be
      referenced correctly.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: adf3442c ("ARM: pxa: fix DFI bus lockups on startup")
      Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      63910745
  4. 13 Sep, 2015 1 commit
    • Robert Jarzmik's avatar
      ARM: pxa: fix DFI bus lockups on startup · adf3442c
      Robert Jarzmik authored
      After the conversion of pxa architecture to common clock framework, the
      NAND clock can be disabled on startup if no nand driver claims it.
      
      In this case, it happens that if the bootloader used the NAND and set
      the DFI arbitration bit, the next access to a static memory controller
      area, such as an ethernet card, the system bus will stall, and the core
      will be stalled forever.
      
      Fix this by clearing the DFI arbritration bit in pxa3xx startup. The bit
      will be enabled the pxa3xx-nand driver on need anyway. The only left
      requirement is that upon pxa3xx-nand removal, the bit should be cleared
      before the clock is disabled.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      adf3442c
  5. 05 Sep, 2015 1 commit
    • Rob Herring's avatar
      rtc: pxa: convert to use shared sa1100 functions · 3cdf4ad9
      Rob Herring authored
      Currently, the rtc-sa1100 and rtc-pxa drivers co-exist as rtc-pxa has a
      superset of functionality. Having 2 drivers sharing the same memory
      resource is not allowed by the driver model if resources are properly
      declared. This problem was avoided by not adding memory resources to the
      SA1100 RTC driver, but that prevents clean-up of the SA1100 driver.
      
      This commit converts the PXA RTC to use the exported SA1100 RTC
      functions. Now the sa1100-rtc and pxa-rtc devices are mutually
      exclusive, so we must remove the sa1100-rtc from pxa27x and pxa3xx.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: rtc-linux@googlegroups.com
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
      3cdf4ad9
  6. 28 Jul, 2015 1 commit
    • Rob Herring's avatar
      ARM: kill off set_irq_flags usage · e8d36d5d
      Rob Herring authored
      set_irq_flags is ARM specific with custom flags which have genirq
      equivalents. Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags. The translation of flags is as follows:
      
      IRQF_VALID -> !IRQ_NOREQUEST
      IRQF_PROBE -> !IRQ_NOPROBE
      IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in
      .map() functions and we can simply remove the set_irq_flags calls. Some
      users also modify IRQ_NOPROBE and this has been maintained although it
      is not clear that is really needed. There appears to be a great deal of
      blind copy and paste of this code.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Gregory Clement <gregory.clement@free-electrons.com>
      Acked-by: default avatarHans Ulli Kroll <ulli.kroll@googlemail.com>
      Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Acked-by: default avatarKrzysztof Halasa <khalasa@piap.pl>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Daniel Mack <daniel@zonque.org>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Cc: Simtec Linux Team <linux@simtec.co.uk>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
      Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Tested-by: default avatarKevin Hilman <khilman@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e8d36d5d
  7. 18 Jul, 2015 1 commit
    • Robert Jarzmik's avatar
      ARM: pxa: transition to dmaengine phase 1 · 4be0856f
      Robert Jarzmik authored
      In order to slowly transition pxa to dmaengine, the legacy code will now
      rely on dmaengine to request a channel.
      
      This implies that PXA architecture selects DMADEVICES and PXA_DMA,
      which is not pretty. Yet it enables PXA drivers to be ported one by one,
      with part of them using dmaengine, and the other part using the legacy
      code.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      4be0856f
  8. 12 May, 2015 1 commit
  9. 18 Sep, 2014 1 commit
    • Daniel Mack's avatar
      ARM: pxa3xx: provide specific platform_devices for all ssp ports · 0da0e227
      Daniel Mack authored
      Currently, devices for SSP ports 1, 2 and 3 are registered as compatible
      devices to pxa27x-ssp. While the actual IP core is comparable, there are
      some subtle differences which users of the SSP ports address by looking at
      the 'type' field.
      
      By registering devices of type 'pxa27x-ssp', this 'type' field is
      incorrectly set to PXA27x_SSP which confuses the users.
      
      To fix this, provide specific ssp port plaform devices which use
      'pxa3xx-ssp' as driver name, an instantiate them from pxa3xx.c.
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
      0da0e227
  10. 12 Jul, 2014 1 commit
  11. 11 Apr, 2013 2 commits
  12. 14 Sep, 2012 1 commit
  13. 20 Aug, 2012 1 commit
  14. 16 Aug, 2012 2 commits
  15. 06 Mar, 2012 1 commit
  16. 28 Feb, 2012 1 commit
  17. 26 Jan, 2012 1 commit
  18. 19 Jan, 2012 1 commit
  19. 28 Dec, 2011 1 commit
  20. 15 Nov, 2011 2 commits
  21. 08 Oct, 2011 1 commit
  22. 01 Oct, 2011 1 commit
  23. 08 Aug, 2011 1 commit
  24. 12 Jul, 2011 1 commit
  25. 02 Jul, 2011 1 commit
    • Russell King's avatar
      ARM: pm: allow suspend finisher to return error codes · 29cb3cd2
      Russell King authored
      There are SoCs where attempting to enter a low power state is ignored,
      and the CPU continues executing instructions with all state preserved.
      It is over-complex at that point to disable the MMU just to call the
      resume path.
      
      Instead, allow the suspend finisher to return error codes to abort
      suspend in this circumstance, where the cpu_suspend internals will then
      unwind the saved state on the stack.  Also omit the tlb flush as no
      changes to the page tables will have happened.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      29cb3cd2
  26. 24 Jun, 2011 2 commits
  27. 24 Apr, 2011 1 commit
  28. 29 Mar, 2011 2 commits
  29. 21 Mar, 2011 1 commit
  30. 22 Feb, 2011 1 commit
  31. 13 Jan, 2011 1 commit
  32. 20 Dec, 2010 1 commit
  33. 18 Dec, 2010 2 commits
  34. 16 Dec, 2010 1 commit