207 Commits

Author SHA1 Message Date
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
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 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
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 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
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 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
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