Commit Graph

288 Commits

Author SHA1 Message Date
Jon Benson
37af65e44e EXPERIMENTAL: Initial (Alpha) support for extended battery in the new driver. USE AT YOUR OWN RISK! http://bit.ly/eDLk0g 2010-12-06 16:32:44 +11:00
Jon Benson
325979c74c Another attempt at patching smd_tty to prevent out of memory crashes. 2010-12-04 14:34:10 +11:00
Jon Benson
fcfe8c7bef Revert "Try using whatever buffer we can get in smd_tty instead of sitting in an endless loop!"
This reverts commit 6df8c16511.
2010-12-04 13:14:33 +11:00
LeTama
138ebc323a htcleo: fix audio skip on wakeup for auo panel 2010-11-26 12:37:36 +11:00
Jon Benson
afd384c81b Adding config to git so it's easier to keep track of. 2010-11-26 11:09:29 +11:00
Jon Benson
6df8c16511 Try using whatever buffer we can get in smd_tty instead of sitting in an endless loop! 2010-11-22 13:06:45 +11:00
Eran
b02a70d538 Tweak smartass for better performance 2010-11-18 13:00:13 +11:00
Jon Benson
260b0ba01a Added some extra debug info for vdd_level being set on bootup, and fixed another warning in WiFi driver.
The warning was preventing me compiling using the latest CodeSourcery toolchain with optimizations.
2010-11-18 12:36:22 +11:00
Ashwin Chaugule
e9c3ac0e31 Optimized ARM RWSEM algorithm
RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>
2010-11-18 12:29:21 +11:00
Prashant Somashekar
fea4f78e54 increase IDLE_TIMEOUT within kgsl_yamato_idle (kgsl_yamato.c) 2010-11-18 12:28:38 +11:00
Ken Sumrall
f248e15b5f msm: kgsl: Remove support for mmap from the kgsl driver.
The mmap(2) functionality of kgsl is no longer used, and it had a
bug that would crash the kernel when mmap(2) was called with
"odd" parameters.  So we have removed the mmap functionality.
If for some reason in the future you want to resurrect this,
make sure memdesc is properly initialized in all paths through
the kgsl_mmap() routine.

Signed-off-by: Ken Sumrall <ken@android.com>
2010-11-18 12:27:57 +11:00
huanyu
031a7f7967 [ARM] msm: qsd8k: audio
When muting mic input, always update saved mute state
regardless of completion status returned by audio dsp.
This ensures that saved mute state is coherent with mute state in
phone application that has no feedback on completion status.

Signed-off-by: Eric Laurent <elaurent@google.com>
2010-11-18 12:27:00 +11:00
Todd Poynor
7304611fc3 cpufreq: interactive: Changes to interactive governor
Changes include:
* May scale up to intermediate speeds after scaling down, rather than
scale to max speed and then only scale down until max speed needed.

* Tweaked thresholds at which max speed requested (previously CPU must
have been 100% busy since idle exit timer started, now will go max if at
least 85% busy) and default minimum sample time raised to 80ms. Tweaking
based on UI tests, still in progress.

* SMP fixes.

* Fixed attempted multiple delete of sysfs group on governor stop.
Set a just-in-case-CPU-goes-busy-again timer even if nr_running == 0 at
timer function run time, but cancel if that CPU goes idle (and don't
re-arm timer if that CPU is currently idle).

* Re-evaluate speed if a CPU goes idle while above min speed (and no timer
currently set) in case the platform requires all CPUs to be at the same
speed.

* Realtime workqueues disappeared upstream, convert speed up workqueue to
a realtime task. Average scheduling latency measured significantly less
than WQ_HIGHPRI.

* Timers are not deferrable, must wake CPU from idle, since we now
re-evaluate speed for idle CPUs.

* CPU load is computed from higher of short-term load since idle exit vs.
long-term load since last frequency change, to avoid dropping speed
during temporary dips in load on long-term-busy CPU.

* Avoid 1 CPU starting new idle exit load eval interval in a race with
timer running on another CPU.

* New fugly debugging printfs should be reworked or go away eventually.

