|
From: <mis...@us...> - 2007-07-13 21:53:10
|
Revision: 1143
http://svn.sourceforge.net/hackndev/?rev=1143&view=rev
Author: miska_tx
Date: 2007-07-13 14:53:03 -0700 (Fri, 13 Jul 2007)
Log Message:
-----------
palmtx: Some macro corrections. Used LCCRman for nicer LCD settings and changed battery limit.
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx.c
linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtx-init.h
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx.c 2007-07-13 13:40:13 UTC (rev 1142)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtx/palmtx.c 2007-07-13 21:53:03 UTC (rev 1143)
@@ -39,6 +39,7 @@
#include <asm/arch/udc.h>
#include <asm/arch/irda.h>
#include <asm/arch/serial.h>
+#include <asm/arch/bitfield.h>
#include <asm/arch/pxa27x_keyboard.h>
#include <asm/arch/pxapwm-bl.h>
Modified: linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtx-init.h
===================================================================
--- linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtx-init.h 2007-07-13 13:40:13 UTC (rev 1142)
+++ linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtx-init.h 2007-07-13 21:53:03 UTC (rev 1143)
@@ -31,10 +31,16 @@
//
// values as dumped from device
-#define PALMTX_INIT_LCD_LLC0 0x07b008f9
+//#define PALMTX_INIT_LCD_LLC0 0x07b008f9
+#define PALMTX_INIT_LCD_LLC0 LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | LCCR0_LDM \
+ | LCCR0_SFM | LCCR0_IUM | LCCR0_EFM | LCCR0_Act | LCCR0_4PixMono | \
+ LCCR0_QDM | LCCR0_BM | LCCR0_OUM | LCCR0_RDSTM | LCCR0_CMDIM | \
+ LCCR0_OUC | LCCR0_LDDALT
#define PALMTX_INIT_LCD_LLC1 0x1f030d3f
#define PALMTX_INIT_LCD_LLC2 0x070801df
-#define PALMTX_INIT_LCD_LLC3 0x04700004
+//#define PALMTX_INIT_LCD_LLC3 0x04700004
+#define PALMTX_INIT_LCD_LLC3 LCCR3_PixClkDiv(2) | LCCR3_HorSnchL | \
+ LCCR3_VrtSnchL | LCCR3_PixFlEdg | LCCR3_OutEnH | LCCR3_Bpp(4)
// KEYPAD configuration
@@ -54,7 +60,7 @@
// BATTERY
#define PALMTX_BAT_MAX_VOLTAGE 4000 // 4.00v current voltage at max charge as from ZLauncher
-#define PALMTX_BAT_MIN_VOLTAGE 3600 // 3.60v critical voltage as from FileZ
+#define PALMTX_BAT_MIN_VOLTAGE 3500 // 3.60v critical voltage as from FileZ
#define PALMTX_BAT_MAX_CURRENT 0 // unknokn
#define PALMTX_BAT_MIN_CURRENT 0 // unknown
#define PALMTX_BAT_MAX_CHARGE 1 // unknown
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|