184 Commits

Author SHA1 Message Date
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 6df8c16511a8f934e35556ae6cfb42753ed5b6fd.
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
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
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
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
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 e937051dafe51bfad88e9e3eb7f0c9d754467ffc.
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
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
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
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 d28b1aa6d6f204a9184c06631228241593960a39.

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 55ca1d277a7b7a99ed02e8e14b5e36f0c5e9e86d.

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 53a7287c1b52667b8e3f236e69e55c7b68a5373b.
2010-11-14 16:39:53 +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
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
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
Jon Benson
42948d8a53 Fixed various compiler warnings by updating from ACE kernel source. 2010-10-30 23:29:38 +11:00
Jon Benson
94b9f0bea1 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
Conflicts:
	arch/arm/mach-msm/board-htcleo-battery.c
2010-10-30 17:31:27 +11:00
Jon Benson
de9e771437 Revert "Added extended battery support again to the newly changed battery driver by Markinus."
Removing my changes to merge the ace based driver in and see if I can change it.

This reverts commit 69d61f84337f710d30cd52021b3b002c3158aff7.
2010-10-30 14:23:42 +11:00
Jon Benson
db56b460e4 Updated wifi.mac/bt.mac patch from mdebeljuh. See http://forum.xda-developers.com/showthread.php?t=819819 2010-10-30 11:58:55 +11:00
Jon Benson
90731a9200 Revert "Updated mdebeljuh patch from http://forum.xda-developers.com/showthread.php?t=819819"
This reverts commit 5a97d475ff67e8c978fcbd72e506703b1511723c.
2010-10-30 11:58:27 +11:00
Jon Benson
587ec9fb57 The overpower warning does not seem to be valid so I've commented it out. 2010-10-28 22:49:07 +11:00
Markinus
d28b1aa6d6 htcleo: fixed USB charging problems in some configurations and cleanups 2010-10-27 21:20:30 +02:00
Jon Benson
5a97d475ff Updated mdebeljuh patch from http://forum.xda-developers.com/showthread.php?t=819819
for wifi.mac_address
2010-10-27 19:36:27 +11:00
Jon Benson
437d3a1450 Revert "Applied mdebeljuh patch from http://forum.xda-developers.com/showthread.php?t=819819"
This reverts commit 187ebc6dad91e101d4680f0f5ebe141f2013043f.
2010-10-27 19:35:50 +11:00
Jon Benson
bc1085afb7 Missed a change to enable 1190MHz 2010-10-27 10:35:05 +11:00
Markinus
53a7287c1b htcleo: add new battery temperature table
This table is not absolutly exact, but good
2010-10-26 20:40:02 +02:00
Markinus
55ca1d277a htcleo: add new battery driver
This driver is comming from desire hd and is modificated for htcleo
2010-10-26 17:41:48 +02:00
Jon Benson
187ebc6dad Applied mdebeljuh patch from http://forum.xda-developers.com/showthread.php?t=819819 2010-10-27 00:07:27 +11:00
Jon Benson
69d61f8433 Added extended battery support again to the newly changed battery driver by Markinus. 2010-10-26 22:18:43 +11:00
Jon Benson
8b9490b745 Tweaked overclock code and Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
Conflicts:
	arch/arm/mach-msm/board-htcleo-battery.c
2010-10-26 18:48:47 +11:00
Markinus
26386dbf81 htcleo: cleanups and fixes for battery and power
- Correct cable detection on boot with cable in
- Removed battery disabling code, this isn't working with our device
- Add Full Battery Calibration, if Battery > 95% and charging <5mA we set it to 100% (fix for nand 100% problems)
- Removed some not used code
Importand: It's in this step for standard battery only, support in next step.
2010-10-25 01:16:35 +02:00
LeTama
dc353d939b htcleo: add support for specific acdb file 2010-10-21 19:12:21 +02:00
Jon Benson
e24605a022 Set 998MHz as default speed. People can still overclock with SetCPU.
After benchmarking how little improvement overclocking actually provides
I've chosen to default to no overclock as it should be more stable.
2010-10-21 19:19:54 +11:00
Jon Benson
1c8a054c33 Reverted my latest tweaks to the battery driver. I misunderstood what the code was doing.
At 99% it will still supply power to the battery but registers as "full", which I can only
assume causes a trickle charge.
2010-10-19 12:32:37 +11:00
Jon Benson
56aad1fd46 Changed battery driver to just charge FAST/SLOW to 100% rather than 99%
I am assuming overcharge/overheat/etc protection will kick in and stop charging worst case.

Updated overclocking code based on huanyu and michyprima's versions.

Still overclocked by default to 1113MHz but can be pushed to 1152MHz with SetCPU.

Custom compiling with EXOVERCLOCK can now go to 1305MHz though I wouldn't recommend it.

I find it unlikely any gain would be worth the risk of shortening the life of your CPU.
2010-10-18 17:35:22 +11:00
Jon Benson
0f9f0c7dce Modified the battery driver to switch to SLOW charge at 99% instead of switching OFF. Now only switches off at 100% charge.
Other minor cleanup of my tweaks.
2010-10-18 16:30:00 +11:00
Jon Benson
c08b0fe05a Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-18 00:54:21 +11:00
Markinus
57314174d4 htcleo: fix for random TS freeze
Incresed the pull up resistor for the TS irq GPIO pin
2010-10-17 14:07:40 +02:00
Jon Benson
328721bbb8 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-17 13:46:55 +11:00
Jon Benson
9b4630b754 Revert "Revert "htcleo: add missing gpio config for touchscreen""
Reverting the revert to try the latest tweaks by Markinus.

This reverts commit f88e03fbb058f708d0d74631734e2542a11cd327.
2010-10-17 13:46:17 +11:00
Jon Benson
5e7393d0bd Fixed a few issues with the overclocking code for Extreme overclocking. 2010-10-17 13:32:10 +11:00
Markinus
e67c2f4d19 htcleo: add missed switch 2010-10-17 00:23:00 +02:00
Markinus
8097c2c467 htcleo: add missing file in commit 2010-10-16 23:18:44 +02:00