Commit Graph

115 Commits

Author SHA1 Message Date
tytung
a8bf8f2567 net: wireless: bcm4329: Allocate skb with GFP_KERNEL flag if possible
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-12 17:56:55 +08:00
tytung
9bc54c5ede net: wireless: bcm4329: Disable wake irq at driver stop
Previously at driver stop interrupts were not disabled and
might cause never-ending waking up

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-03-12 17:55:43 +08:00
tytung
f8d85d37a8 Merge commit 'refs/merge-requests/1' of gitorious.org:~tytung/linux-on-wince-htc/tytungs-hastarins-linux_on_wince_htc 2011-03-12 16:13:12 +08:00
Markinus
1b4ec557f5 usb: fixed compile errors 2011-03-12 15:56:28 +08:00
Markinus
f42b4692d6 usb: added usb-host functionality for MSM devices amd Leo config file 2011-03-12 15:56:21 +08:00
Arne182
3cc2d57e15 Changed Voltage percentage curve and changed capacity to 2300mAh for EB 2011-03-01 22:35:03 -08:00
Arne182
fcf4ad02f1 Inital Arne's EB Support added. 2011-02-26 11:03:39 -08:00
tytung
765f3a9d95 wifi: updated WiFi driver to AOSP version to support WiFi with EAP authentication on Gingerbread.
Need Gingerbread wpa_supplicant.
2011-02-23 19:15:59 +08:00
Danijel Posilović
c3c716173f - Some cleanups
- Added button backlight control via panel backlight (button backlight will go on/off with screen backlight)
- To enable/disable this just echo 0 or 1 to /sys/devices/platform/htcleo-backlight/btn_control
( echo 0 >  /sys/devices/platform/htcleo-backlight/btn_control )
- By default button control is enabled
2011-02-17 21:13:21 +08:00
tytung
0162818a8a New led driver compatible with Desire (Bravo) liblights
- remove all lights.*.so files from /system/lib/hw (backup if u want) and replace with lights.qsd8k.so from Bravo ROM or download from http://www.multiupload.com/2M5T02M3TU
 - if button backlight don’t work: turn screen on, press any key and put phone under bright light ( this should activate light sensor and backlight)

Conflicts:

	arch/arm/configs/htcleo_defconfig
	arch/arm/mach-msm/board-htcleo.h

Add commit from 654ce990ab
2011-02-17 21:09:15 +08:00
Markinus
d3034284d5 bma150: added calibration interface and fixed calibration for HD2 (the facedown problem) 2011-02-16 18:43:01 +08:00
Markinus
27fddc92af rmnet: removed wince rmnet file and added mudule support for the normal rmnet driver. 2011-01-28 23:54:12 +08:00
rajkosto
8784a1dc59 fix gcc compiler warning in wifi driver 2010-12-13 11:58:17 +11:00
Markinus
e165752c6f bcm4329: driver updates, fixed ts leg after resume with wlan on. 2010-12-13 11:52:25 +11:00
Jon Benson
a29154193a Revert "Added gauner1986's hack to force 802.11n support on."
This reverts commit 2dfc0915ee.
2010-12-13 11:52:00 +11:00
Jon Benson
28ac03478b Turned off debug options in previous patch since they're only of use for testing/debugging. 2010-12-06 16:54:48 +11:00
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
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
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
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
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
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
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
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
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
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
Jon Benson
5f3a06931a Added extra logging for battery driver. Probably not needed in general, but handy for figuring out extended battery support. 2010-11-01 13:25:46 +11:00