Change-Id: I606b5c1850637c35a7814309df12362d5c044825
via: https://review.source.android.com//#change,15809
2010-11-18 12:26:12 +11:00
Steve Kondik
c8cec4c0c1 cpufreq: interactive: Fix potential division by zero 2010-11-18 12:25:44 +11:00
Shubhraprakash Das
c69e698fff msm_kgsl: Optimize TLB flushing
Only flush TLB when it is absolutely nessasary as opposed to
flushing it on every map and unmap
2010-11-18 12:22:31 +11:00
Jordan Crouse
9e3544077c msm_kgsl: Move kgsl_sharedmem_init to module load
kgsl_sharedmem_init/kgsl_sharedmem_close only need to be called once,
so move them to the the module load and close functions so they can be
available through the life of the module.
2010-11-18 12:22:14 +11:00
Jon Benson
30d2ca1d5e Removed overclocked bootup, this time I edited the right spot! 2010-11-17 23:31:07 +11:00
Jon Benson
6278876f4d Revert "Removed overclocked boot since some phones won't handle it." since I edited the wrong bit!
This reverts commit e937051daf.
2010-11-17 23:29:45 +11:00
Jon Benson
e937051daf Removed overclocked boot since some phones won't handle it. 2010-11-17 22:45:55 +11:00
Jon Benson
aced6aebc2 g-sensor workaround by mdebeljuh & jdivic (http://forum.xda-developers.com/showthread.php?p=9208297#post9208297) 2010-11-17 19:42:50 +11:00
Jon Benson
bcfc153b4e Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-11-17 18:57:36 +11:00
Jon Benson
506ba3dfe4 Corrected Kconfig information to match changes I made to overclocking 2010-11-17 18:56:36 +11:00
Eran
fc0156bf88 Add smartass governor 2010-11-17 18:35:24 +11:00
Jon Benson
19867bdf03 Added sysfs interface for undervolting based on information from here:
http://forum.xda-developers.com/showthread.php?t=821372

See the thread for information on how to use it.
2010-11-17 18:20:25 +11:00
Markinus
31bc15c159 htcleo: fixed USB charging problems in some configurations and cleanups 2010-11-15 16:23:26 +01:00
Markinus
044ee667e9 htcleo: readded the new battery driver after recheck
For most people the driver works good. I checked the coefficients and the pd_m for the 1230 Battery is correct, so the voltage calculating is ok.
We need a other test to check the pd_t value for the voltage temperatur correction. Still no battery detection. Wince can detect it, we have to find out how this works.
2010-11-14 23:58:20 +01:00
Markinus
3a4df97971 htcleo: removed the fix firmware in kgsl 3d driver. We can use now the yamato_xxx.fw files.
Revert "htcleo: fix hw3d hardcoding firmware in kernel"

This reverts commit d3a4673828.
2010-11-14 19:54:46 +01:00
Markinus
0eba6e9d4d htcleo: Back to our old battery driver. We have to find some stuff more about our battery to get it real good wrokring.
Revert "htcleo: fixed USB charging problems in some configurations and cleanups"

This reverts commit d28b1aa6d6.

Conflicts:

	arch/arm/mach-msm/board-htcleo.c
2010-11-14 18:26:50 +01:00
Markinus
d71283a773 Revert "htcleo: add new battery driver"
This reverts commit 55ca1d277a.

Conflicts:

	arch/arm/configs/htcleo_defconfig
	arch/arm/mach-msm/board-htcleo.c
	arch/arm/mach-msm/htc_battery.c
	include/linux/ds2746_battery.h
2010-11-14 18:21:06 +01:00
Markinus
9b7f42ceee Revert "htcleo: add new battery temperature table"
This reverts commit 53a7287c1b.
2010-11-14 16:39:53 +01:00
Markinus
4d523a124b Revert "battery driver: reduce dmesg verbosity for normal use"
This reverts commit bb612364fc.
2010-11-14 16:39:41 +01:00
Markinus
a4242d5348 htcleo: cleanups 2010-11-11 20:09:06 +01:00
Markinus
d929bed06c camera: added desire autofocus stuff, is working now with the enabled 720p code. Increased clock for higher frame rates. 2010-11-11 18:12:44 +01:00
rajkosto
fb517c3008 nand driver cleanup and new yaffs version 2010-11-10 15:21:42 +01:00
Jon Benson
1d971023be Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-11-10 23:56:53 +11:00
Markinus
7d8b0f7344 htcleo: enabled 720p camera
Some identification is missed, have to find it. if I create the devices with node 0, then the driver will have 1. If I do 1 the driver will have 0 . . argh. But do simple a link from 0 ->1 and then it works.
ln -s  /dev/msm_camera/control0  /dev/msm_camera/control1
ln -s  /dev/msm_camera/frame0  /dev/msm_camera/frame1
ln -s  /dev/msm_camera/config0  /dev/msm_camera/config1
2010-11-09 18:42:56 +01:00
Markinus
d3740f8695 htcleo: add support for rmnet as module 2010-11-08 20:15:38 +01:00
Markinus
9125bbc537 htcleo: fixed disabled 5MPCamera with last commit
The files from evo and desire need other sysfs directories, now both are created
2010-11-08 18:01:09 +01:00
Jon Benson
914f7ce2b5 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-11-08 18:03:47 +11:00
Markinus
f5fa5813c0 htcleo: add missing sys interfaces in camera driver
This interfaces are using from Evos libs
2010-11-07 23:52:03 +01:00
Jon Benson
e1b186e332 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-11-07 11:15:43 +11:00
Markinus
b47e674409 Merge branch 'master' of gitorious.org:linux-on-wince-htc/linux_on_wince_htc 2010-11-05 12:16:14 +01:00
Markinus
83f65b4212 cpu: Added interactive governor 2010-11-05 12:15:26 +01:00
LeTama
bb612364fc battery driver: reduce dmesg verbosity for normal use 2010-11-05 11:45:13 +01:00
Markinus
3cdd43b0d4 Revert "go back to using google's version of yaffs for higher stability"
This reverts commit e97d7c88a7.
2010-11-04 21:55:11 +01:00
Markinus
a3cc6a6a9d Merge branch 'master' of git://gitorious.org/~rajkosto/linux-on-wince-htc/rajko-linux_on_wince_htc 2010-11-04 21:51:42 +01:00
rajkosto
e4b408efab silly htc, you shouldn't use dma_sync_single on dma mapped PAGES 2010-11-04 19:36:01 +01:00
Jon Benson
375f6355e6 Applied patch for ppp driver. See http://docs.openmoko.org/trac/ticket/2212 2010-11-04 19:27:03 +01:00
Markinus
ec2505f81c htcleo: changed the LS polling to 5s. Liblights is using now internal mictop bl.
The polling every second for backlight is much for the bus, so it's better to use the internal autobl functionality.
The 5s is enough for other lightsensor applications.
2010-11-04 18:50:10 +01:00
Markinus
76df0ff485 htcleo: fixed small BL settings for no sense builds and autobl rights 2010-11-04 18:49:09 +01:00