aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2008-11-26MERGE-via-balaji-tracking-hist-MERGE-via-stable-tracking-hist-ar6k-break-dow ↵merge
n-insane-allocat balaji-tracking-hist top was MERGE-via-stable-tracking-hist-ar6k-break-down-insane-allocat / 6a9c6db399ca60d371ec6b42986608e8bc4a636f ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-ar6k-break-down-insane-allocat stable-tracking-hist top was ar6k-break-down-insane-allocat / ac6b4c5fae9b497401eeb3e47cc21932839c18a2 ... parent commitmessage: From: Werner Almesberger <werner@openmoko.org> ar6k-break-down-insane-allocation.patch The Atheros WLAN stack kmallocs almost 64kB of contiguous kernel memory for a structure containing almost entirely buffers. As is commonly known , this kind of large allocation has a very high risk of failing as kernel memory fragments during the life of a system. This patch allocates the buffers indiviudually, thus shrinking the structure to a size below 4kB. Note: this is untested. These buffers are only used with Atheros' raw interface, which none of the code we have, including wmiconfig, even seems to know about. This may fix bug #2133. Code follows Atheros' style, so checkpatch hates it. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-26MERGE-via-balaji-tracking-hist-MERGE-via-stable-tracking-hist-MERGE-via-moko ↵merging other branches
patches-tracking-via-master-s3c-hsmmc-clean balaji-tracking-hist top was efb2d57c0e0ed62324d79d6c5793fe797c157266
2008-11-22(no commit message)Andy Green
2008-11-21fix-merge-add-new-file.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21MERGE-via-balaji-tracking-balaji-updatesAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21add-gta03-lis302dl.patchAndy 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-remove-drivers-Kconfig-sdio-dir-reference.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21meddle-try-get-sdio-wlan-up.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21add-balaji-pcf50633-active-probe.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21uplevel-gta03-pmu-mach-stuff.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21fix-balaji-regulator-Kconfig.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21fix-remove-EINT-ref-killing-gta02-build.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21clean-pcf50633-dust-warnings.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21patch-libertas-88w8688-vid-pid.patchAndy Green
Add the observed vid, pid and model numbers for Marvell 88W8688 Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21move-neo1973-pm-stuff-to-drivers-misc.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21rename add-more-gta03-specific-mach-init.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21uplevel-neo1973kbd-gta03-compatibility.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-21config-gta03-old-favourites.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-20pcf50633_mfd.patchBalaji Rao
pcf50633 driver rewritten to use the MFD model.
2008-11-20pcf50633_rtc.patchBalaji Rao
Move the RTC subdevice driver into drivers/rtc/rtc-pcf50633.c
2008-11-20pcf50633_introduce_reg_read_functions.patchBalaji Rao
Introduces pcf50633_read and pcf50633_write for reading a block of registers. Assumes mutex held by caller.
2008-11-20pcf50633-remove-unnecessary-state-save-during-suspend.patchBalaji Rao
We don't need to save state when we suspend as we don't put the PMU to standby. This improves the 'resume devices' time from 1.175s to 1.135 sec!
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-20glamo_mci_use_regulator_api.patchBalaji Rao
Changes the glamo-mci driver to use the regulator API.
2008-11-20pcf50633-backlight.patchBalaji Rao
Move backlight support out of pcf50633 driver. backlight support now uses corgibl aka generic backlight support. Set CONFIG_BACKLIGHT_CORGI=y to use it.
2008-11-20pcf50633_adc.patchBalaji Rao
Improves ADC access interface in pcf50633 driver.
2008-11-20gta02_regulator_constraints.patchBalaji Rao
Specify regulator constraints for gta02. For now, constraints for only the current used devices are specified.
2008-11-20pcf50633_use_regulator_api.patchBalaji Rao
Modify pcf50633 driver to use the new regulator API.
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-19lis302dl-ack-ff_wu-interrupts.patchSimon Kagstrom
Setup interrupt latching for thresholded operation From: Simon Kagstrom <simon.kagstrom@gmail.com> This patch, for stable-tracking, sets up interrupt latching for thresholded operation, and also acks the interrupt in the handler. This reduces the interrupt load, and thresholds < 36 are once again allowed (though not of much use). The patch also fixes some warnings in the code (including a potential bug). Thanks to Werner for pointing this out! Signed-off-by: Simon Kagstrom <simon.kagstrom@gmail.com>
2008-11-19s3cmci-dont-leak-pdata.patchWerner Almesberger
When compiling s3cmci as a module and doing an insmod-rmmod-insmod sequence, s3cmci_probe often oopses because the platform data contains garbage. The reason for this is that I'm not providing any platform data (removed in gta02-mmc-mci.patch), and thus s3cmci tries to put its own defaults: if (!host->pdata) { pdev->dev.platform_data = &s3cmci_def_pdata; host->pdata = &s3cmci_def_pdata; } s3cmci_def_pdata is inside the module, so the pointer in pdev->dev.platform_data becomes invalid after the module is unloaded. Since nothing else in s3cmci uses pdev->dev.platform_data, "patching" it seems unnecessary. This patch removes it. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19typo-debug-s3cmci-fmax.patchWerner Almesberger
Oops ! It compiled file as non-module, but not as module. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19debug-s3cmci-fmax.patchAndy Green
This patch adds the module parameter f_max to s3cmci to limit the maximum clock frequency of the SD interface. E.g., when booting with s3cmci.f_max=10000000, the kernel should say s3c2440-sdi s3c2440-sdi: f_max lowered from 50000000 to 10000000 Hz and the interface frequency should be limited accordingly. Setting the limit above the maximum frequency supported by the card or the interface has no effect, so the option is ignored (and no "f_max lowered" line is printed). Setting the limit below the minimum frequency supported by the interface sets it to that frequency. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19fix-pcf50633-backlight-never-down.patchAndy Green
This solves the problem that the backlight never turns off in stable-tracking Signed-off-by: Andy Green <andy@openmoko.com>
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-19Make the console turn off the backlight when blanking the screen.Andy Green
Work in progress.
2008-11-19fix-glamo-gpio-resume.patchAndy Green
Glamo GPIO are not set correctly after resume / reset action. This patch forces them to correct state for GTA02. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-remove-broken-faster-nand.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19fix-dangling-drivers-sdio-Makefile-reference.patchAndy Green
Change to removing Atheros stack left a dangling reference to Makefile in drivers/sdio that made errors on make distclean Reported-by: Christopher Hall <hsw@openmoko.org> Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19page-flip.patchSean McNeil
Signed-off-by: Sean McNeil <sean@mcneil.com>
2008-11-19S3C24xx NAND: allow for faster timingsHarald Welte
Tacls can actually be zero with some NAND flash devices, so we need to permit this. Also, the TACLS register actually specifies the actual number of HCLK clocks, where the TWRPH0 and TWRPH1 registers are auto-incremented by one HCLK clock in hardware. Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-11-19hif-linux-sdio.patchWerner Almesberger
This is a replacement for Atheros' HIF layer that uses the Linux SDIO stack. Using GPLv2, like Atheros' code this is based on. Work in progress. 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-19prepare-ar6001-driver-linux-sdio.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.28-rc2-i2c-rebase-breakage.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Re: [PATCH] fix root cause of NAND troubleWerner Almesberger
Ben Dooks wrote: > My only comment would be > that a slightly better solution would be to do: Oh, that's much better, thanks ! I hadn't realized at first that once could read the FIFO one byte at a time. The revised patch is below. - Werner ---------------------------------- cut here ----------------------------------- fix-s3c-nand-read-bytes.patch With the introduction of optimized OOB reads in nand_read_subpage, the length of the data requested may not be a multiple of four bytes. This caused a partial read on the 2440, leading to false ECC errors and, worse, attempts to "correct" them. Note that there is a similar issue in s3c2440_nand_write_buf, which doesn't seem to cause trouble yet. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-11-19From a54bd9e2376337320c36965830fd3167c4063356 Mon Sep 17 00:00:00 2001Chia-I Wu
Subject: [PATCH] glamofb: Initialize only visible part of the memory. It takes lots of time (0.5 seconds) to initialize the whole memory. As only the visible part matters, we could just initialize that part. Signed-off-by: Chia-I Wu <olv@openmoko.com>
2008-11-19fix-mmc-busy-loop-on-bytes.patchWerner Almesberger
christer-mmc-byte-alignment.patch reduced the FIFO I/O granularity from words to bytes. This also includes the decision when the FIFO is empty or full. However, we sometimes only want to transfer full words, in which case do_pio_read/do_pio_write busy-loop until the FIFO has filled up or drained enough. In the case of do_pio_write, this can cause an endless loop if the amount of data exceeds the FIFO size, because do_pio_write runs before the transfer is initiated, so the FIFO never drains. Signed-off-by: Werner Almesberger <werner@openmoko.org>