Commit Graph

200 Commits

Author SHA1 Message Date
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
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
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
83f65b4212 cpu: Added interactive governor 2010-11-05 12:15:26 +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
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
rajkosto
e97d7c88a7 go back to using google's version of yaffs for higher stability 2010-11-03 22:24:52 +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 69d61f8433.
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 5a97d475ff.
2010-10-30 11:58:27 +11:00
LeTama
e7a2876f71 htcleo: change himem/lomem repartition to have more low memory
Experimental, it seems to improve out of memory errors in smd_tty and other locations
2010-10-29 14:00:28 +02:00
LeTama
1b31881d1f htcleo: fix htcleo_defconfig to match kernel Kconfig
For the record, previous values come from supersonic kernel which is also broken.
2010-10-29 12:21:13 +02: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
2f21512855 Revert "Revert "htcleo: some cleanups and improvements in the config""
This reverts commit 7b29bc35b2.
2010-10-27 21:23:15 +02:00
Markinus
d28b1aa6d6 htcleo: fixed USB charging problems in some configurations and cleanups 2010-10-27 21:20:30 +02:00
Markinus
7b29bc35b2 Revert "htcleo: some cleanups and improvements in the config"
This reverts commit 781d1ad789.
2010-10-27 17:07:36 +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 187ebc6dad.
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
LeTama
61d0b1cffd Revert "htcleo: add yaffs driver in kernel"
Options YAFFS_DISABLE_TAGS_ECC and DISABLE_BLOCK_REFRESHING must be set to 'y'.

YAFFS_FS as 'y' is still dangerous for non-magldr users

This reverts commit 107e05ec28.
2010-10-18 21:04:05 +02: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 f88e03fbb0.
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
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 3995d03e1c.
2010-10-16 10:50:05 +02:00