From: <sa...@us...> - 2007-01-10 13:44:57
|
Revision: 748 http://svn.sourceforge.net/hackndev/?rev=748&view=rev Author: satadru Date: 2007-01-10 05:44:55 -0800 (Wed, 10 Jan 2007) Log Message: ----------- palmt680: updated keyboard layout for Palm Treo 680. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-01-10 11:24:16 UTC (rev 747) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-01-10 13:44:55 UTC (rev 748) @@ -6,6 +6,8 @@ * Author: * * Based on palmt650.c by Alex Osborne <bob...@gm...> + * Treo680 keymaps updated by Satadru Pramanik <sa...@um...> + * Based upon major assistance from Alex Osborne. * */ @@ -190,16 +192,16 @@ .nr_cols = 7, .keycodes = { { /* row 0 */ - KEY_O, // "O" - KEY_LEFT, // "5-Way Left" }, + KEY_F4, // "Red/Off/Power" + KEY_LEFT, // "5-Way Left" }, KEY_RIGHTSHIFT, // "Alternate" }, KEY_L, // "L" }, KEY_A, // "A" }, KEY_Q, // "Q" }, - KEY_RIGHTCTRL, // "Right Shift" }, + KEY_P, // "P" }, }, { /* row 1 */ - KEY_P, // "P" }, - KEY_RIGHT, // "5-Way Right" }, + KEY_RIGHTCTRL, // "Menu" }, + KEY_RIGHT, // "5-Way Right" }, KEY_LEFTSHIFT, //"Left Shift" }, KEY_Z, // "Z" }, KEY_S, // "S" }, @@ -215,8 +217,8 @@ -1, // "Unused" }, }, { /* row 3 */ KEY_F2, // "Calendar" }, - KEY_DOWN, // "5-Way Down" }, - KEY_SPACE, // "Space" }, + KEY_DOWN, // "5-Way Down" }, + KEY_SPACE, // "Space" }, KEY_C, // "C" }, KEY_F, // "F" }, KEY_R, // "R" }, @@ -224,21 +226,21 @@ }, { /* row 4 */ KEY_F3, // "Mail" }, KEY_SELECT, // "5-Way Center" }, - KEY_HOME, // "Unused" }, + KEY_RIGHTALT, // "Alt" }, KEY_V, // "V" }, KEY_G, // "G" }, KEY_T, // "T" }, -1, // "Unused" }, }, { /* row 5 */ - KEY_F4, // "Off" }, + KEY_HOME, // "Home" }, KEY_VOLUMEUP, // "Volume Up" }, - KEY_DOT, // "." }, + KEY_DOT, // "." }, KEY_B, // "B" }, KEY_H, // "H" }, KEY_Y, // "Y" }, -1, // "Unused" }, }, { /* row 6 */ - KEY_F5, // "Mute" }, + KEY_F5, // "Side Activate" }, KEY_VOLUMEDOWN, // "Volume Down" }, KEY_KPENTER, // "Return" }, KEY_N, // "N" }, @@ -246,9 +248,9 @@ KEY_U, // "U" }, -1, // "Unused" }, }, { /* row 7 */ - KEY_RIGHTALT, // "Alt" }, - KEY_MENU, // "Unused" }, - KEY_BACKSPACE, // "P" }, + KEY_F6, // "Green/Call" }, + KEY_O, // "O" }, + KEY_BACKSPACE, // "Backspace" }, KEY_M, // "M" KEY_K, // "K" KEY_I, // "I" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-08-03 07:46:46
|
Revision: 1222 http://hackndev.svn.sourceforge.net/hackndev/?rev=1222&view=rev Author: bobofdoom Date: 2007-08-03 00:46:27 -0700 (Fri, 03 Aug 2007) Log Message: ----------- PalmT680: Updated so that it compiles. * Removed erroneous __initdata tags on LCD structs. * Removed version #ifdef to update LCD for new version. * Included irq.h. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-08-03 07:35:28 UTC (rev 1221) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-08-03 07:46:27 UTC (rev 1222) @@ -17,7 +17,7 @@ #include <linux/platform_device.h> #include <linux/fb.h> #include <linux/input.h> -//#include <linux/irq.h> +#include <linux/irq.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> @@ -295,10 +295,7 @@ * LCD *********************************************************/ -/* when we upgrade to 2.6.19+ remote OLDLCD */ -#define OLDLCD -#ifndef OLDLCD -static struct pxafb_mode_info palmt680_lcd_mode __initdata = { +static struct pxafb_mode_info palmt680_lcd_mode = { /* pixclock is set by lccr3 below */ .pixclock = 50000, .xres = 320, @@ -313,32 +310,12 @@ .lower_margin = 5, .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, }; -#endif -static struct pxafb_mach_info palmt680_lcd __initdata = { +static struct pxafb_mach_info palmt680_lcd = { .lccr0 = 0x4000080, .lccr3 = 0x4700003, - //.pxafb_backlight_power = palm_backlight_power, - // - // -#ifdef OLDLCD - /* pixclock is set by lccr3 below */ - .pixclock = 50000, - .xres = 320, - .yres = 320, - .bpp = 16, - .hsync_len = 4, - .vsync_len = 1, - - .left_margin = 20, - .right_margin = 8, - .upper_margin = 8, - .lower_margin = 5, - .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, -#else .num_modes = 1, .modes = &palmt680_lcd_mode, -#endif }; static struct map_desc palmt680_io_desc[] __initdata = { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-08-03 08:35:35
|
Revision: 1226 http://hackndev.svn.sourceforge.net/hackndev/?rev=1226&view=rev Author: bobofdoom Date: 2007-08-03 01:35:34 -0700 (Fri, 03 Aug 2007) Log Message: ----------- PalmT680: Removed pt_regs from irq cb type to avoid compile warning. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-08-03 08:27:07 UTC (rev 1225) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt680/palmt680.c 2007-08-03 08:35:34 UTC (rev 1226) @@ -47,7 +47,7 @@ *********************************************************/ static int palmt680_mci_init(struct device *dev, - irqreturn_t (*palmt680_detect_int)(int, void *, struct pt_regs *), void *data) + irqreturn_t (*palmt680_detect_int)(int, void *), void *data) { int err; /* setup an interrupt for detecting card insert/remove events */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |