aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
AgeCommit message (Collapse)Author
2008-11-19Move asm/arch/gta02.h to mach/gta02.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Move asm/arch/s3c24xx-serial.h to mach/s3c24xx-serial.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19fix-stable-tracking-build-without-symlink.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19[ARM]: Move asm/arch/gpio.h to mach/ directoryJonas Bonn
This file was moved in the big file move, but some OpenMoko specific changes did not make it. This patch peels out the relevant bits and adds them to the gpio.h file in the upstream location. The only OpenMoko specific change is the definition of gpio_to_irq and irq_to_gpio. These functions should really be defined in gpio_chip and asm-generic/gpio.h; this is coming soon, but until then we'll just use the Moko definitions that we've been using up until now. This is not strictly correct for the GTA02 case, but it works given the configuration that's currently in use. This can be fixed (and should become evident) when the configuration options are cleaned up. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19[ARM]: Move asm/arch/gta01.h to include/machJonas Bonn
This file is OpenMoko specific and didn't get moved in the big file move. Move it to arch/arm/mach-s3c2410/include/mach where it belongs and fix the references to it. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Config: Ifdef cleanupsJonas Bonn
This patch removes a large number of #ifdefs that switch on machine model. Where applicable, the machine_is_* idiom is favoured; this mainly makes the code easier to read, but it does have some other advantages, too. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19GTA02: FixupsJonas Bonn
These fixes are required to build without MACH_NEO1973_GTA02 Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19tracking-2.6.27-rc2-include-path-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19checkpatch-fixes.patchAndy Green
This cleans out some random externs in C files that checkpatch does not like and introduces a couple of .h files to contain them. Plus some other minor checkpatch style complaints. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19silence-serial-console-gta01.patchMike Westerhof
This patch ensures that no console data will go the UART while the GSM mux is switched to the GSM. This is necessary despite the code that disables the console due to the fact that the console resumes before the neo1973_pm_gsm driver, and consoles always resume in the "on" state. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19gta0x-add-minimal-GSM-flowcontrol.patchMike Westerhof
Add the basic GSM flowcontrol code. Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19remove-s3c24xx-serial-resume-dep-gsm-pm.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19debug-move-dev-info-to-dbg.patchAndy Green
Suggested-by: Sean McNeil <sean@mcneil.com> To see if some subtle race is involved, Sean has tried removing syslog traffic during resume and found he was not seeing the resume crash any more. We're giving it a try to see if it changes the behaviour for anyone else. It would mean we have a pretty fine race in there somewhere. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Remove some bits of nspy + GSM flow control patches that leaked into stableMike Westerhof
Signed-off-by: Mike Westerhof <mwester@dls.net>
2008-11-19fix-gsm-resume-problems.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19[neo] Every access to GPIO bank B has to go through the shadow codeHolger Freyther
- Any setting of any PIN on bank B will undo the LED setting. Introduce neo1973_gpb_set_pin to set the PIN in a way not losing the LED or any other shadowed setting. - Update users of GPBXY for gta01 and gta02. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19[neo bluetooth] GTA01_GPIO_MODEM_RST != GTA02_GPIO_MODEM_RSTHolger Freyther
The bluetooth enable and modem reset switched the order in gta02. Do not poke the bluetooth dongle when we want to reset the modem. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19Remove not needed #ifdef as machine_is_ is always defined.Holger Freyther
If we build a kernel without gta01/gta02 the machine_is_ macro will expand to (0) and the compiler will optimize the if (0) {} away. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19OpenMoko => OpenmokoHolger Freyther
Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19fix-gsm-download-irq-balance-issue.patchAndy Green
Only enable or disable the interrupt if we see we are in the opposing state. Also force that damn GSM download signal deasserted on probe at the time we set the logical state for it to deasserted. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Fix the firing of "Jack"-Interrupts after resume when the modem is powered on.Holger Freyther
GTA02_GPIO_nDL_GSM defaults to high/1. On resume do not enable the DL_GSM if it was not enabled before. This is stopping the storm of interrupts. Fix the logic in the download file handling. Downloads are disabled (0) when the GTA02_GPIO_nDL_GSM is high (1). To enable downloading set GTA02_GPIO_nDL_GSM to low (0, !on). Disable the jack interrupt while download the is active. When disabling download we will get a couple of jack interrupts but this is hardly avoidable. Avoid reading the GPIO value if we do not even have a console set. Signed-Off-by: Holger Freyther <zecke@openmoko.org>
2008-11-19Fix spelling. flaoting => floatingHolger Freyther
Signed-Off-by: Holger Freyther <zecke@openmoko.org>
2008-11-19gta02-power_control.patchmokopatches
2008-11-19gta01-power_control.patchmokopatches
[PATCH] Neo1973 GPS / GSM / Bluetooth power control via sysfs Signed-off-by: Harald Welte <laforge@openmoko.org>