|
From: <ke...@us...> - 2007-07-16 00:05:55
|
Revision: 1159
http://svn.sourceforge.net/hackndev/?rev=1159&view=rev
Author: keddar
Date: 2007-07-15 17:05:34 -0700 (Sun, 15 Jul 2007)
Log Message:
-----------
palmtt3: change lccr0 and lccr3 value from static to LCCRman's
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmtt3/palmtt3.c
linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtt3-init.h
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmtt3/palmtt3.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmtt3/palmtt3.c 2007-07-15 22:44:11 UTC (rev 1158)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtt3/palmtt3.c 2007-07-16 00:05:34 UTC (rev 1159)
@@ -20,6 +20,7 @@
#include <linux/device.h>
#include <linux/fb.h>
+#include <asm/arch/bitfield.h>
#include <asm/arch/hardware.h>
#include <asm/arch/pxa-dmabounce.h>
#include <asm/arch/pxafb.h>
@@ -95,8 +96,8 @@
static struct pxafb_mach_info palmtt3_lcd_screen = {
.modes = palmtt3_lcd_modes,
.num_modes = ARRAY_SIZE(palmtt3_lcd_modes),
- .lccr0 = PALMTT3_INIT_LCD_LLC0,
- .lccr3 = PALMTT3_INIT_LCD_LLC3,
+ .lccr0 = PALMTT3_INIT_LCD_LCCR0,
+ .lccr3 = PALMTT3_INIT_LCD_LCCR3,
.pxafb_backlight_power = &palmtt3_pxafb_backlight_power,
.pxafb_lcd_power = &palmtt3_pxafb_lcd_power,
};
Modified: linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtt3-init.h
===================================================================
--- linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtt3-init.h 2007-07-15 22:44:11 UTC (rev 1158)
+++ linux4palm/linux/trunk/include/asm-arm/arch-pxa/palmtt3-init.h 2007-07-16 00:05:34 UTC (rev 1159)
@@ -11,8 +11,8 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
- * initial release
- *
+ * - initial release
+ * - change lccr0 and lccr3 value from static to LCCRman's
*/
#ifndef _INCLUDE_PALMTT3_INIT_H_
@@ -44,18 +44,19 @@
// LCD REGISTERS
+/*
// static value
-#define PALMTT3_INIT_LCD_LLC0 0x003008F9
-#define PALMTT3_INIT_LCD_LLC3 0x03700002
+#define PALMTT3_INIT_LCD_LCCR0 0x003008F9
+#define PALMTT3_INIT_LCD_LCCR3 0x03700002
+*/
-/*
-// value converted using LCCRman, not work for me
-#define PALMTT3_INIT_LCD_LLC0 LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | LCCR0_LDM \
+// value converted using LCCRman
+#define PALMTT3_INIT_LCD_LCCR0 LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | LCCR0_LDM \
| LCCR0_SFM | LCCR0_IUM | LCCR0_EFM | LCCR0_Act | LCCR0_4PixMono | \
LCCR0_QDM | LCCR0_BM | LCCR0_OUM
-#define PALMTT3_INIT_LCD_LLC3 LCCR3_PixClkDiv(2) | LCCR3_HorSnchL \
+#define PALMTT3_INIT_LCD_LCCR3 LCCR3_PixClkDiv(2) | LCCR3_HorSnchL \
| LCCR3_VrtSnchL | LCCR3_PixFlEdg | LCCR3_OutEnH | LCCR3_Bpp(3)
-*/
+
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|