|
From: <bob...@us...> - 2007-07-19 01:08:19
|
Revision: 1179
http://svn.sourceforge.net/hackndev/?rev=1179&view=rev
Author: bobofdoom
Date: 2007-07-18 18:08:06 -0700 (Wed, 18 Jul 2007)
Log Message:
-----------
PalmT650: Make wakeup from standby possible by replugging AC97. Haven't figure out how to get keypad wakeup to work yet.
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650_pm.c
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650_pm.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650_pm.c 2007-07-19 01:06:17 UTC (rev 1178)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650_pm.c 2007-07-19 01:08:06 UTC (rev 1179)
@@ -33,8 +33,12 @@
PWER |= PWER_RTC | PWER_WEP1;
PWER |= 2 << 19; /* wake on SD */
+ PWER |= 1;
+ PRER |= 1;
+ PFER |= 1;
+
/* Wakeup by keyboard :-) */
- PKWR = 0x01;
+ PKWR = 0xffffff;
/* Enabled Deep-Sleep mode */
PCFR |= PCFR_DS;
@@ -47,7 +51,7 @@
{}
/* Turn off LCD power */
- SET_PALMT650_GPIO(LCD_POWER,0);
+ //SET_PALMT650_GPIO(LCD_POWER,0);
/* Turn off USB power */
/* SET_PALMT650_GPIO(USB_POWER,0); */
@@ -71,7 +75,7 @@
/* Here are all of special to resume PalmOne treo 650 */
/* Turn on LCD power */
- SET_PALMT650_GPIO(LCD_POWER,1);
+ //SET_PALMT650_GPIO(LCD_POWER,1);
/* Turn on USB power */
/* SET_PALMT650_GPIO(USB_POWER,1); */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|