aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-19fix-jbt6k74-force-reset-suspend.patchAndy Green
Sean McNeil reports that without the reset for LCM in suspend, he gets a monochromatic mode on it somehow. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-glamo-mci-relationship-with-pcf50633-suspend-resume.patchAndy Green
After protecting pcf50633 read and write primitives against operation after suspend or before resume (by blowing a stack_trace()) I saw glamo-mci was trying to use pcf50633 at these bad times on its own suspend and resume. Since that part was already done via platform callback, I added an export in pcf50633 that tells you if it is ready or busy, and used it to defer (resume power on case) or ignore (suspend power off case, since pcf50633 already did it) the mci power call. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-pcf50633-suspend-resume-onehit-i2c-other-meddling.patchAndy Green
- speed up suspend and resume by using one hit i2c bulk transactions - don't bother storing int mask set on suspend, the default one is what we use anyway - put stack_trace() on pcf50633 low level access that fire if we try to touch them before we resumed - cosmetic source cleanup - reduces resume time for pcf50633 from 450ms to 255ms Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19debug-codec-register-setting-sysfs.patchAndy Green
Allow direct setting of codec registers for super mega meddling power Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19The following is a minor cleanup of backlight resume:Sean McNeil
2008-11-19add-use-pcf50633-resume-callback-jbt6k74.patchAndy Green
Adds the resume callback stuff to glamo, then changes jbt6k74 to no longer use a sleeping workqueue, but to make its resume actions dependent on pcf50633 and glamo resume (for backlight and communication to LCM respectively) Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19introduce-pcf50633-resume-dependency-list.patchAndy Green
Adds resume dependency support to pcf50633 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19introduce-resume-dependency.patchAndy Green
Defines a way for drivers to defer execution of resume callbacks until one or more other driver they are dependent on has itself resumed. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19introduce-charging-led-behaviour.patchAndy Green
Creates a new behaviour requested by Will that the red LED on GTA02 is lit during battery charging.and goes out when the battery is full. This is done by leveraging the PMU interrupts, but in one scenario there is no interrupt that occurs, when the battery is replaced after being removed with the USB power in all the while. So a sleepy work function is started under those circumstances to watch for battery reinsertion or USB cable pull. 100mA limit was not being observed under some conditions so this was fixed and tested with a USB cable with D+/D- disconnected. 1A charger behaviour was also tested. Showing the charging action exposes some inconsistency in pcf50633 charging action. If your battery is nearly full, it will keep charging it at decreasing current even after it thinks it is at 100% capacity for a long while. But if you pull that same battery and re-insert it, the charger state machine in pcf50633 believe it is full and won't charge it. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Subject: config-defconfig-2.6.26.patchAndy Green
X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=7f52bae9664cbf006fe026d4dbbd5988137bd1cc config-defconfig-2.6.26.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Subject: [PATCH] Hardware glamo-fb cursor, some clean-up.Andrzej Zaborowski
2008-11-19Subject: [PATCH] Build fixes.Andrzej Zaborowski
2008-11-19Make ar6k not print soooo much to my consoleHolger Freyther
From 4cb4c308fde9c1f3598046ff98191d14b62bc609 Mon Sep 17 00:00:00 2001 From: Holger Freyther <zecke@openmoko.org> Date: Thu, 29 May 2008 00:09:32 +0200 Subject: [PATCH] [ar6k] silent++, removing -DDEBUG from the Makefile does not work
2008-11-19Fix possible null pointer dereference in s3c24xx_i2c_resumeHolger Freyther
From 0b9bae6aed5268707b348e48a01411ba420844e1 Mon Sep 17 00:00:00 2001 From: Holger Freyther <zecke@openmoko.org> Date: Tue, 27 May 2008 14:41:35 +0200 Subject: [PATCH] [janitor] Fix possible null pointer dereference Judging by the control flow of the resume method i2c->suspended++ could lead to a null pointer dereference.
2008-11-19fix-remove-unused-model-name-bq27000.patchAndy Green
Model name isn't in the bq27000 register set, remove the claim that we can deliver it Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19uplevel-samsung-camera-unit.patchAndy Green
Update this old code to clk API, I2C changes, official GPIO API various struct changes, explicit readl() writel(), DMA API changes. Still not ready for actual use (eg, I2C) but a LOT closer. Compiles on 2.6.24 without errors or warnings now. Use CONFIG_S3C2440_CAMERA=y in .config Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19introduce-samsung-camera-unit-driver.patchSW.LEE
This is the kernel side of an old (2004) samsung camera driver for 2440 It doesn't compile on modern kernel yet, this patch introduces it into the kernel tree without gross mods, so it is broken code we can start to work on
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-19fix-reduce-wake-reasons-in-pcf50633.patchAndy Green
Currently we are willing to wake from sleep from pcf50633 interrupts we don't actually do anything about even when we wake (somewhat puzzled). Let's disable some of these wake sources. 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-19fix-motion-sensor-corruption.patchAndy Green
2008-11-19Fixup hang on resume caused by the s3c2410 touch screen driverHolger Freyther
From dc6d335b467646d802a21ea6b925ee97e83e07be Mon Sep 17 00:00:00 2001 From: Holger Freyther <zecke@openmoko.org> Date: Thu, 15 May 2008 01:16:23 +0200 Subject: [PATCH] Do not use msleep in the resume path of s3c2410_ts as it might lockup For some reason msleep might set the only task running into a suspended state and no timer will ever wake it up. Use mdelay to avoid this. I was not able to understand the reasoning of sleeping after enabling the clock. So we might just remove the msleep/mdelay at all and be fine. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19fix-wep-needs-keys-before-ap.patchSean McNeil
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-suspend-backlight-timing-pm-debug.patchAndy Green
This patch improves the smoothness of suspend and resume action. Taking out CONFIG_PM_DEBUG allows much more rapid resume (the low level serial traffic appears to be synchronous) Added a platform callback in jbt driver and support in pcf50633 so we can defer bringing up the backlight until the LCM is able to process video again (which must happen after the glamo is up and producing video beacuse the LCM is hooked to glamo SPI) GTA01 should not be affected by all this as the callback will default to null and it is on pcf50606 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19s3c24xx-pwm-platform-driver.patchmatt_hsu
This patch is to register pwm as platform driver to keep the PWM-related config when system is in suspend/resume. This could fix the following issue after resume: - HDQ read timeout - LEDs blinked abnormally(if LEDs is driven by PWM) Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2008-11-19fix-KEY_PHONE-up-down-inversion.patchSean McNeil
the KEY_PHONE is backwards. It returns up when pushed and down when released. The following change fixes it: Signed-off-by: Sean McNeil <sean@mcneil.com>
2008-11-19tracking-2.6.26-rc1-sdio-pnp-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_chip.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.26-rc1-remove-input-dev-private-member.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-update-2.6.21-rc1.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19clean-sdio-hcd-suspend.patchAndy Green
fix trailing whitespace and function args for suspend. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19From cc08b5986dfd8d971ee46ce7045fb7863f99a92a Mon Sep 17 00:00:00 2001Matt Hsu
Subject: [PATCH] - add suspend/resume function of s3c24xx_hcd driver Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2008-11-19gta01-fix-resume-redo-par.patchReddog
--> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=595&action=view) fix resume of fbdev BZ#79 I played a bit with the fbdev resume. With this patch the neo doesn't get this white screen on resume from console and from X. Signed-off-by: Reddog <reddog@mastersword.de>
2008-11-19gta01-fix-jbt-platform-missing-members.patchMike Westerhof
Created an attachment (id=594) / BZ#79 Add missing platform_data that caused the GTA01 to crash on suspend/resume The interface to the jbt6k74 driver changed slightly; this patch adds the missing platform_data for the GTA01. This prevents a crash while suspending. This patch also makes some minor changes to cleanup and clarify some debug messages. Signed-off-by: Mike Westerhof <mwester@dls.net>
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>
2008-11-19tracking-2.6.25-changed-s3c2410_dma_request-reurn.patchAndy Green
s3c2410_dma_request used to return 0 for OK and something else for error, now it returns -ve error code or +ve dma channel index + flag Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.25-deprecated-includefile-wm8753.patchAndy Green
<linux/driver.h> is just empty and is deprecated now Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patchAndy Green
Holger got beaten to it on mainline, they provide a s3c2410_gpio_irq2pin() instead of the name he used. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.25-struct-bus-type-loses-devices-member.patchAndy Green
I don't know what device the symlink should be linked against on GTA01, somebody that does know needs to edit it in where it says "FIXME"... I think the supplied method can work OK otherwise. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.25-input_dev-cdev-union-removed.patchAndy Green
struct input_dev in include/linux/input.h used to have a union cdev which contained the associated device struct pointer. This got simplified out in 2.6.25, so this patch removes cdev from our drivers that used it before. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19add-defconfig-2.6.25Andy Green
mostly built-in defconfig for 2.6.25 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-gta01-pmu-irq-edge-lost-on-resume.patchMike Wester
GTA01 -only Restore power button functionality after resume operation Per Werner's suggestion, run the PMU interrupt handler immediately after resume to clear/handle any pending interrupts from that device. This appears to resolve the dead-powerbutton-after-resume problem. This is not well-tested; need feedback to see if there are any side-effects or other problems. From BZ 1313 Signed-off-by: Mike Wester <mwester@dis.net>
2008-11-19fix-gta01-spi-resume-patchMike Wester
Patch to register the SPI device and thus the save/resume for the display This patch does *NOT* resolve this problem, but it does make things a bit better. The SPI device name changed with 2.6.24, and the change was made for the gta02 but never propagated to the gta01. With this change, you'll now see the entries for the spi bus and the display controller in /sys; and the display controller suspend/resume functions will be called. (via BZ 79) Signed-off-by: Mike Wester <mwester@dis.net>
2008-11-19fix-jack-interrupt-debounce-loss-window.patchAndy Green
Make sure we can't lose a jack interrupt in debounce, despite it is a one-in-a-million thing that just needs replug to clear 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-19[led] Misc fixes in the driver codeHolger Freyther
to_bundle returned the wrong data. The platform_device is the parent of the class_device used by the LED device class. Return the correct class. num_leds was not set to the correct number of registered LEDs. All loops using num_leds (e.g. module unloading) were not executed at all. On removal of the module disable all LEDs. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
2008-11-19[leds] We would enable PWM for all four timers, disable it for all four as wellHolger Freyther
Currently we do not use the PWM code to drive the LEDS. We have enabled the PWM for four timer sources but disable it only for three, fix that up. 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>