255 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
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
3cdd43b0d4 Revert "go back to using google's version of yaffs for higher stability"
This reverts commit e97d7c88a7566b17912d82e115f02e6fab11699e.
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
Jon Benson
375f6355e6 Applied patch for ppp driver. See http://docs.openmoko.org/trac/ticket/2212 2010-11-04 19:27:03 +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
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
Jon Benson
42948d8a53 Fixed various compiler warnings by updating from ACE kernel source. 2010-10-30 23:29:38 +11:00
Jon Benson
877c98b9dc Patched tty_buffer.c based on ACE kernel. Will see if it helps smd_tty crash. 2010-10-30 22:21:09 +11:00
Jon Benson
034a9856f8 Applied patch for ppp driver. See http://docs.openmoko.org/trac/ticket/2212 2010-10-30 18:12:01 +11:00
Jon Benson
c0b354a7f5 Updated driver to match main tree after reverting gauner1986's changes. 2010-10-30 17:48:36 +11:00
Jon Benson
3db92cb1bf Revert "Added video driver cleanup and tweaks by gauner1986. Thanks to huanyu for isolating them."
This reverts commit 935a9ce79780605671c8a80e65a9a0dd3746081a.
2010-10-30 17:47:26 +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
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 7b29bc35b25672f953e7a11cc75d1eadd9841cf3.
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 781d1ad789aae0adbf66e65d8f36b79f2ed3b97f.
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 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
f18d178b03 htcleo: add missing file in last commit 2010-10-26 21:25:05 +02: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
LeTama
dbd408efab Audio stuttering fix, credits to Darkstone 2010-10-25 21:23:23 +02: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 107e05ec286b81ddd971ff908d556b25c082aa44.
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