An error occurred fetching the project authors.
- 01 Feb, 2016 1 commit
-
-
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:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr>
-
- 01 Dec, 2015 1 commit
-
-
Arnd Bergmann authored
Lots of header files are never included outside of a mach-pxa directory and do not need to be made visible in include/mach, so let's just move them all down one level. Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 14 Oct, 2015 1 commit
-
-
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:
Arnd Bergmann <arnd@arndb.de> Fixes: adf3442c ("ARM: pxa: fix DFI bus lockups on startup") Acked-by:
Robert Jarzmik <robert.jarzmik@free.fr>
-
- 13 Sep, 2015 1 commit
-
-
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:
Robert Jarzmik <robert.jarzmik@free.fr>
-
- 05 Sep, 2015 1 commit
-
-
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:
Rob 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:
Alexandre Belloni <alexandre.belloni@free-electrons.com>
-
- 28 Jul, 2015 1 commit
-
-
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:
Rob 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:
Hans Ulli Kroll <ulli.kroll@googlemail.com> Acked-by:
Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Imre Kaloz <kaloz@openwrt.org> Acked-by:
Krzysztof 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:
Wan 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:
Kevin Hilman <khilman@linaro.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 18 Jul, 2015 1 commit
-
-
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:
Robert Jarzmik <robert.jarzmik@free.fr>
-
- 12 May, 2015 1 commit
-
-
Robert Jarzmik authored
Transition the PXA25x, PXA27x and PXA3xx CPUs to the clock framework. This transition still enables legacy platforms to run without device tree as before, ie relying on platform data encoded in board specific files. This is the last step of clock framework transition for pxa platforms. It was tested on lubbock (pxa25x), mioa701 (pxa27x) and zylonite (pxa3xx). Signed-off-by:
Robert Jarzmik <robert.jarzmik@free.fr>
-
- 18 Sep, 2014 1 commit
-
-
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:
Daniel Mack <zonque@gmail.com> Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
- 12 Jul, 2014 1 commit
-
-
Laurent Pinchart authored
The virtual address, physical address and size of all regions for which we create static mappings are defined in PXA headers. Replaced the hardcoded values with macros. Signed-off-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Nicolas Pitre <nico@linaro.org> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- 11 Apr, 2013 2 commits
-
-
Haojian Zhuang authored
Since PXA_GPIO_TO_IRQ() & MMP_GPIO_TO_IRQ() macro are depended on arch code, move them from gpio driver to platform driver instead. Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
Haojian Zhuang authored
Avoid to use cpu_is_xxx() in pxa gpio driver. Use platform_device_id to identify the difference. Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 14 Sep, 2012 1 commit
-
-
Arnd Bergmann authored
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the pxa include directories Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by:
Igor Grinberg <grinberg@compulab.co.il> Acked-by:
Jeff Garzik <jgarzik@redhat.com> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Robert Jarzmik <robert.jarzmik@free.fr> Acked-by:
Paul Parsons <lost.distance@yahoo.com> Acked-by:
Vinod Koul <vinod.koul@linux.intel.com> Acked-By:
Stefan Schmidt <stefan@openezx.org> Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Daniel Ribeiro <drwyrm@gmail.com> Cc: Harald Welte <laforge@openezx.org> Cc: Philipp Zabel <philipp.zabel@gmail.com> Cc: Tomas Cech <sleep_walker@suse.cz> Cc: Sergey Lapin <slapin@ossfans.org> Cc: Jonathan Cameron <jic23@cam.ac.uk> Cc: Dan Williams <djbw@fb.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Samuel Ortiz <samuel@sortiz.org> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Liam Girdwood <lrg@ti.com> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.de> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Cc: openezx-devel@lists.openezx.org
-
- 20 Aug, 2012 1 commit
-
-
Haojian Zhuang authored
arch/arm/mach-pxa/built-in.o: In function `pxa3xx_dt_init_irq': saar.c:(.init.text+0x604): undefined reference to `pxa_dt_irq_init' Signed-off-by:
Haojian Zhuang <haojian.zhuang@gmail.com>
-
- 16 Aug, 2012 2 commits
-
-
Daniel Mack authored
When booting via DT, the default PXA devices must not have been probed before, otherwise the augmented information from the device tree is ignored. Signed-off-by:
Daniel Mack <zonque@gmail.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Haojian Zhuang <haojian.zhuang@gmail.com>
-
Daniel Mack authored
Properly register on-chip interrupt using the irqdomain logic. The number of interrupts is taken from the devicetree node. That includes the following changes: - cpu_has_ipr() was converted from an inline function to a static bool variable, so it can be set using the "marvell,intc-priority" property inside the device node of the tree. - IRQ_BASE was converted from a macro to a runtime variable so that it can be initialized dynamically from the DT init code. - irq_base() now uses pxa_irq_base and just adds an offset. Hence, there are now no compile-time fixed values used in case of DT initialization. Signed-off-by:
Daniel Mack <zonque@gmail.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Haojian Zhuang <haojian.zhuang@gmail.com>
-
- 06 Mar, 2012 1 commit
-
-
Haojian Zhuang authored
Both reboot (via reboot(RB_AUTOBOOT)) and suspend freeze on hx4700. Registration of pxa_gpio_syscore_ops is moved into pxa-gpio driver, but it still exists in arch-pxa directory. It resulsts failure on reboot and suspend. Now remove the registration code in arch-pxa. Reported-by:
Paul Parsons <lost.distance@yahoo.com> Signed-off-by:
Haojian Zhuang <haojian.zhuang@gmail.com>
-
- 28 Feb, 2012 1 commit
-
-
Haojian Zhuang authored
sa1100-rtc driver could be shared among sa1100/pxa/mmp series silicon. Since clk is used in mmp series silicon, add dummy clock support in pxa also. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com>
-
- 26 Jan, 2012 1 commit
-
-
Rob Herring authored
Remove NR_IRQS and add a per machine .nr_irqs setting. Signed-off-by:
Rob Herring <rob.herring@calxeda.com>
-
- 19 Jan, 2012 1 commit
-
-
Russell King authored
This reverts commit 7557c175. This revert is necessary to revert the broken "RTC: sa1100: support sa1100, pxa and mmp soc families" change.
-
- 28 Dec, 2011 1 commit
-
-
Jett.Zhou authored
Now sa1100-rtc can support sa1100/pxa/mmp soc series, then we need add dummy clock for sa1100-rtc. Signed-off-by:
Jett.Zhou <jtzhou@marvell.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- 15 Nov, 2011 2 commits
-
-
Haojian Zhuang authored
Support clk in gpio driver. There's no gpio clock in PXA25x and PXA27x. So use dummy clk instead. And move the gpio edge initialization into gpio driver for arch-mmp. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com>
-
Haojian Zhuang authored
Remove most gpio macros and change gpio driver to platform driver. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com>
-
- 08 Oct, 2011 1 commit
-
-
Arnd Bergmann authored
This tries to clear up the confusion between integers and iomem pointers in the marvell pxa platform. MMIO addresses are supposed to be __iomem* values, in order to let the Linux type checking work correctly. This patch moves the cast to __iomem as far back as possible, to the place where the MMIO virtual address windows are defined. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
- 01 Oct, 2011 1 commit
-
-
Linus Walleij authored
The <mach/gpio.h> file is included from upper directories and deal with generic GPIO and gpiolib stuff. Break out the platform and driver specific defines and functions into its own header file. Cc: Eric Miao <eric.y.miao@gmail.com> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 08 Aug, 2011 1 commit
-
-
Russell King authored
Convert arch/arm includes of mach/gpio.h and asm/gpio.h to linux/gpio.h before we start consolidating the individual platform implementations of the gpio header files. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 12 Jul, 2011 1 commit
-
-
Eric Miao authored
Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
- 02 Jul, 2011 1 commit
-
-
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:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 24 Jun, 2011 2 commits
-
-
Russell King authored
The first and second arguments shouldn't concern platform code, so hide them from each platforms caller. Tested-by:
Kevin Hilman <khilman@ti.com> Acked-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
We don't need a veneer for cpu_suspend, it can be called directly from C code now. Move it into the PXA CPU suspend functions, along with the accumulator register saving/restoring. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 24 Apr, 2011 1 commit
-
-
Rafael J. Wysocki authored
Replace sysdev classes and struct sys_device objects used for "core" power management by the PXA platform code with struct syscore_ops objects that are simpler. This reduces the code size and the kernel memory footprint. It also is necessary for removing sysdevs entirely from the kernel in the future. Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 29 Mar, 2011 2 commits
-
-
Thomas Gleixner authored
Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Convert to the new function names. Automated with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 21 Mar, 2011 1 commit
-
-
Sebastian Andrzej Siewior authored
This patch moves the platform data definition from arch/arm/plat-pxa/include/plat/i2c.h to include/linux/i2c/pxa-i2c.h so it can be accessed from x86 the same way as on ARM. This change should make no functional change to the PXA code. The move is verified by building the following defconfigs: cm_x2xx_defconfig corgi_defconfig em_x270_defconfig ezx_defconfig imote2_defconfig pxa3xx_defconfig spitz_defconfig zeus_defconfig raumfeld_defconfig magician_defconfig mmp2_defconfig pxa168_defconfig pxa910_defconfig Signed-off-by:
Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Dirk Brandewie <dirk.brandewie@gmail.com> Signed-off-by:
Ben Dooks <ben-linux@fluff.org>
-
- 22 Feb, 2011 1 commit
-
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- 13 Jan, 2011 1 commit
-
-
Lennert Buytenhek authored
Signed-off-by:
Lennert Buytenhek <buytenh@secretlab.ca>
-
- 20 Dec, 2010 1 commit
-
-
Eric Miao authored
Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
- 18 Dec, 2010 2 commits
-
-
Haojian Zhuang authored
The core of PXA955 is PJ4. Add new PJ4 support. And add new macro CONFIG_PXA95x. Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
Eric Miao authored
Signed-off-by:
Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-
- 16 Dec, 2010 1 commit
-
-
Eric Miao authored
Signed-off-by:
Eric Miao <eric.y.miao@gmail.com>
-