Commit Graph

315 Commits

Author SHA1 Message Date
Danijel Posilović
2d292eb9bb htcleo: some bugfixes and cleanups on backlight manager driver 2011-02-17 21:14:16 +08:00
Danijel Posilović
86ad764392 htcleo: new button backlight manager driver
- Now button backlight is managed by this driver, also it is configurable by sysfs (number of secs. after backlight will be turned off after last key-press, enable/disable this auto_off feature)
-When disabled auto_off, backlight will go off along with screen backlight.
- Sysfs for num. of seconds : /sys/devices/platform/btn_backlight_manager/off_seconds
(min: 5 sec, max: 60 sec)
- Sysfs for turn on/off auto-off feature: /sys/devices/platform/btn_backlight_manager/auto_off
(0 to disable auto-off, 1 to enable)
2011-02-17 21:13:55 +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
2bbd73cdec Revert "htcleo: some bugfixes and cleanups on backlight manager driver"
This reverts commit 864e077367f6dc567c5bce2501856225375a3e20.
2011-02-17 21:12:34 +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
Danijel Posilovic
0e29cb4fa1 fixed netfilter errors and missing dependencies 2011-02-16 18:43:25 +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
4fdb608b2a dex: changed init order to avoid crashes 2011-02-16 18:42:16 +08:00
Markinus
ed4a7e4037 htcleo: fixed proximity and lightsensor power 2011-02-16 18:42:01 +08:00
Markinus
1130964c5c yaffs: moved to newest official xyaffs driver 2011-02-16 18:41:42 +08:00
tytung
fc0148dc57 htcleo: some additions for defconfig (by Markinus) 2011-02-16 18:40:30 +08:00
Markinus
6df96f9ec9 fbconsole: we don't need two inits 2011-02-16 18:39:07 +08:00
Markinus
c37d50cafe yaffs: removed no more used file 2011-02-16 18:38:42 +08:00
Markinus
a236d1a6e3 htcleo: add support for custom DSP like from desire.
For normal use don't activate it, you need some other stuff for testing.
2011-01-29 00:34:57 +08:00
tytung
e3698da382 audio boost 2011-01-29 00:03:08 +08:00
tytung
326b2925fb htcleo: some bugfixes and cleanups on backlight manager driver
(by Danijel Posilovic)
2011-01-28 23:59:18 +08:00
Markinus
ed13833f01 htcleo:_ add missing init value 2011-01-28 23:58:33 +08:00
tytung
25be0f83ab htcleo: fixed wifi mac addresses to board device dependend one.
In NVS the mac address is always same on all devices.
We create now from encrypted device ID a custom mac address.
This is always different but for same device almays identical.
(by Markinus)
2011-01-28 23:56:07 +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
Jon Benson
b02686cbac Removed overclock on bootup. It causes more issues than it's worth since we're IO bound anyway. 2010-12-16 17:46:06 +11:00
Jon Benson
3bde3f9396 Included mdeejay's overclock values even though they aren't stable for me personally. 2010-12-14 11:37:04 +11:00
rajkosto
8784a1dc59 fix gcc compiler warning in wifi driver 2010-12-13 11:58:17 +11:00
Markinus
baec40b8ca htcleo: enabled wlan n 2010-12-13 11:52:31 +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
51e39b55ac Another smd_tty patch closer to LeTama's since I still managed to crash things with the last one. 2010-12-06 19:57:39 +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
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