aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2009-03-02MERGE-via-pending-tracking-hist-add-om_3d7k_machine-type-patchmerge
pending-tracking-hist top was add-om_3d7k_machine-type-patch / e4e3848be23080f6ca6727d2a4353f09e53b9781 ... parent commitmessage: From: Andy Green <andy@openmoko.com> add-om_3d7k_machine-type.patch Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02Fix typo in mach-gta02Sven Rebhan
Improve the comment on falling back to 100mA if ADC is missing. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-03-02GTA02 GSM requires PCF50633 GPIOSven Rebhan
The GSM part of all MACH_NEO1973s require GPIO functions, thus we should select PCF50633_GPIO for GTA02. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-03-02OpenMoko: Update for normal WM8753 device registration.Mark Brown
The WM8753 driver now uses the standard I2C device registration model and so requires the platform to register the device. Convert the OpenMoko GTA0x series devices to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02ARM/S3C2440: Don't build armv4t modules we can't loadRask Ingemann Lambertsen
The kernel can't load armv4t modules ("unknown relocation: 40"). This patch fixes the ARM makefile accordingly to tell GCC to generate armv4 code instead of armv4t code. The assembler still needs to allow armv4t instructions for some object files which are linked into the kernel. Signed-off-by: Rask Ingemann Lambertsen <rask@sygehus.dk>
2009-03-02Subject: Get rid of board_info information in glamo and s3c24xx_gpio ↵Balaji Rao
spigpio_info. X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=740c6704e830829d8539a6cc34346ff1980cd9ee Get rid of board_info information in glamo and s3c24xx_gpio spigpio_info. The board info does not belong there and has been removed. In spi_s3c24xx_gpio, board_info has been removed in mainline. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26S3C64XX: Fix DMA channel numbersBen Dooks
The I2S TX and RX channels where reversed. Also add implicit numbers to the start of the two DMA controllers. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-26S3C64XX: Fix DMA makefileBen Dooks
Fix missing dma.o build if CONFIG_S3C_DMA Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-26Fix the current leaking issue on gta03 a3 or later version.Matt Hsu
Since GPI0, GPI1 and GPI8 are for hardware version control. They would create current leaking if they are setup as output. It's resloved by adding gta03 specific fb_gpio_setup function in fb platform data. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org> Reported-by: Dkay Chen <dkay_chen@openmoko.com>
2009-02-26Subject: fix_gta03_fiq_stuff.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=c94ea3d685fa6e9b24d62adb11a7ad6087b9edf5 fix_gta03_fiq_stuff.patch Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26Subject: lis302dl_use_s3c24xx_gpio_spi_bitbang.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=5689ad9b0ded29adec4be64df53e488c648b9831 lis302dl_use_s3c24xx_gpio_spi_bitbang.patch Change lis302dl driver to use generic spi code. This requires that we define a s3c24xx_gpio spi bitbang based controller in mach-gta02.c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-26Subject: spi_supoport_non_blocking_sync_transfers.patchBalaji Rao
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=f8fbb07854e3aff64dce9fe6ef6a8dc0e0f762b5 spi_supoport_non_blocking_sync_transfers.patch A mew option is added to spi_bitbang_info to specify if the transfers off it will be non blocking. A new function - spi_non_blocking_transfer is added to the SPI core. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-25add-s3c64xx-tzic-plat.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25add-s3c64xx-tzic.patchAndy Green
This adds in the TZIC support consts and also the VM mapping for the TZIC units, and adds TZIC init into mach-om-gta03.c Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25clean-neo1973-pm-gps.patchAndy Green
Clean out more switch() on version that has no point given the actual features that (don't) differ on supported GTA02 versions. We take care about forcing GPS regulator off on neo1973-pm-gps probe, but we don't take care about killing the UART GPIO so they don't drive into the powered-down subsystem. We took care of doing that when we turned off the thing already, but we cannot just call the OFF code from the probe due to problems with regulator state init. Reported-by: Rask Ingemann Lambersten <rask@sygehus.dk> Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25config-nfs-root.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25S3C64XX: Drop i2c0.max_freq to 150kHz.Ben Dooks
Drop the i2c0 bus max-frequency to 150kHz to avoid problems with boards where this is too fast. Signed-off-by: Ben Dooks <ben@simtec.co.uk> --- linux.agit.orig/arch/arm/plat-s3c/dev-i2c0.c 2009-02-20 23:04:34.000000000 +0000 +++ linux.agit/arch/arm/plat-s3c/dev-i2c0.c 2009-02-20 23:04:37.000000000 +0000 @@ -51,7 +51,7 @@ static struct s3c2410_platform_i2c defau .flags = 0, .slave_addr = 0x10, .bus_freq = 100*1000, - .max_freq = 400*1000, + .max_freq = 150*1000, .sda_delay = S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON, }; -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes'
2009-02-25config-squashfs-embedded.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-25[GTA03] Fix the power on status of the GSM module again.DKAY_CHEN
Because i found the level of the "MODEM_RST" will return to "L" when it set to "Input". GSM module sometimes can not turn on especially after emove the C9102. Signed-off-by: DKAY_CHEN <dkay_chen@openmoko.com>
2009-02-25S3C64XX: Add DMA clock enableBen Dooks
Ensure the DMA channels have the controller clock enabled before they are used. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-25S3C64XX: Register DMA channels as system devicesBen Dooks
Add the DMA channels as system devices to provide suspend/resume and a presence in sysfs. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-25S3C64XX: Add DMA/SDMA clock sourcesBen Dooks
Add the clock sources for the DMA and SDMA controllers and ensure that they are shut down at startup. The DMA engines are dma0 and dma1, whilst the SDMA are called dma2 and dma3. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-25S3C64XX: Fix HCLK_GATE bit definitionsBen Dooks
Fix the definitions of HCLK_GATE bits, which had SDMA0/1 named SDMA1/2 and the definitions of bits 26..29 in the wrong order. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-24config-squashfs-module.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24config-smdk6410-audio.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24fix-dma-setflags-dust.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24fix-gta02-plat-plat-dma.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24config-gta03-plat-s3c-dma.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24fix-plat-s3c-dma-build-in-makefile.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-s3c64xx-dma-support-1235439162-1235439227 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162-1235439227 / 3d6a1b21cf5fbdb6250d781b0a4900a7a0768aa1 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 stable-tracking-hist top was MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 / 893e864e65adffc9eb085ed4f8b552a31dcec840 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-s3c64xx-dma-support mokopatches-tracking-hist top was s3c64xx-dma-support / 2515f9a1d53d19b1e61d639875aedcbe7929666e ... parent commitmessage: From: Ben Dooks <ben@simtec.co.uk> S3C64XX: DMA support Add support for the DMA blocks in the S3C64XX series of CPUS, which are based on the ARM PL080 PrimeCell system. Unfortunately, these DMA controllers diverge from the PL080 design by adding another DMA controller register and configuration for OneNAND. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-23config-uplevel-hdq-network-led-trigger.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-23Move bq27000 data structuresSven Rebhan
It's always a good idea to first define the data structures you use. ;-) Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Cleanup s3c2442 KconfigSven Rebhan
For GTA02 we can remove GTA02_HDQ (not used anywhere) and S3C2410_CLOCK (already selected by CPU_S3C2442). Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Revert "Cleanup s3c2442 Kconfig"Sven Rebhan
This reverts commit fe8b7ff1a79648146501f37d467fcb2f2bea0164. I undo the reordering of the options here, as it hides what really happend. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Cleanup s3c2442 KconfigSven Rebhan
For GTA02 we can remove GTA02_HDQ (not used anywhere) and S3C2410_CLOCK (already selected by CPU_S3C2442). Additionally I reordered the options a bit. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Care about PCF50633 ADC disabledSven Rebhan
If the PCF50633 ADC is disabled, but the charger is enabled we can't determine the charger type using the pulldown. The safest thing we can do is to fallback to 100mA that should be supplied according to the USB specs. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Allow disabling of GTA02 vibratorSven Rebhan
If the vibrator is disabled we don't need to register a platform device. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23PCF50633 core depends on I2CSven Rebhan
We select the PCF50633 core part, which depends on I2C, in our Kconfig. However, make oldconfig does not automatically resolve this "depends on I2C" dependency. We should select I2C for GTA02 as it's needed anyway. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23GSM requires serial consoleSven Rebhan
The GSM interface of all MACH_NEO1973s require the Samsung serial console, so we should automatically select it. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23The BQ27000 Battery requires HDQSven Rebhan
Move the battery section within the HDQ_GPIO_BITBANG ifdef because it uses functions only available if HDQ bitbanging is enabled. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Care about PCF50633 charger disabledSven Rebhan
If we disable CONFIG_CHARGER_PCF50633 the build fails with a bunch of errors. This patch defines placeholders for the functions that require the charger. All users of the function pointers care about the case when they are NULL, so this won't break anything. Furthermore a small restructuring of the mach file was necessary to not sprinkle ifdefs all over. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Remove double include.Sven Rebhan
Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Select PCF50633Sven Rebhan
Remove the old config option and use the correct new one instead. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23Remove GTA02 config from S3C2440 menu.Sven Rebhan
We have this in the S3C2442 machine section now. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
2009-02-23fix-pm-gsm-disable-serial-drive-when-off.patchAndy Green
This patch cleans some cruft from neo1973-pm-gsm.c and makes some changes to the power code for gsm. First, on probe it enforces GSM is OFF. Second, when GSM is OFF, it changes the RTS and TXD pins on UART 0 to be inputs, instead of driving into a dead subsystem and costing us ~70mA @ 5V constant dissipation (these 3.3V pins were found at 1.5V due to that). Third it asserts the GPIO peripheral function when ON, to keep the same flow for the new interrupt generation workaround code. Since several people worked on this area before, and maybe the assertion of GSM OFF is different (it's OFF from bootloader though) or maybe something else gets broken, I send the patch for comment before applying it. Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-22gta03_hdq_support.patchBalaji Rao
Added support for HDQ to GTA03. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-22gta02_use_new_fiq_and_hdq_stuff.patchBalaji Rao
Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-22move_pwm_code_to_plat_s3c.patchBalaji Rao
Since the pwm code in mach-2410 can be reused for 6410, move it to plat-s3c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-22fiq_handler_in_c.patchBalaji Rao
The code for creating FIQ handlers in C is moved to arch/arm/kerne/fiq.c Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2009-02-22GTA0[12]: fix calypso sysfs power_on handlingPaul Fertser
This implements a proper scheme of controlling powering on of the Calypso GSM modem which should be activated with a "push-button" connected to MODEM_ON line. Also a workaround for firmware bug of moko10 and earlier implemented to force calypso to pull IRQ line down after powering on. The "reset" sysfs node is left for compatibility with userspace (without it gsm0710muxd breaks) but it does nothing (NC on hardware level on GTA02 anyway). I tested flashing the GSM firmware (on GTA02) with this patch (using only fluid and power_on node) and can confirm that it's working as reliably as with accessing gpio directly per instructions. The credit goes to Joerg Reisenweber for discussions and clarifications on how this should be done properly. Signed-off-by: Paul Fertser <fercerpav@gmail.com>