aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2008-12-08MERGE-andy-tracking-patchset-edits-revert-power-patchesmerge
Whoops this is just reverting a couple of patches that were not ready to be committed yet.
2008-12-08MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-fix-s3c2410_ts-fif ↵merge
o-allocation-1228776491 pending-tracking-hist top was MERGE-via-stable-tracking-fix-s3c2410_ts-fifo-allocation-1228776491 / a85a8a282939b4f6800081f67e1d568e0b97bd7a ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-fix-s3c2410_ts-fifo-allocation stable-tracking-hist top was fix-s3c2410_ts-fifo-allocation / 56a57ba0d4c1d60869250d5f89fae61544f01012 ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> Fix s3c2410_ts FIFO allocation When I added the FIFO improving the interrupts handlers I introduced a bug. The FIFO is allocated after the interrupts are requested. This makes the kernel crash if the touchscreen generates activity before the allocation takes place. This patch fixes the bug. I reproduced it and tested the fix in a GTA02. - Fix bug - Fix a typo Reported-by: Andy Green <andy@openmoko.com> Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-12-08MERGE-via-pending-tracking-hist-s3c24xx-needs-gpio_trackmerge
pending-tracking-hist top was s3c24xx-needs-gpio_track / da546f30820208681442d98d29aadd2e6a909a09 ... parent commitmessage: From: Werner Almesberger <werner@openmoko.org> S3C24xx needs GPIO_TRACK s3c_gpiolib_getchip for 24xx assumes that, as far as addressing is concerned, all ports have 32 pins. However, there are two flaws in this logic: 1) gpiolib only assigns pin number for real pins (with the exception of gaps added with CONFIG_S3C_GPIO_SPACE), and 2) not all ports have the same number of pins. This patch makes 24xx use the more generic platform s3c_gpiolib_getchip, like we do on 6410. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-12-08[PATCH 2_3] S3C24xx: make GPIOs end at H10.emlWerner Almesberger
S3C24xx: make GPIOs end at H10 At least on 2410 and 2442, GPIOs don't end at G10 but at H10 or even J12. Port J is treated as a special case throughout much of the S3C code, so I'm not sure what the plan is for it now. However, it seems safe to include port H. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-12-08PATCH-1_3-S3C24xx-GPIO-G-has-16-pins.emlWerner Almesberger
S3C24xx: GPIO G has 16 pins At least on 2410 and 2442, GPIO port G has 16 pins. Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-12-08MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-config-touchscreen ↵merge
-group-patch-1228735176 pending-tracking-hist top was MERGE-via-stable-tracking-config-touchscreen-group-patch-1228735176 / b0d334ee992b56e9c97422bcb7d3d4fe239af53e ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-config-touchscreen-group-patch stable-tracking-hist top was config-touchscreen-group-patch / 51c9b7258ee85644ada4b8bf1db4da2450585675 ... parent commitmessage: From: Andy Green <andy@openmoko.com> config-touchscreen-group.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-08MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-remove-skip-filter ↵merge
-1228733704 pending-tracking-hist top was MERGE-via-stable-tracking-remove-skip-filter-1228733704 / 552c6fdd4c644ab2618ad27564d159ed28bbd859 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-remove-skip-filter stable-tracking-hist top was remove-skip-filter / 92bdef8636873a19efc05b2a19578a0aa93dba41 ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> Remove skip filter With more reliable points median and mean filters perform a better job. We no longer need this filter. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-12-06fix-gta03-wlan-power-sequence.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05fix-gta03-wlan-pm-and-mmc-rescan.patchAndy Green
This fixes problems with not enough signals controlled by WLAN enable and disable (it really does cycle the power) and adapts starting state for Qi change that defaults it all to off. It saves about 50mW pulling the power from it. It also provokes the SDIO stack to go look for the card after power up or down so it tracks presence by this power operation too. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05add-force-sdhci-rescan.patchAndy Green
This provides a way for code to force a mmc rescan by using the s3c hsmmc platform device as a handle. It solves the issue of 6410 having two card detect signals mutually exclusive on one physical ball. Ben Dooks told he might implement this another way but we need this on GTA03 right now and can migrate it to any official way that turns up. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05revert-ldo6-down-in-suspend.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-05MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-build-fix-path-to- ↵merge
toolchain-on-1228470136 pending-tracking-hist top was MERGE-via-stable-tracking-build-fix-path-to-toolchain-on-1228470136 / 21b67ab8e79998b0a534263282dab1dda0f11b00 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-build-fix-path-to-toolchain-on stable-tracking-hist top was build-fix-path-to-toolchain-on / ca14ba894df9b28822066c578dde48d7dbe931de ... parent commitmessage: From: Andy Green <andy@openmoko.com> build-fix-path-to-toolchain-one-at-last.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-04MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-cleanup-add-intern ↵merge
al-functions-1228426177 pending-tracking-hist top was MERGE-via-stable-tracking-cleanup-add-internal-functions-1228426177 / cf9f1f4a754f2db71f829a8b07ac455e053b3d1f ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-cleanup-add-internal-functions stable-tracking-hist top was cleanup-add-internal-functions / 251b632aa7be6c6307a6938a59793e205da5b326 ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> Cleanup - Add internal functions for clearing filters This patch adds the following functions: * ts_filter_mean_clear_internal * ts_filter_median_clear_internal The idea: avoid calling the clean function of other filters when we initialize one. Also: * modify messages for consistency. * remove an unneeded else. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-12-04fix-s3c-eint-offset-calc-error.patchAndy Green
There's a bug in calculation of IRQ_EINT_BIT introduced on the test branch for pm changes for s3c by Ben Dooks fixed in this patch. There's also a bit of a mystery about how wake gets to wake EINT set of interrupts, I added a couple of lines that make it work for EINT4+ but not sure what's meant to be there for EINT0-3. Still, this gets GTA02 resume working again. cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-04fix-gta03-gsm-module-startup.patchAndy Green
Power on is active low for GTA03 GSM module Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-04MERGE-via-pending-tracking-hist-patch-andy-tracking-merge-breamerge
pending-tracking-hist top was patch-andy-tracking-merge-brea / 2010fb7565e8239f893d3631c3b1ccc7766f26b9 ... parent commitmessage: From: Werner Almesberger <werner@openmoko.org> PATCH-andy-tracking-merge-breakage-pending-tracking-fix.patch Fix merge breakage in pending-tracking. With this patch, 0b519f14e15365213924505e2e3019c1ff159aa9 builds for GTA02 and it even boots ! ;-) Signed-off-by: Werner Almesberger <werner@openmoko.org>
2008-12-03fix-actual-level-problem.patchAndy Green
Matt's patch managed to get applied twice because the context of the diff was met perfectly in another place... This reverts that and also reverts the GTA03 specific level stuffs. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-config-gta02-uplev ↵merge
el-s3c-fifo-1228311801 pending-tracking-hist top was MERGE-via-stable-tracking-config-gta02-uplevel-s3c-fifo-1228311801 / 45e034c117209b4b983559b3cc9324988cb74cae ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-config-gta02-uplevel-s3c-fifo- stable-tracking-hist top was config-gta02-uplevel-s3c-fifo- / c33ca63570576d6ef09f7b84d12ec124af08ea6e ... parent commitmessage: From: Andy Green <andy@openmoko.com> config-gta02-uplevel-s3c-fifo-option.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03config-gta03-pm-64xx-uplevel.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03fix-gta03-init-platform-power-management.patchAndy Green
This gets GTA03 using the new 6410 power management stuff in Ben Dooks' tree Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03fix-balaji-64xx-regulator-init-change-pm.c.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-repair-broken-incl ↵merge
ude-patch-1228304201 pending-tracking-hist top was MERGE-via-stable-tracking-repair-broken-include-patch-1228304201 / 63bf64cf29947936235ade35a4faf33dc8919b68 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-repair-broken-include-patch stable-tracking-hist top was repair-broken-include-patch / aab327f537d98b0bd48be4b7f61811f9b60ddd02 ... parent commitmessage: From: Andy Green <andy@openmoko.com> repair-broken-include.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03fix-missing-include-files-s3c64xx.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master-1228302402-1228302766-1228303138 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766-1228303138 / 27d86638fe294ef1d1a8f527564ec37bb20e7ef2 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766 stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master-1228302402-1228302766 / 66e84c4be853030f1cea816a124cf76a741ecc08 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master-1228302402 mokopatches-tracking-hist top was MERGE-via-master-1228302402 / de9177f7bd127e9b6fa6213018c7c731b8ca0d0c ... parent commitmessage: From: merge <null@invalid> MERGE-via-master- master top was / 3838a80929f91d35c6d987e518bf9ea397f3e13c ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-wm8753-DBG.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-03MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master / 6b5c5358de92f78cbdf6cf76eceec2b470ee6f59 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master / 93854082272f850a9faee81c74310030e837a5ae ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master mokopatches-tracking-hist top was MERGE-via-master / c3ec0335ef762adf82547202a675bfb653eb99bb ... parent commitmessage: From: merge <null@invalid> MERGE-via-master- master top was / 5221720118174d16dbfdbb63668d2b533ae50101 ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-wm8753-DBG.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-02MERGE-andy-tracking-patchset-editsmerge
2008-12-02MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-add-skip_filter-s3 ↵merge
c2410_ts-pat pending-tracking-hist top was MERGE-via-stable-tracking-add-skip_filter-s3c2410_ts-pat / 90805b15390b2c9a56c31eb9722a9704a88c1ad7 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-add-skip_filter-s3c2410_ts-pat stable-tracking-hist top was add-skip_filter-s3c2410_ts-pat / d1ee2301175bf55df550fb310b0701645e07e5dd ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> add-skip_filter-s3c2410_ts.patch Skip filter for touchscreen values. Problem: The first and the last sample might be unreliable. We provide this filter as a separate function in order to keep the event_send_timer_f function simple. This filter: * Skips NHEAD points after IE_DOWN * Skips NTAIL points before IE_UP * Ignores a click if we have less than (NHEAD + NTAIL + 1) points Right now the filter is embedded in the driver. We have two #defines with the parameters SKIP_NHEAD and SKIP_NTAIL. I didn't store their values in struct skip_filter on purpose. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-12-02fix-gta02-regulators-start-state.patchAndy Green
Start using the boot_on feature of regulator APIs. AUTO, DOWN1, DOWN2, HCLDO (uSD) are told to be enabled from bootloader. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-pm-bt-gta01-no-dev-set-drvdata.patchAndy Green
Sean noticed that the fixes yesterday for pm_bt only set the drvdata on GTA02 path, it will trash GTA01 operation of it. Reported-by: Sean McNeil <sean@mcneil.com> Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-usb-gadget-udc-not-provoking-curlim-action.patchAndy Green
When we are informed by UDC stuff that we have been enumerated as a gadget, we recorded the new current limit but then did nothing. It meant that on boot, the enumeration happened but we remained stuck at 100mA current limit. This patch provokes a call to the work queue to change the current limit and means that coldplugged USB to a PC now recognizes it can pull 500mA when enumerated. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01config-glamo-mmc-speed-improvement.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01config-dmesg-length.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-rfkill-on-bt-platform-drvdata-vs-drvdata.patchAndy Green
Hum seems the rfkill stuff was broken somewhere along the line, some of it thinks the rfkill pointer is in the pdev private data and some gets confused about the bt_data pointer being in dev private data... this patch cleans it out so the rfkill pointer is held in the bt_data struct, which is created for gta01 or 02 now. Before these changes it will blow up on resume due to dereferencing the wrong pointer to the wrong thing. Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-regulators-pm-bt-get-regulator-mutx-on-resume.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-regulators-gps-regulator-acquire-failure.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-12-01fix-regulator-errors-in-mach-gta02.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-30fix-backlight-too-early.patchAndy Green
This moves the backlight init to right before the backlight device init during the jbt6k74 probe callback... it guarantees video is up and the lcm is configured before we bring up backlight and so removes the white flash during boot, the all-black framebuffer is instead shown smoothly and cleanly. Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-28MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-fix-last_issued-ts ↵merge
_filter_medi pending-tracking-hist top was MERGE-via-stable-tracking-fix-last_issued-ts_filter_medi / 404664ee400e5a47f66a4dce9427f3fd4ae22d38 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-fix-last_issued-ts_filter_medi stable-tracking-hist top was fix-last_issued-ts_filter_medi / 80f4b57fef5dcffbb1d93fa43432952c168860ed ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> fix-last_issued-ts_filter_median.patch - Decimation_below was not being used in the median filter. Fixed. - Decimation_below should be small. There's no need to change many points in the median filter if we're moving slow. In this way we will filter more noise. - Now we deliver 2X input events -- 1 each 5 milliseconds. (side effect of the previous two changes) - We should omit the last point before the UP event but I think this belongs to user-space. I'm programming a tslib filter ("skip") and if it doesn't work will I'll send a patch later to skip the last point in the driver. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
2008-11-28MERGE-via-pending-tracking-hist-set-the-eint-configuration-cormerge
pending-tracking-hist top was set-the-eint-configuration-cor / cc3d62df0aa2f4395b787757a656805ffbf28cf8 ... parent commitmessage: From: Matt Hsu <matt_hsu@openmoko.org> set the eint configuration correctly Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2008-11-28config-gta02-uplevel-balaji-pcf50606-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
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-27MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-hist-ignore-very-s ↵merge
hort-clicks-s3c24 pending-tracking-hist top was MERGE-via-stable-tracking-hist-ignore-very-short-clicks-s3c24 / 8e8a39f8d43430ae4543b6d13b1626bd8b913881 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-ignore-very-short-clicks-s3c24 stable-tracking-hist top was ignore-very-short-clicks-s3c24 / aa3d2f306e4ca5b04a01ca3ad635caae1c1e8e33 ... parent commitmessage: From: Nelson Castillo <nelsoneci@gmail.com> ignore-very-short-clicks-s3c2410_ts.patch With this patch the issue of the noisy clicks seems to be alleviated. We ignore the first two points. If a click has less than 3 points we ignore it. On a normal click (I mean with at least 3 points) this patch will delay the first DOWN event by 20 milliseconds. I'm looking for a better solution but this one works and it should make the driver more usable. Signed-off-by: Nelson Castillo <nelsoneci@gmail.com>
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-fix-the-eint_u ↵merge
nmask-logic-for balaji-tracking-hist top was MERGE-via-stable-tracking-hist-fix-the-eint_unmask-logic-for / 3d7bd71b94568fd801e1d10f01ad3c2db16de027 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-fix-the-eint_unmask-logic-for- stable-tracking-hist top was fix-the-eint_unmask-logic-for- / 840a005cbe74d680a0292a8e44f9ab1c2d279b6c ... parent commitmessage: From: Matt Hsu <matt_hsu@openmoko.org> fix the eint_unmask logic for s3c64xx
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-26config-update-balaji-pcf50606-start.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-26clean-gta03-features.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-26fix-lcm-init-smdk.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-24config-gta03-additional-networking-options.patchChristopher Hall
Signed-off-by: Christopher Hall <hsw@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>