From: <bob...@us...> - 2007-01-04 04:17:47
|
Revision: 720 http://svn.sourceforge.net/hackndev/?rev=720&view=rev Author: bobofdoom Date: 2007-01-03 20:17:41 -0800 (Wed, 03 Jan 2007) Log Message: ----------- t650: Removed TODO message on backlight brightness change. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-01-04 04:11:41 UTC (rev 719) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-01-04 04:17:41 UTC (rev 720) @@ -121,7 +121,6 @@ static void palmt650_set_bl_intensity(int intensity) { - printk("palmt650_set_bl_intensity(%d) TODO\n", intensity); PWM_CTRL0 = 0; /* pre-scalar */ PWM_PWDUTY0 = intensity; /* duty cycle */ PWM_PERVAL0 = 0x1b1; /* period */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-02-18 01:53:54
|
Revision: 838 http://svn.sourceforge.net/hackndev/?rev=838&view=rev Author: bobofdoom Date: 2007-02-17 17:53:52 -0800 (Sat, 17 Feb 2007) Log Message: ----------- palmt650: Updated interrupt and LCD code to compile on 2.6.20. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-02-18 01:37:30 UTC (rev 837) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-02-18 01:53:52 UTC (rev 838) @@ -13,7 +13,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> @@ -43,7 +43,7 @@ *********************************************************/ static int palmt650_mci_init(struct device *dev, - irqreturn_t (*palmt650_detect_int)(int, void *, struct pt_regs *), void *data) + irqreturn_t (*palmt650_detect_int)(int, void *), void *data) { int err; /* setup an interrupt for detecting card insert/remove events */ @@ -290,9 +290,6 @@ * LCD *********************************************************/ -/* when we upgrade to 2.6.19+ remote OLDLCD */ -#define OLDLCD -#ifndef OLDLCD static struct pxafb_mode_info palmt650_lcd_mode __initdata = { /* pixclock is set by lccr3 below */ .pixclock = 50000, @@ -311,7 +308,6 @@ .lower_margin = 5, .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, }; -#endif static struct pxafb_mach_info palmt650_lcd __initdata = { .lccr0 = 0x4000080, @@ -319,27 +315,8 @@ //.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, - - /* fixme: these are the margins PalmOS has set, - * they seem to work but could be better. - */ - .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 = &palmt650_lcd_mode, -#endif }; static struct map_desc palmt650_io_desc[] __initdata = { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <p3t...@us...> - 2007-05-20 18:55:18
|
Revision: 986 http://svn.sourceforge.net/hackndev/?rev=986&view=rev Author: p3t3-dev Date: 2007-05-20 11:55:17 -0700 (Sun, 20 May 2007) Log Message: ----------- Treo650: backlight changed from Corgi to PXA driver Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-05-20 18:52:57 UTC (rev 985) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-05-20 18:55:17 UTC (rev 986) @@ -3,7 +3,8 @@ * * Support for the Palm Treo 650. * - * Author: Alex Osborne <bob...@gm...> 2005-2006 + * Author: Alex Osborne <bob...@gm...> 2005-2006 + * P3T3, Petr Blaha <pb...@p3...> 2007 * */ @@ -24,8 +25,8 @@ #include <asm/arch/mmc.h> #include <asm/arch/pxafb.h> #include <asm/arch/pxa-regs.h> -#include <asm/arch/palmt650-gpio.h> #include <asm/arch/pxa27x_keyboard.h> +#include <asm/arch/pxapwm-bl.h> #include <asm/arch/irda.h> #include <asm/arch/sharpsl.h> #include <asm/arch/udc.h> @@ -36,6 +37,9 @@ #include <sound/initval.h> #include <sound/ac97_codec.h> +#include <asm/arch/palmt650-gpio.h> +#include <asm/arch/palmt650-init.h> + #include "../generic.h" /********************************************************* @@ -116,32 +120,31 @@ * Backlight *********************************************************/ -static void palmt650_set_bl_intensity(int intensity) -{ - PWM_CTRL0 = 0; /* pre-scalar */ - PWM_PWDUTY0 = intensity; /* duty cycle */ - PWM_PERVAL0 = 0x1b1; /* period */ - - if (intensity > 0) { - pxa_set_cken(CKEN0_PWM0, 1); - } else { - pxa_set_cken(CKEN0_PWM0, 0); - } -} - -static struct corgibl_machinfo palmt650_bl_machinfo = { - .max_intensity = 0x1ad, - .default_intensity = 0xe5, - .limit_mask = 0x7f, - .set_bl_intensity = palmt650_set_bl_intensity, +static struct pxapwmbl_platform_data palmt650_backlight_data = { + .pwm = 0, + .max_intensity = PALMT650_MAX_INTENSITY, + .default_intensity = PALMT650_DEFAULT_INTENSITY, + .limit_mask = PALMT650_LIMIT_MASK, + .prescaler = 1, + .period = 0x12C, }; -static struct platform_device palmt650_bl = { - .name = "corgi-bl", +static struct platform_device palmt650_backlight = { + .name = "pxapwm-bl", .dev = { - .platform_data = &palmt650_bl_machinfo, + .platform_data = &palmt650_backlight_data, }, }; +/********************************************************* + * Power management + *********************************************************/ +struct platform_device palmt650_pm = { + .name = "palmt650-pm", + .id = -1, + .dev = { + .platform_data = NULL, + }, +}; /********************************************************* * USB Device Controller @@ -191,7 +194,7 @@ KEY_L, /* "L" */ KEY_A, /* "A" */ KEY_Q, /* "Q" */ - KEY_RIGHTCTRL, /* "Right Shift" */ + KEY_LEFTCTRL, /* "Right Shift" */ }, { /* row 1 */ KEY_P, /* "P" */ KEY_UP, /* "5-Way Right" */ @@ -225,7 +228,7 @@ KEY_T, /* "T" */ -1, /* "Unused" */ }, { /* row 5 */ - -1, /* "Off" */ + KEY_F8, /* "Off" */ KEY_VOLUMEUP, /* "Volume Up" */ KEY_DOT, /* "." */ KEY_B, /* "B" */ @@ -277,12 +280,15 @@ }, }; +/********************************************************* + * Machine initalisation + *********************************************************/ - static struct platform_device *devices[] __initdata = { + &palmt650_ac97, + &palmt650_pm, &palmt650_kbd, - &palmt650_ac97, - &palmt650_bl, + &palmt650_backlight, &palmt650_led, }; @@ -292,7 +298,7 @@ static struct pxafb_mode_info palmt650_lcd_mode __initdata = { /* pixclock is set by lccr3 below */ - .pixclock = 50000, + .pixclock = 0, .xres = 320, .yres = 320, .bpp = 16, @@ -302,8 +308,8 @@ /* fixme: these are the margins PalmOS has set, * they seem to work but could be better. */ - .left_margin = 20, - .right_margin = 8, + .left_margin = 24, + .right_margin = 4, .upper_margin = 8, .lower_margin = 5, .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, @@ -311,9 +317,9 @@ static struct pxafb_mach_info palmt650_lcd __initdata = { .lccr0 = 0x4000080, - .lccr3 = 0x4700003, + .lccr3 = 0x4400003, - /* .pxafb_backlight_power = palm_backlight_power, */ + .pxafb_backlight_power = NULL, .num_modes = 1, .modes = &palmt650_lcd_mode, @@ -338,17 +344,20 @@ { /* Disable PRIRDY interrupt to avoid hanging when loading AC97 */ GCR &= ~GCR_PRIRDY_IEN; + + /* set AC97's GPIOs */ + + pxa_gpio_mode(GPIO28_BITCLK_AC97_MD); + pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD); + pxa_gpio_mode(GPIO30_SDATA_OUT_AC97_MD); + pxa_gpio_mode(GPIO31_SYNC_AC97_MD); + set_pxa_fb_info(&palmt650_lcd); pxa_set_mci_info(&palmt650_mci_platform_data); pxa_set_ficp_info(&palmt650_ficp_platform_data); pxa_set_udc_info( &palmt650_udc_mach_info ); + platform_add_devices(devices, ARRAY_SIZE(devices)); - -#if 0 - /* configure power switch to resume from standby */ - PWER |= PWER_GPIO12; - PRER |= PWER_GPIO12; -#endif } MACHINE_START(XSCALE_PALMTREO650, "Palm Treo 650") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-07-14 01:51:47
|
Revision: 1145 http://svn.sourceforge.net/hackndev/?rev=1145&view=rev Author: bobofdoom Date: 2007-07-13 18:51:44 -0700 (Fri, 13 Jul 2007) Log Message: ----------- PalmT650: Used LCCRMan make nice LCD constants for LCCR0 and 3. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 01:17:37 UTC (rev 1144) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 01:51:44 UTC (rev 1145) @@ -21,6 +21,7 @@ #include <asm/mach/map.h> #include <asm/arch/audio.h> +#include <asm/arch/bitfield.h> #include <asm/arch/hardware.h> #include <asm/arch/mmc.h> #include <asm/arch/pxafb.h> @@ -316,13 +317,13 @@ }; static struct pxafb_mach_info palmt650_lcd __initdata = { - .lccr0 = 0x4000080, - .lccr3 = 0x4400003, - - .pxafb_backlight_power = NULL, - - .num_modes = 1, - .modes = &palmt650_lcd_mode, + .lccr0 = LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | + LCCR0_Act | LCCR0_4PixMono | LCCR0_OUC | + LCCR0_LDDALT, + .lccr3 = LCCR3_PixClkDiv(3) | LCCR3_HorSnchL | LCCR3_VrtSnchL | + LCCR3_PixFlEdg | LCCR3_OutEnH | LCCR3_Bpp(4), + .num_modes = 1, + .modes = &palmt650_lcd_mode, }; static struct map_desc palmt650_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-07-14 08:12:45
|
Revision: 1147 http://svn.sourceforge.net/hackndev/?rev=1147&view=rev Author: bobofdoom Date: 2007-07-14 01:12:41 -0700 (Sat, 14 Jul 2007) Log Message: ----------- PalmT650: USB gadget now works. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 08:12:10 UTC (rev 1146) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-14 08:12:41 UTC (rev 1147) @@ -1,9 +1,9 @@ /* * linux/arch/arm/mach-pxa/palmt650/palmt650.c * - * Support for the Palm Treo 650. + * Support for the Palm Treo 650 PDA phone. * - * Author: Alex Osborne <bob...@gm...> 2005-2006 + * Author: Alex Osborne <bob...@gm...> 2005-2007 * P3T3, Petr Blaha <pb...@p3...> 2007 * */ @@ -153,25 +153,25 @@ static int udc_is_connected(void) { - return 1111; /* GPLR(GPIO_PALMLD_USB_DETECT) & - GPIO_bit(GPIO_PALMLD_USB_DETECT); */ + /* TODO: Implement this. (Check bit 3 of register 0x36 of ASIC6). */ + /* Note: The current version PXA27x UDC does not actually ever call + * udc_is_connected so for the moment this can be left unimplemented. + */ + return 1; } static void udc_enable(int cmd) { - /** - * TODO: find the GPIO line which powers up the USB. - */ switch (cmd) { case PXA2XX_UDC_CMD_DISCONNECT: printk (KERN_NOTICE "USB cmd disconnect\n"); - /* SET_X30_GPIO(USB_PUEN, 0); */ + SET_PALMT650_GPIO(USB_PULLUP, 1); break; case PXA2XX_UDC_CMD_CONNECT: printk (KERN_NOTICE "USB cmd connect\n"); - /* SET_X30_GPIO(USB_PUEN, 1); */ + SET_PALMT650_GPIO(USB_PULLUP, 1); break; } } @@ -190,7 +190,7 @@ .keycodes = { { /* row 0 */ KEY_O, /* "O" */ - KEY_DOWN, /* "5-Way Left" */ + KEY_LEFT, /* "5-Way Left" */ -1, /* "Alternate" */ KEY_L, /* "L" */ KEY_A, /* "A" */ @@ -198,7 +198,7 @@ KEY_LEFTCTRL, /* "Right Shift" */ }, { /* row 1 */ KEY_P, /* "P" */ - KEY_UP, /* "5-Way Right" */ + KEY_RIGHT, /* "5-Way Right" */ KEY_LEFTSHIFT, /* "Left Shift" */ KEY_Z, /* "Z" */ KEY_S, /* "S" */ @@ -206,7 +206,7 @@ -1, /* "Unused" */ }, { /* row 2 */ -1, /* "Phone" */ - KEY_LEFT, /* "5-Way Up" */ + KEY_UP, /* "5-Way Up" */ KEY_0, /* "0" */ KEY_X, /* "X" */ KEY_D, /* "D" */ @@ -214,7 +214,7 @@ -1, /* "Unused" */ }, { /* row 3 */ KEY_F10, /* "Calendar" */ - KEY_RIGHT, /* "5-Way Down" */ + KEY_DOWN, /* "5-Way Down" */ KEY_SPACE, /* "Space" */ KEY_C, /* "C" */ KEY_F, /* "F" */ @@ -347,12 +347,14 @@ GCR &= ~GCR_PRIRDY_IEN; /* set AC97's GPIOs */ - pxa_gpio_mode(GPIO28_BITCLK_AC97_MD); pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD); pxa_gpio_mode(GPIO30_SDATA_OUT_AC97_MD); pxa_gpio_mode(GPIO31_SYNC_AC97_MD); + /* Other GPIOs */ + pxa_gpio_mode(GPIO_NR_PALMT650_USB_PULLUP_MD); + set_pxa_fb_info(&palmt650_lcd); pxa_set_mci_info(&palmt650_mci_platform_data); pxa_set_ficp_info(&palmt650_ficp_platform_data); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-07-17 08:50:14
|
Revision: 1170 http://svn.sourceforge.net/hackndev/?rev=1170&view=rev Author: bobofdoom Date: 2007-07-17 01:50:10 -0700 (Tue, 17 Jul 2007) Log Message: ----------- PalmT650: Switch back to corgi_bl (basically undoing r986). Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-17 07:54:20 UTC (rev 1169) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-17 08:50:10 UTC (rev 1170) @@ -27,7 +27,6 @@ #include <asm/arch/pxafb.h> #include <asm/arch/pxa-regs.h> #include <asm/arch/pxa27x_keyboard.h> -#include <asm/arch/pxapwm-bl.h> #include <asm/arch/irda.h> #include <asm/arch/sharpsl.h> #include <asm/arch/udc.h> @@ -121,19 +120,36 @@ * Backlight *********************************************************/ -static struct pxapwmbl_platform_data palmt650_backlight_data = { - .pwm = 0, +static void palmt650_set_bl_power(int on) +{ + /* TODO: set GPIOs */ + pxa_set_cken(CKEN0_PWM0, on); + pxa_set_cken(CKEN1_PWM1, on); +} + +static void palmt650_set_bl_intensity(int intensity) +{ + palmt650_set_bl_power(intensity ? 1 : 0); + if (intensity) { + PWM_CTRL0 = 0x1; + PWM_PERVAL0 = PALMT650_BL_PERIOD; + PWM_PWDUTY0 = intensity; + } +} + +static struct corgibl_machinfo palmt650_bl_machinfo = { .max_intensity = PALMT650_MAX_INTENSITY, .default_intensity = PALMT650_DEFAULT_INTENSITY, .limit_mask = PALMT650_LIMIT_MASK, - .prescaler = 1, - .period = 0x12C, + .set_bl_intensity = palmt650_set_bl_intensity, }; + static struct platform_device palmt650_backlight = { - .name = "pxapwm-bl", + .name = "corgi-bl", + .id = 0, .dev = { - .platform_data = &palmt650_backlight_data, + .platform_data = &palmt650_bl_machinfo, }, }; /********************************************************* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-07-21 10:27:42
|
Revision: 1190 http://svn.sourceforge.net/hackndev/?rev=1190&view=rev Author: bobofdoom Date: 2007-07-21 03:27:37 -0700 (Sat, 21 Jul 2007) Log Message: ----------- PalmT650: Fixed crash on psplash and OPIE sleep. * Removed erroneous __initdata tag from pxafb_mach_info definition. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-21 07:50:05 UTC (rev 1189) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-21 10:27:37 UTC (rev 1190) @@ -332,7 +332,7 @@ .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, }; -static struct pxafb_mach_info palmt650_lcd __initdata = { +static struct pxafb_mach_info palmt650_lcd = { .lccr0 = LCCR0_ENB | LCCR0_Color | LCCR0_Sngl | LCCR0_Act | LCCR0_4PixMono | LCCR0_OUC | LCCR0_LDDALT, @@ -342,7 +342,7 @@ .modes = &palmt650_lcd_mode, }; -static struct map_desc palmt650_io_desc[] __initdata = { +static struct map_desc palmt650_io_desc[] = { { /* Devs */ .virtual = PALMT650_ASIC6_VIRT, .pfn = __phys_to_pfn(PALMT650_ASIC6_PHYS), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-08-02 23:36:35
|
Revision: 1220 http://hackndev.svn.sourceforge.net/hackndev/?rev=1220&view=rev Author: bobofdoom Date: 2007-08-02 16:36:28 -0700 (Thu, 02 Aug 2007) Log Message: ----------- PalmT650: Removed erroneous __initdata tag from pxafb_mode_info. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-07-31 09:02:48 UTC (rev 1219) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-08-02 23:36:28 UTC (rev 1220) @@ -326,7 +326,7 @@ * LCD *********************************************************/ -static struct pxafb_mode_info palmt650_lcd_mode __initdata = { +static struct pxafb_mode_info palmt650_lcd_mode = { /* pixclock is set by lccr3 below */ .pixclock = 0, .xres = 320, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-08-05 01:35:10
|
Revision: 1229 http://hackndev.svn.sourceforge.net/hackndev/?rev=1229&view=rev Author: bobofdoom Date: 2007-08-04 06:35:59 -0700 (Sat, 04 Aug 2007) Log Message: ----------- PalmT650: Fixed typo. (Thanks kEdAR) Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-08-04 12:54:30 UTC (rev 1228) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-08-04 13:35:59 UTC (rev 1229) @@ -223,7 +223,7 @@ KEY_L, /* "L" */ KEY_A, /* "A" */ KEY_Q, /* "Q" */ - KEY_RIGTCTRL, /* "Right Shift" */ + KEY_RIGHTCTRL, /* "Right Shift" */ }, { /* row 1 */ KEY_P, /* "P" */ KEY_RIGHT, /* "5-Way Right" */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2007-08-05 01:35:12
|
Revision: 1228 http://hackndev.svn.sourceforge.net/hackndev/?rev=1228&view=rev Author: bobofdoom Date: 2007-08-04 05:54:30 -0700 (Sat, 04 Aug 2007) Log Message: ----------- PalmT650: Mapped alternate (blue square) button to LEFTCTRL. Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-08-03 08:44:27 UTC (rev 1227) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmt650/palmt650.c 2007-08-04 12:54:30 UTC (rev 1228) @@ -219,11 +219,11 @@ { /* row 0 */ KEY_O, /* "O" */ KEY_LEFT, /* "5-Way Left" */ - -1, /* "Alternate" */ + KEY_LEFTCTRL, /* "Alternate" */ KEY_L, /* "L" */ KEY_A, /* "A" */ KEY_Q, /* "Q" */ - KEY_LEFTCTRL, /* "Right Shift" */ + KEY_RIGTCTRL, /* "Right Shift" */ }, { /* row 1 */ KEY_P, /* "P" */ KEY_RIGHT, /* "5-Way Right" */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |