aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-s3c24xx
AgeCommit message (Collapse)Author
2008-11-28MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-hist-patch-rfkill- ↵merge
fix-init-values-a pending-tracking-hist top was MERGE-via-stable-tracking-hist-patch-rfkill-fix-init-values-a / bbb0210fab54015099b24bec396670708a9be1e2 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-patch-rfkill-fix-init-values-a stable-tracking-hist top was patch-rfkill-fix-init-values-a / 3fdcf5fbcdd609825e3eb760af5cd76940693da2 ... parent commitmessage: From: Sean McNeil <sean@mcneil.com> PATCH-rfkill-fix-init-values-and-cleanup-compilation-warning.eml This applies cleanly to stable-tracking to fix errors on initialization. Sean
2008-11-27fix-gta02-rfkill-balaji-uplevel.patchAndy Green
Sean McNeil's bt rfkill patch uplevelled for Balaji stuff on GTA02 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-27MERGE-via-balaji-tracking-hist-MERGE-via-stable-tracking-hist-config-gta02-u ↵merge
plevel-patch balaji-tracking-hist top was MERGE-via-stable-tracking-hist-config-gta02-uplevel-patch / eb381acecca375d0a7b88cfe640504a8a1fa4c39 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-config-gta02-uplevel-patch stable-tracking-hist top was config-gta02-uplevel-patch / 0e07e39074bbdb938cfefaea6ad7823282cc914c ... parent commitmessage: From: Andy Green <andy@openmoko.com> config-gta02-uplevel.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-24fix-gta02-gps-breakage-stale-save.patchAndy Green
Managed to infect earlier patch with stale file in kate breaking gta02 build in andy-tracking. Reported-by: Scott Talbot <psyc@stalbot.com> Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-22(no commit message)Andy Green
2008-11-21MERGE-via-balaji-tracking-s3c64xx-clock-fixesAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21introduce-om-gta03-features.patchAndy Green
This patch adds a single file that is intended to do the job of the several neo1973_pm_* drivers used in GTA02. It exposes the /sys nodes /sys/bus/platform/devices/om-gta03.0/gps_power /sys/bus/platform/devices/om-gta03.0/gsm_power /sys/bus/platform/devices/om-gta03.0/usbhost_power /sys/bus/platform/devices/om-gta03.0/wlan_bt_power at the moment which allow power control of these subsystems. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21fix-srcpnd-int-clear-order.patchmichael
The S3C2410_SRCPND is not clear correctly until the S3C2410_SUBSRCPND is cleared. Signed-off-by: michael <trimarchi@gandalf.sssup.it>
2008-11-21move-neo1973-pm-stuff-to-drivers-misc.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-20pcf50633_mdc_related_changes.patchBalaji Rao
Changes related to pcf50633_mfd.patch
2008-11-20remove_pcf50633_voltage_rails_and_friends.patchBalaji Rao
1. Removes pmu_voltage_rails stuff and replaces it with regulator_init_data[] 2. Removes voltage_ldoX and other /sys attributes. 3. Introduces s3c2410_pm_begin method to call regulator_suspend_prepare()
2008-11-20pm_gps_use_regulator_api.patchBalaji Rao
Change the pm_gps driver to use the regulator API.
2008-11-20pm_bt_use_regulator_api.patchBalaji Rao
Use regulator API for powering on/off the BT device.
2008-11-20eliminate_pcf50633_global.patchBalaji Rao
Eliminate pcf50633_global and hence make pcf50633.c work with multiple devices. pcf50633 is no longer a paltform device, but an i2c device.
2008-11-20The S3C64XX series has a new TCFG divider setting toBen Dooks
allow the clock directly through, which means that we need to update the pwm-clock code to cope with this. Add <mach/pwm-clock.h> containing the specific code to deal with the TCFG divider settings and provide any other per-arch data that the pwm-clock driver needs to function. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-11-19fix-wlan-share-bringup.patchWerner Almesberger
Use the same code for bringup during initialization and when switching the module on/off through sysfs. This also solves the problem of not resetting the WLAN module, which was caused by fix-set-wlan-power-mgt-to-default-on.patch only partially reverting the power-off default introduced with introduce-gta02-pm-wlan.patch. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19fix-set-wlan-power-mgt-to-default-on.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19introduce-gta02-pm-wlan.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.28-breakage-after-change-to-64xx-tree.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19[Resend] Fix trivial warningNelson Castillo
By adding missing #include <linux/module.h> we fix 6 warnings that we care about (in our patchset). Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-11-19Add missing function definitionsJonas Bonn
These functions are undefined at first use which causes the build to fail. Just push the definitions forward, for now. This file needs to be cleaned up a good bit, in general, so we'll put in a better fix at that time. For now, this builds, at least... Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
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-19fix-build-without-gta01-enabled.patchAndy Green
Problems building with GTA01 disabled in config come down to not selecting the common CONFIG for GTAXX with GTA02, and GTA01-specific gps stuff. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-bt-cycle-power-around-regulator-voltage-change.patchSean McNeil
Don't change bt regulator at all if already at requested state, and turn it to opposite on | off state before changing regulator voltage and setting final state. Signed-off-by: Sean McNeil <sean@mcneil.com>
2008-11-19tracking-2.6.27-rc8-pwm-clock-fix-dfoley.patchdfoley
I'm not sure if this patch if complete/correct, but it seems to fix the clock problem. Via: http://marc.info/?l=linux-arm-kernel&m=122322617931931&w=2
2008-11-19Fix build warnings that depend on machine configurationJonas Bonn
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-19tracking-2.6.27-rc1-s3c_lookup_cpu-mismatch.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-add-missing-include.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19use-gta02-glamo-mci-sd-dynamic-clock.patchAndy Green
This patch uses the new glamo-mci slow clock ratio patch in order to dynamically reduce SD Card clock rate when the GPS unit is powered on GTA02. 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-19introduce-BANKCON-meddling-sysfs.patchAndy Green
A few questions have been flying around about how optimal our waitstates are for various things including Glamo. This patch introduces new sysfs nodes /sys/devices/platform/neo1973-memconfig.0/BANKCON0 ... /sys/devices/platform/neo1973-memconfig.0/BANKCON7 If you cat them you get translated info about bus speed on that chip select, eg, # cat /sys/devices/platform/neo1973-memconfig.0/BANKCON1 BANKCON1 = 0x00000A40 Type = ROM / SRAM PMC = normal (1 data) Tacp = 2 clocks Tcah = 0 clocks Tcoh = 1 clock Tacc = 3 clocks Tcos = 1 clock Tacs = 0 clocks You can write them in hex too # echo 0x200 > /sys/devices/platform/neo1973-memconfig.0/BANKCON1 The write format for BANKCON0 - 5 looks like this b1..b0 PMC Page Mode Config b3..b2 Tacp Page Mode Access Cycle b5..b4 Tcah Address hold after CS deasserted b7..b6 Tcoh CS hold after OE deasserted b10..b8 Tacc Access Cycle Period b12..b11 Tcos CS setup before OE asserted b14..b13 Tacs Address setup before CS asserted BANKCON 6 and 7 have two extra bits b16..b15 MT Memory type (00=ROM/SRAM, 11=DRAM) If it's ROM/SRAM, the rest of the bits are as described above. For DRAM b1..b0 SCAN Column address number b3..b2 RAS to CAS delay The patch is intended to let people experiement on their own. But of course you will crash things for sure if the timing is wrong, and you can also trash SD Card data if you make Glamo unstable, so remove it or remount ro first. Other horrible things are possible, but because the settings aren't sticky, you should always be able to recover by either normal reboot usually or at worst NOR boot and then dfu. Most likely you will just crash your session and have to reboot if your settings are bad, but consider yourself warned bad things are possible. :-) Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-no-uart-leak-when-gps-off.patchAndy Green
During the suspend current reduction campaign on suspend I forced the GPS UART to be GPIO and to drive 0 into the GPS unit so we would not burn current there. On resume it lets the pins act as UARTs again. But really, we should do this all the time that the GPS unit is off, lest we leak it enough power to hold internal state and make trouble. 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-19From 119f4e02ba81cffe4dbc88d8ff667048ad28d925 Mon Sep 17 00:00:00 2001Andrzej Zaborowski
Subject: [PATCH] Hacky CONFIG_NO_IDLE_HZ (dyn-tick) support for S3C24xx.
2008-11-19fix-gsm-resume-problems.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Subject: [PATCH] Build fixes.Andrzej Zaborowski
2008-11-19add-gta01-resume-sysfs.patchAndy Green
Adds the somewhat simpler resume source support for GTA01 since PMU is not a wake source Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19add-resume-reason-sysfs.patchAndy Green
If you have U-Boot with uboot-add-find-wake-reason.patch, this patch will get you a wake reason report from cat /sys/devices/platform/neo1973-resume.0/resume_reason it looks like this: EINT00_ACCEL1 EINT01_GSM EINT02_BLUETOOTH EINT03_DEBUGBRD EINT04_JACK EINT05_WLAN EINT06_AUXKEY EINT07_HOLDKEY EINT08_ACCEL2 * EINT09_PMU adpins adprem usbins usbrem rtcalarm second onkeyr onkeyf exton1r exton1f exton2r exton2f exton3r exton3f * batfull chghalt thlimon thlimoff usblimon usblimoff adcrdy onkey1s lowsys lowbat hightmp autopwrfail dwn1pwrfail dwn2pwrfail ledpwrfail ledovp ldo1pwrfail ldo2pwrfail ldo3pwrfail ldo4pwrfail ldo5pwrfail ldo6pwrfail hcidopwrfail hcidoovl EINT10_NULL EINT11_NULL EINT12_GLAMO EINT13_NULL EINT14_NULL EINT15_NULL This shows a problem, false wake from suspend due to battery full Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19gta01-gps-power-state-resume-preserve.patchMike Westerhof
Created an attachment (id=593) / from BZ#79 Updated patch to preserve the power state of the GPS on the GTA01 Currently the GPS is powered up after a suspend/resume occurs. This patch will only power the GPS back up if it was powered up when the GTA01 suspended. Signed-off-by: Mike Westerhof <mwester@dls.net>