aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
Commit message (Collapse)AuthorAge
* [ARM] pxa/spitz: fix compile regression on spitzPavel Machek2009-11-22
| | | | | | | | | If CONFIG_AKITA is not set, spitz fails to compile. It worked ok in rc5. Fix is one more ifdef... Signed-off-by: Pavel Machek <pavel@ucw.cz> Acked-by: Stanislav Brabec <utx@penguin.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/cpufreq: fix index assignments for end markerDaniel Mack2009-11-20
| | | | | | | | | | | I stumbled over two small things regarding the .index field assignment in the dynamically created cpu frequency tables for pxa2xx and pxa3xx. Even though that doesn't currently cause any problem, it should still be fixed in case the logic in the CPUFREQ core changes. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/hx4700: fix hx4700 touchscreen pressure valuesPaul Parsons2009-11-16
| | | | | | | | | | hx4700 touchscreen events were being dropped in ads7846_rx() because their pressure values consistently exceeded the platform maximum of 512; a sample of 256 pressure values were in the range 531 to 815. Doubling the platform maximum to 1024 allows hx4700 touchscreen events to pass the test. Signed-off-by: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/colibri: fix AC97 ifdefs and add missing includeMarek Vasut2009-11-13
| | | | | | | | | The AC97 part wasn't initialized on Colibri/PXA320 because the macros were wrong. Also, the code didn't compile because of a header file not being included. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa: fix interrupts number calculation when CONFIG_PXA_HAVE_ISA_IRQS=yMarc Zyngier2009-11-13
| | | | | | | | | | | | | | | | Commit d2c37068429b29d6549cf3486fc84b836689e122 ([ARM] pxa: initialize default interrupt priority and use ICHP for IRQ handling) broke ISA interrupt support on pxa27x/3xx. In such a case, PXA_IRQ(0) != 0, and the IRQ number computed from ICHP must be offset by PXA_IRQ(0). Tested on an Arcom Zeus (pxa270), with both CONFIG_PXA_HAVE_ISA_IRQS enabled and disabled. Signed-off-by: Marc Zyngier <maz@misterjones.org> Tested-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa: fix resume failure by saving/restoring IPRx registersHaojian Zhuang2009-11-02
| | | | | | | | | | | | | Since interrupt handler is changed to use interrupt priority, we also need to save and restore these interrupt controller registers in suspend/resume routine. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Tested-by: Daniel Mack <daniel@caiaq.de> Tested-by: Pavel Machek <pavel@ucw.cz> Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/palm: fix incorrect initialization of Palm Tungsten C keyboardOndrej Zajicek2009-11-02
| | | | | | | | | | Palm Tungsten C keyboard structure has swapped rows/cols gpio structures and does not work. This patch fixes it. Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org> Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/zaurus: fix NAND flash OOB layout for BorzoiStanislav Brabec2009-11-02
| | | | | | | | | | | | | | | | | Borzoi, Terrier and Akita use the same NAND Flash OOB layout, which seems to be different from Spitz for some reason. Here is a fix. When the code was ported to the platform data, the map was applied just for Akita. After this patch, Flash works again on Borzoi. Terrier still has a problem with partition table different from Borzoi (unfixable without reading of the system configuration in flash) and JFFS2 partitions can be mounted (with some "Empty flash at ... ends at ..." in the syslog). Signed-off-by: Stanislav Brabec <utx@penguin.cz> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/spitz: add gpio button support (fixes regression)Stanislav Brabec2009-10-17
| | | | | | | | | | | | | | | | | | | | | | | | Updating desc for lid keys and resending patch with proper comments: Define Spitz buttons as GPIO keys in a way compatible with the old driver: On/Off: As Suspend EV_PWR key Raw values of lid sensors SWA and SWB: As EV_SW switches SWA: Display Down SWB: Lid Closed Recommended user space decoding: SWA==0 & SWB==0: lid opened (landscape mode) SWA==1 & SWB==0: invalid (or mechanic race condition) SWA==0 & SWB==1: lid closed with display up (portrait mode or mechanic race condition while closing to display-less mode) SWA==1 & SWB==1: lid closed with display down (display-less mode) AK_INT remote trigger is not mapped as input event. Without complete remote driver and remote pull-up control it has no useful interpretation. Signed-off-by: Stanislav Brabec <utx@penguin.cz> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/cm-x300: fix mmc numberingMike Rapoport2009-10-17
| | | | | | | | | CM-X300 has libertas on mmc2 and SD card slot on mmc1. This patch fixes wrong MMC ports assignment. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa: workaround errata #37 by not using half turbo switchingDennis O'Brien2009-10-12
| | | | | | | | | PXA27x Errata #37 implies system will hang when switching into or out of half turbo (HT bit in CLKCFG) mode, workaround this by not using it. Signed-off-by: Dennis O'Brien <dennis.obrien@eqware.net> Cc: stable-2.6.31 <stable@kernel.org> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* [ARM] pxa/csb726: adjust duplicate structure field initializationJulia Lawall2009-10-12
| | | | | | | | | | Currently the irq_type field of the csb726_lan_config structure is initialized twice. The value in the first case, SMSC911X_IRQ_POLARITY_ACTIVE_LOW, is normally stored in the irq_polarity field, so I have renamed the field in the first initialization to that. Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
* Merge branch 'master' into for-linusRussell King2009-09-22
|\
| * ARM: spitz: fix touchscreen max presurePavel Machek2009-09-19
| | | | | | | | | | | | | | | | | | | | | | This fixes max_pressure for spitz's touchscreen, and is requirement for getting reasonable pressure numbers from touchscreen driver. Signed-off-by: Pavel Machek <pavel@ucw.cz> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* | Merge branch 'devel' of ↵Russell King2009-09-21
|\ \ | |/ |/| | | git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into devel
| * [ARM] pxafb: add accelerator ID for PXA3xx GCUDaniel Mack2009-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Add ID 99 for PXA3xx frame buffers and report it in the pxa frame buffer conditionally, depending on a new flag in struct pxafb_mach_info. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: linux-fbdev-devel@lists.sourceforge.net Cc: Dennis Oliver Kropp <dok@directfb.org> Cc: Sven Neumann <s.neumann@raumfeld.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add gpio_pwdown(_inverted) into pxaficp_ir.cMarek Vasut2009-09-10
| | | | | | | | | | | | | | and convert PXA-based devices to gpio_pwdown where possible. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: balloon3 (http://balloonboard.org/) base machine supportJonathan McDowell2009-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So, again against latest pxa-linux-2.6/devel, with the following changes: * Move to __raw_readl/__raw_writel for FPGA/CPLD register access * Change Toppoly LCD config to be selectable at run time rather than compile time. * Remove currently unused irq device suspend/resume functions. * Strip out unnecessary/duplicated #includes. * Some code style cleanups. Balloon3 (http://balloonboard.org/) base machine support Signed-off-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add support for the IskraTel XCEP boardMatej Kenda2009-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | Added support for the Iskratel XCEP single board computer, embedded in instruments used in particle accelerators. The patch contains the platform specific code, Makefile and Kconfig changes for platform arm-pxa. Signed-off-by: Aleš Bardorfer <ales.bardorfer@i-tech.si> Signed-off-by: Michael Abbott <michael.abbott@diamond.ac.uk> Signed-off-by: Matej Kenda <matej.kenda@i-tech.si> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/treo680: move LCD power GPIO to proper placeTomáš Čech2009-09-10
| | | | | | | | | | Signed-off-by: Tomáš Čech <sleep_walker@suse.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/treo680: pxamci simplify to use GPIOwalker@suse.cz2009-09-10
| | | | | | | | | | | | Signed-off-by: Tomáš Čech <sleep_walker@suse.cz> Acked-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/spitz: make use of GPIO based matrix keypad driverEric Miao2009-09-10
| | | | | | | | Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/corgi: make use of GPIO based matrix keypad driverEric Miao2009-09-10
| | | | | | | | Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/hx4700: use platform_lcd driverPhilipp Zabel2009-09-10
| | | | | | | | | | | | | | | | | | Instead of directly registering an lcd_device, use the platform_lcd driver. This fixes a broken build in case CONFIG_LCD_CLASS_DEVICE is not enabled. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Cc: Ben Dooks <ben-linux-arm@fluff.org> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: Palm Tungsten|C initial supportMarek Vasut2009-09-10
| | | | | | | | | | | | | | This patch adds basic support for Palm Tungsten|C handheld. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/palm: Add NOR Flash support for PalmTXMarek Vasut2009-09-10
| | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/palm: add NAND Flash support for PalmTXMarek Vasut2009-09-10
| | | | | | | | | | | | | | | | This patch adds support for NAND chip found in PalmTX handheld. Support is implemented through the gen_nand driver. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/palm: Add NOR flash support for PalmLDMarek Vasut2009-09-10
| | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/palm: add detect_delay to mmc for PalmTX,T5,LDMarek Vasut2009-09-10
| | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/cm-x270: add libertas device registrationMike Rapoport2009-09-10
| | | | | | | | | | | | | | | | | | v2 changes: - use gpio_to_irq instead of IRQ_GPIO - check gpio_direction_output return value to be on the safe side :) Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/em-x270: add vcc_core regulatorMike Rapoport2009-09-10
| | | | | | | | | | Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/em-x270: remove debug leftoversMike Rapoport2009-09-10
| | | | | | | | | | Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/em-x270: convert em-x270 to soc-camera as platform-deviceGuennadi Liakhovetski2009-09-10
| | | | | | | | | | | | Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/mioa701: convert mioa701 to the new platform-device soc-camera ↵Guennadi Liakhovetski2009-09-10
| | | | | | | | | | | | | | interface Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/pcm990: convert pcm990 to soc-camera as platform-deviceGuennadi Liakhovetski2009-09-10
| | | | | | | | | | Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/colibri: add UART MFP configuration for the PXA320 moduleAlex Roman2009-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch configures the MFP pads for UART1, UART2, UART3 for the Toradex Colibri PXA320 module. Previously they were just not configured resulting in just the first UART working because it was the only one that was configured by the bootloader (Toradex EBOOT in our case). This patch is against vanilla 2.6.30 and has been tested with the Toradex Orchid carrier board (all three UARTs were functional). Signed-off-by: Alex Roman <alex.roman@gmail.com> Acked-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/colibri: add NAND config for Colibri PXA3xx boardsDaniel Mack2009-09-10
| | | | | | | | | | | | | | NAND feature will be enabled when the appropriate config option is set. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/ezx: set IRQ_BOARD_END for EZXDaniel Ribeiro2009-09-10
| | | | | | | | | | Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa/littleton: update littleton to use the new gpio_card_detect for mmcEric Miao2009-09-10
| | | | | | | | Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: factor pxamci gpio handlingRobert Jarzmik2009-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several boards use always the same pattern with pxamci : request gpio, request irq for that gpio to detect MMC card insertion, request gpio for read-only mode detection, etc ... Now that pxamci provides platform_data to describe simple gpio management of the MMC external controls, use it. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Mike Rapoport <mike@compulab.co.il> Acked-by: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: rpurdie@rpsys.net Cc: drwyrm@gmail.com Cc: sakoman@gmail.com Cc: marek.vasut@gmail.com Cc: s.hauer@pengutronix.de Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxamci: add simple gpio controlsRobert Jarzmik2009-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MMC block needs 3 external datas to work : - is the MMC card put in "read-only mode" ? - is a MMC card inserted or removed ? - enable power towards the MMC card Several platforms provide these controls through gpios. Expand the platform_data to request and use these gpios is set up by board code. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Pierre.Ossman <pierre@ossman.eu> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: rename GCU IRQ for consistencyDaniel Mack2009-09-10
| | | | | | | | | | | | | | For consistency reasons, rename IRQ_GRPHICS to IRQ_GCU. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add device definition for graphics controllerDaniel Mack2009-09-10
| | | | | | | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add clock definition for graphics controllerDaniel Mack2009-09-10
| | | | | | | | | | Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: initialize default interrupt priority and use ICHP for IRQ handlingHaojian Zhuang2009-09-10
| | | | | | | | | | Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add more registers in interrupt controllerHaojian Zhuang2009-09-10
| | | | | | | | | | | | | | Add priority registers and new registers of pxa935. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: add cpu_is_pxa950() and Kconfig optionsHaojian Zhuang2009-09-10
| | | | | | | | | | Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: expand irq support for PXA93x and PXA950Haojian Zhuang2009-09-10
| | | | | | | | | | | | | | | | | | | | PXA93x/950 has additional 64 GPIOs, each is a secondary interrupt source for IRQ_GPIO_2_x, extend PXA_GPIO_IRQ_{BASE,NUM}. PXA93x/950 specific IRQ definitions are added as well. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: support mfp of pxa935Haojian Zhuang2009-09-10
| | | | | | | | | | | | | | Add and initialize the mfp setting of pxa935 chip. Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
| * [ARM] pxa: remove duplicate mfp definition in machHaojian Zhuang2009-09-10
| | | | | | | | | | Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>