aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
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-19: lis302dl-port-work-from-stable.patchSimon Kagstrom
Merge in the accelerometer functionality from stable From: Simon Kagstrom <simon.kagstrom@gmail.com> This giant patch merges the functionality from stable. It also changes the default threshold to 0 (generate interrupts on data). As the level-triggered interrupts cause too frequent interruptions on low thresholds, also set a lower limit to 36mg to avoid slowing down the phone too much. Also rearrange the probe function to disable interrupts only over device I/O. This fixes the kernel errors when inserting the module. Andy was right: In stable-tracking, no magic workaround is needed to make suspend/resume work. I've tested the accelerometers under heavy load (making the phone basically unusable) without getting lockups. Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
2008-11-19Subject: [PATCH 2/2] cleanup-gta02_lis302dl_bitbang.patchNelson Castillo
* Improve comment about the chip select issue with the accelerometers. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-11-19Subject: [PATCH 1/2] fix-gta02_lis302dl_bitbang.patchNelson Castillo
Make accelerometers work again in stable-tracking. They stopped working with a previous commit. (shifter >> 7) & 1); ...; shifter <<= 1; Had been changed to: (shifter >> (7 - n)) & 1) /* assuming tx_bytes == 1 */ The problem: an unneeded shifter <<= 1 was still there. We make a small change to the indexing code to make things work again. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-11-19config-gta02-s3c-mmc-for-wlan.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Add default platform data for i2c to make GTA01 bootMicael Henriksson
Signed-off-by: Micael Henriksson <micael.h@gmail.com>
2008-11-19config-gta02-uplevel-s3c-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-enable-storing-config-in-kernel.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19GTA01: Build fixesJonas Bonn
Some header files have moved so update #includes. devs.h has been moved and updated. Delete the old version at include/asm-arm/plat-s3c24xx as it is no longer used. Nothing to migrate from this file to the new file at the new location. s3c_device_i2c has become s3c_device_i2c0 Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Set vbus max current to 500 mABalaji Rao
Hi Andy, I found that stable tracking usb_curlim was zero because of this and the battery was not getting charged by default. CONFIG_USB_GADGET_VBUS_DRAW was introduced in .27-rc6 I guess. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2008-11-19battery-name.patchSean McNeil
Change battery name from bat to battery to conform with Android better
2008-11-19config-gta03-change-linux-sdio-stack.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-gta02-change-linux-sdio-stack.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-i2c0-platdata.patchWerner Almesberger
i2c0 platform data wasn't initialized, which caused driver registration to fail, and kept many other peripherals from initializing. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19Use S3C SDI on GTA02.Werner Almesberger
2008-11-19gta02-remove-sdio.patchWerner Almesberger
After killing the Atheros SDIO stack, we shall no longer deny ourselves the pleasure of also getting rid of the glue that keeps it on the platform. Not-Yet-Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19ar6k-without-sdio.patchWerner Almesberger
Make the AR6000 WLAN driver compile after moving it outside the Atheros SDIO stack. Note that the config option's name changes as well. The choice of a non-standard location (drivers/ar6000/) is intentional. The driver is still very far from being in shape for mainline inclusion, and the odd location should serve as an immediate warning. Not-Yet-Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19config-tracking-2.6.28-rc2-plus-6410-uplevel.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2442-2.6.28-rc2-i2c-6410-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-tracking-gta03-2.6.28-rc2-uplevel.patchAndy Green
Add fake GPIO I2C bus so we can start config with pcf50633 before real 6410 I2C bus driver is ready Enable pcf50633 and current APM emulation to get it going (will be deprecated shortly hopefully). Signed-off-by: Andy Green <andy@openmoko.com>
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-19config-tracking-2.6.28-rc2-uplevel.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-tracking-gta03-2.6.28-rc1-uplevel.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19> I also mentioned that the uplevelled mokopatches dealt with the new wayBalaji Rao
> of passing i2c information into the wm8753 driver... it handles that > action now. Maybe that's what trashes up the PMU registration / bus > attach stuff for PMU. > > Anyway that is why I removed wm8753 i2c registration from mach-gta02.c, > it's now done in the gta02 wm8753 driver. Ah, sorry for not noticing it. So we can remove the i2c_board_info altogether from mach-gta02.c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
2008-11-19config-remove-android-specific-config.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-tracking-2.6.28-rc1-uplevel-gta02.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-glamo-suspend-even-more-meddling.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-config-remove-suspend-testing-config.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-set-wlan-power-mgt-to-default-on.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19change-all-tla01-gta03.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19config-tracking-android-options-on-defconfig.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-config-uplevel-android-defconfig.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19android-tracking.patchSean McNeil
Minimal set of kernel changes to support Android operation. Note arch/arm/configs/gta02-android-defconfig
2008-11-19tracking-fix-include-moves.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-config-add-tla01-config.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19cleanup-after-adding-andy-tracking-patchset.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-hdq-timing-factor-2.6.27.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-hdq-fiq-interface.patchSean McNeil
Try to make sure about no compiler malarky by volatile. Change hdq busy detect. Change error handling path in hdq interface to fiq. Signed-off-by: Sean McNeil <sean@mcneil.com>
2008-11-19fix-lid302dl-bitbang-all-the-way-baby.patchAndy Green
This large patch removes motion sensor from Linux SPI bitbang driver. Previously, some access was done through Linux SPI protected by a mutex, and the ISR access was done by platform bitbang code due to inability of Linux SPI driver to work in the interrupt context. Now all access is done by bitbang callbacks in mach_gta02.c and are protected by single scheme of interrupt lockout for the duration -- I line-by-line'd the driver to confirm that best I could, adding protection and taking more care on several /sys related paths. Because this is no longer a Linux SPI bus driver, the path for various /sys things have changed. They can now be found down, eg, /sys/devices/platform/lis302dl.1/sample_rate lis302dl.1 is the top sensor and .2 the bottom. The names of the input susbsytem paths remain the same as before. Not working in interrupt context made trouble using interrupt lockout as locking [21474615.495000] BUG: sleeping function called from invalid context at kernel/sched.c:4684 [21474615.495000] in_atomic():0, irqs_disabled():128 [21474615.495000] 2 locks held by bash/779: [21474615.495000] #0: (&buffer->mutex){....}, at: [<c00ec1b0>] sysfs_write_file+0x30/0x80 [21474615.495000] #1: (pm_mutex){....}, at: [<c007a34c>] enter_state+0xd4/0x10c [21474615.495000] [<c0032a14>] (dump_stack+0x0/0x14) from [<c0049410>] (__might_sleep+0xdc/0xf8) [21474615.495000] [<c0049334>] (__might_sleep+0x0/0xf8) from [<c0316c38>] (wait_for_common+0x28/0x190) [21474615.495000] r5:c79ffd00 r4:c79ffd4c [21474615.495000] [<c0316c10>] (wait_for_common+0x0/0x190) from [<c0316e30>] (wait_for_completion+0x18/0x1c) [21474615.495000] r8:c79ffd84 r7:c79c4800 r6:c79ffd00 r5:c79ffd20 r4:c79ffd4c [21474615.495000] [<c0316e18>] (wait_for_completion+0x0/0x1c) from [<c01d28ec>] (spi_sync+0xa0/0xb8) [21474615.495000] [<c01d284c>] (spi_sync+0x0/0xb8) from [<c020ca10>] (__reg_write+0x88/0x94) [21474615.495000] [<c020c988>] (__reg_write+0x0/0x94) from [<c020cc30>] (lis302dl_resume+0x54/0x198) [21474615.495000] r6:60000013 r5:c79c4800 r4:c79bc9c0 [21474615.495000] [<c020cbdc>] (lis302dl_resume+0x0/0x198) from [<c01d2fb0>] (spi_resume+0x38/0x44) [21474615.495000] r6:00000010 r5:c79c4800 r4:c79c4974 [21474615.495000] [<c01d2f78>] (spi_resume+0x0/0x44) from [<c0198f34>] (resume_device+0x8c/0x1b0) [21474615.495000] [<c0198ea8>] (resume_device+0x0/0x1b0) from [<c01990c0>] (dpm_resume+0x68/0x134) [21474615.495000] r7:00000003 r6:00000010 r5:c79c4800 r4:c79c4974 [21474615.495000] [<c0199058>] (dpm_resume+0x0/0x134) from [<c01991b4>] (device_resume+0x28/0x38) [21474615.495000] r6:00000003 r5:c08b7188 r4:00000010 [21474615.495000] [<c019918c>] (device_resume+0x0/0x38) from [<c007a0f8>] (suspend_devices_and_enter+0x110/0x180) [21474615.495000] r4:00000000 [21474615.495000] [<c0079fe8>] (suspend_devices_and_enter+0x0/0x180) from [<c007a320>] (enter_state+0xa8/0x10c) [21474615.495000] r6:00000003 r5:c03aa414 r4:00000000 [21474615.495000] [<c007a278>] (enter_state+0x0/0x10c) from [<c007a430>] (state_store+0xac/0xc0) [21474615.495000] r6:c7b80000 r5:00000003 r4:c03aa414 [21474615.495000] [<c007a384>] (state_store+0x0/0xc0) from [<c014dfb4>] (kobj_attr_store+0x24/0x30) [21474615.495000] [<c014df90>] (kobj_attr_store+0x0/0x30) from [<c00ebe58>] (flush_write_buffer+0x54/0x68) [21474615.495000] [<c00ebe04>] (flush_write_buffer+0x0/0x68) from [<c00ec1d8>] (sysfs_write_file+0x58/0x80) [21474615.495000] r8:c7acca80 r7:c79fff78 r6:000be408 r5:00000004 r4:c7a19ea0 [21474615.495000] [<c00ec180>] (sysfs_write_file+0x0/0x80) from [<c00a91b8>] (vfs_write+0xbc/0x14c) [21474615.495000] [<c00a90fc>] (vfs_write+0x0/0x14c) from [<c00a9774>] (sys_write+0x4c/0x7c) [21474615.495000] r7:00000004 r6:00000000 r5:00000000 r4:c7acca80 [21474615.495000] [<c00a9728>] (sys_write+0x0/0x7c) from [<c002dc20>] (ret_fast_syscall+0x0/0x2c) Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-rebase-dust.patchAndy Green
Last rebase to stable-2.6.26 left some trash from rebasing the patches on top of this, clean it back out Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19debug-resume-hang.patchAndy Green
Weeks of frantic effort to control Glamo, traced the issue to two outcomes: nWAIT is forced down and the device is hard locked, or we survive immediate Glamo resume and die again with nWAIT forced down when the framebuffer driver tries to flash the soft cursor. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19debug-move-led-around.patchAndy Green
Light an LED in the dark crashing hell of dead resume... the problems come from Glamo it turns out Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-remove-resume-dependencies-on-pmu-for-pmu-children.patchAndy Green
All that stuff should be enforced by device tree now, out with it Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-device-tree-pcf50633-parents-more-things.patchAndy Green
Oooh it's a lot cleaner now and explained in the comments Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19clean-mmc-power-deps-and-timing.patchAndy Green
Simplify it now we have Glamo as child of pcf50633 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19clean-device-registration-to-array.patchAndy Green
Well dependencies of pcf50633 are getting a bit much, let's break them out into an array Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-vib-parentage-to-fiq.patchAndy Green
Vibrator relies on FIQ, represent that in device tree Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19add-pwm-child-attach-callback.patchAndy Green
Things can depend on PWM being up, allow device tree to show that Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-gps-power-child-of-pcf50633.patchAndy Green
GPS power control device is obviously a child of pcf50633 since it wants to meddle with regulators. Define it to be so in the device tree. Signed-off-by: Andy Green <andy@openmoko.com>