207 Commits

Author SHA1 Message Date
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
5c24f34247 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
Conflicts:
	drivers/video/msm/mdp_lcdc.c
2010-10-18 13:42:40 +11:00
Markinus
49a440240c htcleo: reenabled hw init for mdp 2010-10-17 18:48:14 +02:00
Markinus
5dd534b1f6 htcleo: the next bsod fix. I hope it's the last one 2010-10-17 18:18:04 +02:00
Markinus
76c611e357 camera: replaced the s5k3e2fx with desire one
I had to take the autofocus funktion from evo kernel
2010-10-17 16:03:04 +02: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
Markinus
d19ef47587 htcleo: some improvements for the touchscreen
The speed should be now better
2010-10-16 23:15:10 +02:00
Markinus
c238362820 camera: merged s5k3e2fx driver with some stuff from desire
Now 5MP Camera works, add early suspend and some other stuff
Thx to arva for the sysfs tip!
2010-10-16 20:52:02 +02:00
Markinus
d043360be0 Revert "add sysfs interface to camera driver to enable 5 MP"
Reverted because I merged some other stuff from this driver too, like early suspend

This reverts commit 90c492afd968c2c70045752e1ee8a6a2e7eca17d.
2010-10-16 20:50:54 +02:00
LeTama
90c492afd9 add sysfs interface to camera driver to enable 5 MP
Credits to Arva
2010-10-16 19:58:47 +02:00
rajkosto
12fd0c3638 htcleo: avoid divide by zero on len=0 ooblen=0 in nand driver 2010-10-16 18:56:31 +02:00
Markinus
583d8a2c82 htcleo: store brightness in the led driver 2010-10-16 13:35:48 +02:00
Markinus
e83bba8764 htcleo: some cleanups in the keypad led driver 2010-10-16 13:25:23 +02:00
Markinus
28b2881942 htcleo: some cleanups for backlight driver 2010-10-16 13:07:06 +02:00
Markinus
1275428c96 htcleo: Reverted the last commit, the interface is pushed in with the commit before it
Revert "htcleo: add sysfs microp auto backlight interface"

This reverts commit 3995d03e1cf02ec26fe578b90f5c1293fde02ccb.
2010-10-16 10:50:05 +02:00
Jon Benson
e044263b7b Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-16 14:13:47 +11:00
Jon Benson
70621d772e Revert "fixs hang with phone caused by new Markinus commits"
Markinus has a fix in the main tree so reverting ready to use that instead.

This reverts commit fce8064242c6e552462893e33f4a245a409e63d5.
2010-10-16 14:12:59 +11:00
Jon Benson
f88e03fbb0 Revert "htcleo: add missing gpio config for touchscreen"
This change seems to add "lag" to the touch screen and doesn't appear to be needed for SD.

See: http://forum.xda-developers.com/showthread.php?p=8648328

This reverts commit a0fc58df35602d8c76cc4fa586b8b1865da3b92a.
2010-10-16 14:11:05 +11:00
Markinus
3995d03e1c htcleo: add sysfs microp auto backlight interface
With /sys/devices/platform/htcleo-backlight/auto_bl can it be enabled/disabled (1/0)
2010-10-16 01:26:12 +02:00
Markinus
ecba5ca2dc htcleo: add interface for microps autobacklight functionality 2010-10-15 23:47:49 +02:00
Markinus
2e7b49e61b htcleo: add a bit more stable lightsensor steps
Credits to Curious
2010-10-15 23:45:40 +02:00
Markinus
107e05ec28 htcleo: add yaffs driver in kernel
Used same options as other devices
2010-10-15 21:25:37 +02:00
Markinus
b62e71c35a htcleo: fixed wrong rpc fix for haret boot 2010-10-15 16:34:27 +02:00
Jon Benson
ff2cf1bbcd Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-15 22:00:03 +11:00
Markinus
3ae4c93cd7 htcleo: add new lighsensor steps
Credits to Curious
2010-10-15 12:35:45 +02:00
Markinus
586b858b58 htcleo: Fix for premature flash
Credits to mdebeljuh
2010-10-15 12:33:28 +02:00
Markinus
311ffd6d6a htcleo: some cleanups in the boot order 2010-10-15 12:05:44 +02:00
Markinus
c2631ec499 htcleo: removed some debug messages 2010-10-15 11:14:52 +02:00
Markinus
781d1ad789 htcleo: some cleanups and improvements in the config 2010-10-15 10:10:53 +02:00
Jon Benson
04af36b124 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
Conflicts:
	drivers/video/msm/gpu/kgsl/kgsl.c
2010-10-15 09:20:00 +11:00
Markinus
5d520f034c htcleo: increases speed of lightsensorread and cleanups 2010-10-15 00:05:05 +02:00
Markinus
beda73cdb0 htcleo: switched to kernels SPI driver 2010-10-14 22:48:38 +02:00
Markinus
a13e68883f htcleo: enable shadow writes for kgsl and writecombine
Credits to darkstone
2010-10-14 19:46:12 +02:00
Jon Benson
fc5e56f0d3 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-14 17:11:59 +11:00
Markinus
50760ca384 htcleo: some cleanups for bluetooth 2010-10-14 01:05:10 +02:00
Markinus
f0664d119b htcleo: fixed bsod on boot 2010-10-14 00:10:28 +02:00
Jon Benson
a7faa8ffe6 Merge branch 'master' of git://gitorious.org/linux-on-wince-htc/linux_on_wince_htc 2010-10-13 10:54:58 +11:00
Markinus
bcbce6eff9 htcleo: for IDLE only POWER_COLLAPSE 2010-10-12 22:11:43 +02:00
Markinus
5da4cedbdc htcleo: switched to GP Timer and activated power collapse for nand
Thx to Cotulla
2010-10-12 21:46:44 +02:00
Markinus
b84778b1c8 Revert "htcleo: disable display as first to init it then completly new"
This reverts commit 5c03e5fbb0bbbf58a5771ddb9d38691f0c8b192f.
2010-10-12 21:45:02 +02:00
LeTama
6e05d22bb5 htcleo: fix headset button 2010-10-12 14:57:25 +02:00
LeTama
810d079c56 use pcom for clk_get and SDC1/2 clocks 2010-10-12 14:55:49 +02:00