diff options
author | Kristoffer Ericson <kristoffer_e1@hotmail.com> | 2006-07-12 18:39:30 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-12 18:39:30 +0000 |
commit | b96d67560f2796fc73507dbfedb57125b89addd0 (patch) | |
tree | 8017c342e5277cf977ad066a80d96699db387aa9 /packages/linux/linux-jlime-arm-2.6.17 | |
parent | 2fb7dbea15a9defe06eff9e3d63a7ea342e71448 (diff) |
(KERNEL CHANGES)
conf/distro/jlime-donkey.conf : minor updates
linux/linux-jlime-arm-2.6.17/* : Fixes/updates of patches and config
linux/linux-jlime-sh3-2.6.17/LinuxSH-2.6.17 : Update to CVS 20060712
* update of cvs from linuxsh, fixes some backlight/suspend issues.
linux/linux-jlime-sh3-2.6.17/defconfig_jlime : Minor update to reflect patch.
Diffstat (limited to 'packages/linux/linux-jlime-arm-2.6.17')
14 files changed, 195 insertions, 198 deletions
diff --git a/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch index a1bc077242..dd35dec53f 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/AsmArm-ArchSa1100-Jornada720.patch @@ -1,13 +1,23 @@ ---- linux-2.6.17/include/asm-arm/arch-sa1100/jornada720.h_orig 2006-07-02 23:42:42.000000000 +0000 -+++ linux-2.6.17/include/asm-arm/arch-sa1100/jornada720.h 2006-07-02 23:50:32.000000000 +0000 -@@ -19,9 +19,37 @@ +--- linux-2.6.17-vanilla/include/asm-arm/arch-sa1100/jornada720.h 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/include/asm-arm/arch-sa1100/jornada720.h 2006-07-10 17:06:11.000000000 +0000 +@@ -11,6 +11,8 @@ + #error "include <asm/hardware.h> instead" + #endif + ++#define jornada720_mcu_read() jornada720_mcu_byte(MCU_TxDummy) ++ + #define SA1111_BASE (0x40000000) + + #define GPIO_JORNADA720_KEYBOARD GPIO_GPIO(0) +@@ -19,9 +21,38 @@ #define GPIO_JORNADA720_KEYBOARD_IRQ IRQ_GPIO0 #define GPIO_JORNADA720_MOUSE_IRQ IRQ_GPIO9 +/* Epson 1356 LCD controll parameters */ -+#define REGISTER_OFFSET ((unsigned char *) 0xf00000000) -+#define DISP_MEM_OFFSET ((unsigned char *) 0xf10000000) -+#define DISP_MEM_OFFSET_PHYS ((unsigned char *) 0x482000000) ++#define REGISTER_OFFSET ((unsigned char *) 0xf0000000/* 0 */) ++#define DISP_MEM_OFFSET ((unsigned char *) 0xf1000000/* 0 */) ++#define DISP_MEM_OFFSET_PHYS ((unsigned char *) 0x48200000/* 0 filip wtf? */) ++#define ALLOCATED_FB_MEM_SIZE 0x80000 /* display memory size (512kb) */ + +#define MAX_BPP 16 +#define MAX_XRES 640 @@ -34,7 +44,7 @@ void jornada720_mcu_init(void); +int jornada720_mcu_byte(int arg_data); +int jornada720_mcu_start(int arg_data); -+voide jornada720_mcu_end(void); ++void jornada720_mcu_end(void); void jornada_contrast(int arg_contrast); void jornada720_battery(void); int jornada720_getkey(unsigned char *data, int size); diff --git a/packages/linux/linux-jlime-arm-2.6.17/Cpu-Sa1110-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Cpu-Sa1110-Jornada720.patch index c957971629..e0d50ced38 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Cpu-Sa1110-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Cpu-Sa1110-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/arch/arm/mach-sa1100/cpu-sa1110.c_orig 2006-07-02 20:44:56.000000000 +0000 -+++ linux-2.6.17/arch/arm/mach-sa1100/cpu-sa1110.c 2006-07-02 20:50:11.000000000 +0000 +--- linux-2.6.17-vanilla/arch/arm/mach-sa1100/cpu-sa1110.c 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/arch/arm/mach-sa1100/cpu-sa1110.c 2006-07-10 17:06:11.000000000 +0000 @@ -70,6 +70,17 @@ .cas_latency = 3, }; @@ -18,14 +18,12 @@ static struct sdram_params samsung_k4s641632d_tc75 __initdata = { .rows = 14, .tck = 9, -@@ -349,6 +360,11 @@ +@@ -349,6 +360,9 @@ if (machine_is_h3100()) sdram = &samsung_km416s4030ct; -+ #if 0 -+ if (machine_is_jornada720()) -+ sdram = &samsung_k4s281632b_1h; -+ #endif ++ if (machine_is_jornada720()) ++ sdram = &samsung_k4s281632b_1h; + if (sdram) { printk(KERN_DEBUG "SDRAM: tck: %d trcd: %d trp: %d" diff --git a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Arch-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Arch-Jornada720.patch index 61784c4040..d51252ca4c 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Arch-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Arch-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/arch/arm/Kconfig_orig 2006-07-02 20:41:49.000000000 +0000 -+++ linux-2.6.17/arch/arm/Kconfig 2006-07-02 20:42:57.000000000 +0000 +--- linux-2.6.17-vanilla/arch/arm/Kconfig 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/arch/arm/Kconfig 2006-07-10 17:06:11.000000000 +0000 @@ -669,7 +669,7 @@ config CPU_FREQ_SA1110 diff --git a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Keyboard-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Keyboard-Jornada720.patch index a66aec2e98..b9c632447c 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Keyboard-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Keyboard-Jornada720.patch @@ -1,12 +1,12 @@ ---- linux-2.6.17/drivers/input/keyboard/Kconfig_orig 2006-07-02 23:14:40.000000000 +0000 -+++ linux-2.6.17/drivers/input/keyboard/Kconfig 2006-07-02 23:16:12.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/input/keyboard/Kconfig 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/input/keyboard/Kconfig 2006-07-10 17:06:11.000000000 +0000 @@ -183,4 +183,10 @@ This driver implements support for HIL-keyboards attached to your machine, so normally you should say Y here. +config KEYBOARD_JORNADA720 + tristate "HP Jornada 720 Keyboard Support" -+ depends on SA110_JORNADA720 ++ depends on SA1100_JORNADA720 + default y + help + Say yes here if you want Jornada 720 keyboard support. diff --git a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Touchscreen-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Touchscreen-Jornada720.patch index 9b7fac44d5..b48a22885c 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Touchscreen-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Touchscreen-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/drivers/input/touchscreen/Kconfig_orig 2006-07-02 23:31:00.000000000 +0000 -+++ linux-2.6.17/drivers/input/touchscreen/Kconfig 2006-07-02 23:32:53.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/input/touchscreen/Kconfig 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/input/touchscreen/Kconfig 2006-07-10 17:06:11.000000000 +0000 @@ -108,4 +108,11 @@ To compile this driver as a module, choose M here: the module will be called hp680_ts_input. @@ -9,6 +9,6 @@ + depends on SA1100_JORNADA720 + help + Say Y here if you are using a HP Jornada 710/720/728 handheld -+ and want to user the touchscreen. ++ and want to use the touchscreen. + endif diff --git a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Video-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Video-Jornada720.patch index aafcb90ecc..2f144a7593 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Video-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Kconfig-Video-Jornada720.patch @@ -1,6 +1,6 @@ ---- linux-2.6.17/drivers/video/Kconfig_orig 2006-07-02 23:34:29.000000000 +0000 -+++ linux-2.6.17/drivers/video/Kconfig 2006-07-02 23:38:36.000000000 +0000 -@@ -613,6 +613,17 @@ +--- linux-2.6.17-vanilla/drivers/video/Kconfig 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/video/Kconfig 2006-07-10 17:06:11.000000000 +0000 +@@ -613,6 +613,16 @@ framebuffer. Product specs at <http://www.erd.epson.com/vdc/html/products.htm>. @@ -10,7 +10,6 @@ + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT -+ select FB_SOFT_CURSOR + help + Support for the 1356 framebuffer device on the HP Jornada + 710/720/728 hanheld pc. diff --git a/packages/linux/linux-jlime-arm-2.6.17/Mach-Sa1100-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Mach-Sa1100-Jornada720.patch index cbbb98f2bb..89a81c899e 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Mach-Sa1100-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Mach-Sa1100-Jornada720.patch @@ -1,9 +1,11 @@ ---- linux-2.6.17/arch/arm/mach-sa1100/jornada720.c_orig 2006-07-02 20:54:55.000000000 +0000 -+++ linux-2.6.17/arch/arm/mach-sa1100/jornada720.c 2006-07-02 23:12:58.000000000 +0000 -@@ -22,11 +22,139 @@ +--- linux-2.6.17-vanilla/arch/arm/mach-sa1100/jornada720.c 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/arch/arm/mach-sa1100/jornada720.c 2006-07-10 17:06:11.000000000 +0000 +@@ -22,11 +22,170 @@ #include <asm/mach/map.h> #include <asm/mach/serial_sa1100.h> ++#include <asm/arch/jornada720.h> ++ +#include <linux/lcd.h> +#include <linux/backlight.h> +#include <linux/fb.h> @@ -43,14 +45,15 @@ + printk("jornada 720_mcu_byte: timed out\n"); + return -1; + } -+ Ser4SSDR = MCU_rEVERSE(arg_data) << 8; ++ Ser4SSDR = MCU_REVERSE(arg_data) << 8; + udelay(100); + while ((Ser4SSSR & SSSR_RNE) == 0); + i = Ser4SSDR; + if (i > 0xff) -+ printk("jornada720 mcu_byte: read %x\n". i): ++ printk("jornada720 mcu_byte: read %x\n", i); + return MCU_REVERSE(i & 0xff) & 0xff; +} ++ + +int jornada720_mcu_start(int arg_data) +{ @@ -83,23 +86,23 @@ +void jornada720_mcu_init(void) +{ + -+ int i; ++ /*int i; + + if (state) { + PPSR &= ~PPC_LDD1; + PPDR &= PPC_LDD1; + } -+ else { ++ else { */ + PPSR |= PPC_LDD1; -+ } -+ return 0; ++ /*} ++ return 0;*/ +} + -+static int jornada720_backlight_get_power(struct backlight_device *bd) ++/*static int jornada720_backlight_get_power(struct backlight_device *bd) +{ + + return ~(PPSR&PPC_LDD1); -+} ++}*/ + +static int jornada720_backlight_get_brightness(struct backlight_device *bd) +{ @@ -112,7 +115,8 @@ + +static int jornada720_backlight_set_brightness(struct backlight_device *bd) +{ -+ int brightness = 255 - value; ++ /* TODO: should it be substracted? */ ++ int brightness = 255 - bd->props->brightness; + jornada720_mcu_start(MCU_SetBrightness); + jornada720_mcu_byte(brightness); + jornada720_mcu_end(); @@ -121,33 +125,60 @@ + +static struct backlight_properties jornada720_backlight_properties = { + .owner = THIS_MODULE, -+ .set_power = jornada720_backlight_set_power, -+ .get_power = jornada720_backlight_get_power, + .get_brightness = jornada720_backlight_get_brightness, -+ .set_brightness = jornada720_backlight_set_brightness, ++ .update_status = jornada720_backlight_set_brightness, + .max_brightness = 255, ++}; ++ ++static int jornada720_lcd_set_power(struct lcd_device *ld, int power) ++{ ++ return 0; ++} ++ ++static int jornada720_lcd_get_power(struct lcd_device *ld) ++{ ++ return 1; +} + -+static struct lcd_properties jornada 720_lcd_properties = { ++static int jornada720_lcd_get_contrast(struct lcd_device *ld) ++{ ++ int contrast; ++ ++ jornada720_mcu_start(MCU_GetContrast); ++ contrast = jornada720_mcu_read(); ++ jornada720_mcu_end(); ++ ++ return contrast; ++} ++ ++static int jornada720_lcd_set_contrast(struct lcd_device *ld, int contrast) ++{ ++ jornada720_mcu_start(MCU_SetContrast); ++ jornada720_mcu_byte(contrast); ++ jornada720_mcu_end(); ++ return 0; ++} ++ ++static struct lcd_properties jornada720_lcd_properties = { + .owner = THIS_MODULE, + .set_power = jornada720_lcd_set_power, + .get_power = jornada720_lcd_get_power, + .set_contrast = jornada720_lcd_set_contrast, -+ .get_contrast = jornada720_lcd_set_contrast, ++ .get_contrast = jornada720_lcd_get_contrast, + .max_contrast = 255, -+} ++}; + static struct resource sa1111_resources[] = { [0] = { .start = 0x40000000, -@@ -77,6 +205,10 @@ +@@ -77,6 +236,10 @@ PPDR |= PPC_LDD3 | PPC_LDD4; ret = platform_add_devices(devices, ARRAY_SIZE(devices)); + + jornada720_mcu_init(); + backlight_device_register("e1356fb", 0, &jornada720_backlight_properties); -+ ldc_device_register("e1356fb", 0, &jornada720_lcd_properties); ++ lcd_device_register("e1356fb", 0, &jornada720_lcd_properties); } return ret; } diff --git a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Keyboard-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Keyboard-Jornada720.patch index b1e2ab10e7..fc4e82c172 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Keyboard-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Keyboard-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/drivers/input/keyboard/Makefile_orig 2006-07-02 23:22:40.000000000 +0000 -+++ linux-2.6.17/drivers/input/keyboard/Makefile 2006-07-02 23:23:03.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/input/keyboard/Makefile 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/input/keyboard/Makefile 2006-07-10 17:06:11.000000000 +0000 @@ -15,4 +15,4 @@ obj-$(CONFIG_KEYBOARD_SPITZ) += spitzkbd.o obj-$(CONFIG_KEYBOARD_HIL) += hil_kbd.o diff --git a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Touchscreen-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Touchscreen-Jornada720.patch index deabd5cded..879fc8b311 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Touchscreen-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Touchscreen-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/drivers/input/touchscreen/Makefile_orig 2006-07-02 23:28:02.000000000 +0000 -+++ linux-2.6.17/drivers/input/touchscreen/Makefile 2006-07-02 23:29:42.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/input/touchscreen/Makefile 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/input/touchscreen/Makefile 2006-07-10 17:06:11.000000000 +0000 @@ -12,3 +12,4 @@ obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o obj-$(CONFIG_TOUCHSCREEN_MK712) += mk712.o diff --git a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Video-Jornada720.patch b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Video-Jornada720.patch index ae53cce9f3..147604a1b3 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Makefile-Video-Jornada720.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Makefile-Video-Jornada720.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/drivers/video/Makefile_orig 2006-07-02 23:39:37.000000000 +0000 -+++ linux-2.6.17/drivers/video/Makefile 2006-07-02 23:40:15.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/video/Makefile 2006-06-18 01:49:35.000000000 +0000 ++++ linux-2.6.17/drivers/video/Makefile 2006-07-10 17:06:11.000000000 +0000 @@ -75,6 +75,7 @@ obj-$(CONFIG_FB_SUN3) += sun3fb.o obj-$(CONFIG_FB_HIT) += hitfb.o diff --git a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Epson1356fb.patch b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Epson1356fb.patch index 7516f06dc9..2c3c93c74e 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Epson1356fb.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Epson1356fb.patch @@ -1,6 +1,6 @@ ---- linux-2.6.17/drivers/video/epson1356fb.c_orig 2006-07-03 00:20:43.000000000 +0000 -+++ linux-2.6.17/drivers/video/epson1356fb.c 2006-07-03 00:16:37.000000000 +0000 -@@ -0,0 +1,341 @@ +--- linux-2.6.17-vanilla/drivers/video/epson1356fb.c 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.17/drivers/video/epson1356fb.c 2006-07-10 17:06:11.000000000 +0000 +@@ -0,0 +1,345 @@ +/* + * linux/drivers/video/epson1356fb.c -- Epson 1356 LCD Controller Frame Buffer Device + * @@ -34,8 +34,12 @@ +#include <linux/dma-mapping.h> + +#include <asm/uaccess.h> ++#include <asm/hardware.h> ++ +#include <asm/arch/jornada720.h> + ++#include "console/fbcon.h" ++ +u32 pseudo_pal[16]; + +struct fb_info fb_info; diff --git a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_kbd.patch b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_kbd.patch index d75cc7cd85..7259647021 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_kbd.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_kbd.patch @@ -1,6 +1,6 @@ ---- linux-2.6.17/drivers/input/keyboard/jornada720_kbd.c_orig 2006-07-03 00:18:52.000000000 +0000 -+++ linux-2.6.17/drivers/input/keyboard/jornada720_kbd.c 2006-07-03 00:16:36.000000000 +0000 -@@ -0,0 +1,97 @@ +--- linux-2.6.17-vanilla/drivers/input/keyboard/jornada720_kbd.c 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.17/drivers/input/keyboard/jornada720_kbd.c 2006-07-10 17:06:11.000000000 +0000 +@@ -0,0 +1,98 @@ +/* + * Jornada 720 keyboard interface + */ @@ -25,7 +25,7 @@ + +static char jornada720_kbd_name[] = "Jornada 720 keyboard"; + -+static struct input_dev dev; ++static struct input_dev *dev; + +static unsigned char jornada720_normal_keymap[128] = { + 0, 1, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 87, KEY_VOLUMEUP, KEY_VOLUMEDOWN, KEY_MUTE, @@ -55,12 +55,12 @@ + keycode = jornada720_normal_keymap[key]; + + if (mcu_data < 128) { -+ input_report_key(&dev, keycode, 1); -+ input_sync(&dev); ++ input_report_key(dev, keycode, 1); ++ input_sync(dev); + } + else { -+ input_report_key(&dev, keycode, 0); -+ input_sync(&dev); ++ input_report_key(dev, keycode, 0); ++ input_sync(dev); + } + } + @@ -74,25 +74,26 @@ + int i; + printk("jorada720_kbd: Jornada 720 keyboard\n"); + -+ init_input_dev(&dev); -+ dev.evbit[0] = BIT(EV_KEY) | BIT(EV_REP); -+ dev.keybit[LONG(KEY_SUSPEND)] |= BIT(KEY_SUSPEND); ++ /*init_input_dev(&dev);*/ ++ dev = input_allocate_device(); ++ dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); ++ dev->keybit[LONG(KEY_SUSPEND)] |= BIT(KEY_SUSPEND); + + for ( i=0 ; i<=128 ; i++ ) { + if (!(jornada720_normal_keymap[i])) { + } + else -+ set_bit(jornada720_normal_keymap[i], dev.keybit); ++ set_bit(jornada720_normal_keymap[i], dev->keybit); + } + -+ dev.name = jornada720_kbd_name; ++ dev->name = jornada720_kbd_name; + + if (request_irq(GPIO_JORNADA720_KEYBOARD_IRQ, jornada720_keyboard_interrupt, SA_INTERRUPT, "Jornada720 Keyboard", NULL)) + printk("Unable to grab Jornada 720 keyboard IRQ!\n"); + + set_irq_type(GPIO_JORNADA720_KEYBOARD_IRQ, IRQT_FALLING); + -+ input_register_device(&dev); ++ input_register_device(dev); + + return 0; +} diff --git a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_ts.patch b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_ts.patch index 6cfab690f3..b565d1077b 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_ts.patch +++ b/packages/linux/linux-jlime-arm-2.6.17/Newfile-Jornada720_ts.patch @@ -1,5 +1,5 @@ ---- linux-2.6.17/drivers/input/touchscreen/jornada720_ts.c_orig 2006-07-03 00:17:18.000000000 +0000 -+++ linux-2.6.17/drivers/input/touchscreen/jornada720_ts.c 2006-07-03 00:16:37.000000000 +0000 +--- linux-2.6.17-vanilla/drivers/input/touchscreen/jornada720_ts.c 1970-01-01 00:00:00.000000000 +0000 ++++ linux-2.6.17/drivers/input/touchscreen/jornada720_ts.c 2006-07-10 17:06:11.000000000 +0000 @@ -0,0 +1,103 @@ +/* + * Jornada 720 touchscreen interface based on Jornada 56x interface @@ -25,7 +25,7 @@ + +static char jornada720_ts_name[] = "Jornada 720 touchscreen"; + -+static struct input_dev dev; ++static struct input_dev *dev; + +static irqreturn_t jornada720_mouse_interrupt(int irq, void *dev_id, struct pt_regs *regs) +{ @@ -37,9 +37,9 @@ + down = ( (GPLR & GPIO_JORNADA720_MOUSE) == 0); + + if(!down) { -+ input_report_key(&dev, BTN_TOUCH, down); /* report a pen up */ -+ input_report_abs(&dev, ABS_PRESSURE, 0); -+ input_sync(&dev); ++ input_report_key(dev, BTN_TOUCH, down); /* report a pen up */ ++ input_report_abs(dev, ABS_PRESSURE, 0); ++ input_sync(dev); + return IRQ_HANDLED; + } + @@ -68,11 +68,11 @@ + x = (X[0] + X[1] + X[2])/3; + y = (Y[0] + Y[1] + Y[2])/3; + -+ input_report_key(&dev, BTN_TOUCH, down); -+ input_report_abs(&dev, ABS_X, x); -+ input_report_abs(&dev, ABS_Y, y); -+ input_report_abs(&dev, ABS_PRESSURE, 1); -+ input_sync(&dev); ++ input_report_key(dev, BTN_TOUCH, down); ++ input_report_abs(dev, ABS_X, x); ++ input_report_abs(dev, ABS_Y, y); ++ input_report_abs(dev, ABS_PRESSURE, 1); ++ input_sync(dev); + + return IRQ_HANDLED; + @@ -82,22 +82,22 @@ +{ + printk("jornada720_ts: Jornada 720 touchscreen\n"); + -+ init_input_dev(&dev); -+ dev.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); -+ dev.absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); -+ dev.keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH); ++ dev = input_allocate_device(); ++ dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); ++ dev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); ++ dev->keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH); + -+ dev.absmin[ABS_X] = 270; dev.absmin[ABS_Y] = 180; -+ dev.absmax[ABS_X] = 3900; dev.absmax[ABS_Y] = 3700; ++ dev->absmin[ABS_X] = 270; dev->absmin[ABS_Y] = 180; ++ dev->absmax[ABS_X] = 3900; dev->absmax[ABS_Y] = 3700; + -+ dev.name = jornada720_ts_name; ++ dev->name = jornada720_ts_name; + + if (request_irq(GPIO_JORNADA720_MOUSE_IRQ, jornada720_mouse_interrupt, SA_INTERRUPT, "Jornada720 Mouse", NULL)) + printk("Unable to grab Jornada 720 touchscreen IRQ!\n"); + + set_irq_type(GPIO_JORNADA720_MOUSE_IRQ, IRQT_RISING); + -+ input_register_device(&dev); ++ input_register_device(dev); + + return 0; +} diff --git a/packages/linux/linux-jlime-arm-2.6.17/defconf_jlime b/packages/linux/linux-jlime-arm-2.6.17/defconf_jlime index d5daef4e31..05b0b1f1fb 100644 --- a/packages/linux/linux-jlime-arm-2.6.17/defconf_jlime +++ b/packages/linux/linux-jlime-arm-2.6.17/defconf_jlime @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.17 -# Mon Jul 3 00:55:03 2006 +# Mon Jul 10 17:53:59 2006 # CONFIG_ARM=y CONFIG_MMU=y @@ -14,7 +14,7 @@ CONFIG_VECTORS_BASE=0xffff0000 # # Code maturity level options # -CONFIG_EXPERIMENTAL=y +# CONFIG_EXPERIMENTAL is not set CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 @@ -25,13 +25,12 @@ CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y -# CONFIG_POSIX_MQUEUE is not set CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set CONFIG_SYSCTL=y # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y -# CONFIG_IKCONFIG_PROC is not set +CONFIG_IKCONFIG_PROC=y CONFIG_RELAY=y CONFIG_INITRAMFS_SOURCE="" CONFIG_UID16=y @@ -57,9 +56,8 @@ CONFIG_BASE_SMALL=0 # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y -CONFIG_MODULE_FORCE_UNLOAD=y -CONFIG_MODVERSIONS=y -CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y # @@ -126,7 +124,7 @@ CONFIG_SA1100_JORNADA720=y # CONFIG_SA1100_PLEB is not set # CONFIG_SA1100_SHANNON is not set # CONFIG_SA1100_SIMPAD is not set -# CONFIG_SA1100_SSP is not set +CONFIG_SA1100_SSP=y # # Processor Type @@ -156,7 +154,6 @@ CONFIG_ISA=y CONFIG_PCCARD=y # CONFIG_PCMCIA_DEBUG is not set CONFIG_PCMCIA=y -CONFIG_PCMCIA_LOAD_CIS=y CONFIG_PCMCIA_IOCTL=y # @@ -170,16 +167,11 @@ CONFIG_PCMCIA_SA1111=y # # Kernel Features # -# CONFIG_PREEMPT is not set # CONFIG_NO_IDLE_HZ is not set CONFIG_HZ=100 # CONFIG_AEABI is not set CONFIG_ARCH_DISCONTIGMEM_ENABLE=y CONFIG_NODES_SHIFT=2 -CONFIG_SELECT_MEMORY_MODEL=y -# CONFIG_FLATMEM_MANUAL is not set -CONFIG_DISCONTIGMEM_MANUAL=y -# CONFIG_SPARSEMEM_MANUAL is not set CONFIG_DISCONTIGMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_NEED_MULTIPLE_NODES=y @@ -208,8 +200,8 @@ CONFIG_CMDLINE="" # # At least one emulation must be selected # -# CONFIG_FPE_NWFPE is not set -CONFIG_FPE_FASTFPE=y +CONFIG_FPE_NWFPE=y +# CONFIG_FPE_NWFPE_XP is not set # # Userspace binary formats @@ -258,7 +250,6 @@ CONFIG_IP_PNP=y # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set -CONFIG_ARPD=y CONFIG_SYN_COOKIES=y CONFIG_INET_AH=y CONFIG_INET_ESP=y @@ -273,33 +264,12 @@ CONFIG_TCP_CONG_BIC=y # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set # CONFIG_NETFILTER is not set - -# -# DCCP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_DCCP is not set - -# -# SCTP Configuration (EXPERIMENTAL) -# -# CONFIG_IP_SCTP is not set - -# -# TIPC Configuration (EXPERIMENTAL) -# -# CONFIG_TIPC is not set -# CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set -# CONFIG_ECONET is not set -# CONFIG_WAN_ROUTER is not set # # QoS and/or fair queueing @@ -374,12 +344,11 @@ CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBLUECARD=m CONFIG_BT_HCIBTUART=m # CONFIG_BT_HCIVHCI is not set -CONFIG_IEEE80211=m +CONFIG_IEEE80211=y # CONFIG_IEEE80211_DEBUG is not set -CONFIG_IEEE80211_CRYPT_WEP=m -# CONFIG_IEEE80211_CRYPT_CCMP is not set -# CONFIG_IEEE80211_CRYPT_TKIP is not set -# CONFIG_IEEE80211_SOFTMAC is not set +CONFIG_IEEE80211_CRYPT_WEP=y +CONFIG_IEEE80211_CRYPT_CCMP=y +CONFIG_IEEE80211_CRYPT_TKIP=y CONFIG_WIRELESS_EXT=y # @@ -411,13 +380,7 @@ CONFIG_FW_LOADER=y # # Plug and Play support # -CONFIG_PNP=y -# CONFIG_PNP_DEBUG is not set - -# -# Protocols -# -# CONFIG_ISAPNP is not set +# CONFIG_PNP is not set # # Block devices @@ -434,7 +397,29 @@ CONFIG_BLK_DEV_LOOP=y # # ATA/ATAPI/MFM/RLL support # -# CONFIG_IDE is not set +CONFIG_IDE=y +CONFIG_BLK_DEV_IDE=y + +# +# Please see Documentation/ide.txt for help/info on IDE drives +# +# CONFIG_BLK_DEV_IDE_SATA is not set +# CONFIG_BLK_DEV_IDEDISK is not set +# CONFIG_IDEDISK_MULTI_MODE is not set +CONFIG_BLK_DEV_IDECS=y +# CONFIG_BLK_DEV_IDECD is not set +# CONFIG_BLK_DEV_IDEFLOPPY is not set +# CONFIG_IDE_TASK_IOCTL is not set + +# +# IDE chipset support/bugfixes +# +# CONFIG_IDE_GENERIC is not set +# CONFIG_IDE_ARM is not set +# CONFIG_IDE_CHIPSETS is not set +# CONFIG_BLK_DEV_IDEDMA is not set +# CONFIG_IDEDMA_AUTO is not set +# CONFIG_BLK_DEV_HD is not set # # SCSI device support @@ -464,11 +449,10 @@ CONFIG_BLK_DEV_LOOP=y # Network device support # CONFIG_NETDEVICES=y -# CONFIG_DUMMY is not set +CONFIG_DUMMY=y # CONFIG_BONDING is not set # CONFIG_EQUALIZER is not set # CONFIG_TUN is not set -# CONFIG_NET_SB1000 is not set # # ARCnet devices @@ -490,7 +474,6 @@ CONFIG_MII=m # CONFIG_SMC91X is not set # CONFIG_DM9000 is not set # CONFIG_NET_VENDOR_RACAL is not set -# CONFIG_AT1700 is not set # CONFIG_DEPCA is not set # CONFIG_HP100 is not set # CONFIG_NET_ISA is not set @@ -519,15 +502,15 @@ CONFIG_NET_RADIO=y # Obsolete Wireless cards support (pre-802.11) # # CONFIG_STRIP is not set -# CONFIG_ARLAN is not set -# CONFIG_WAVELAN is not set +CONFIG_ARLAN=m +CONFIG_WAVELAN=m CONFIG_PCMCIA_WAVELAN=m CONFIG_PCMCIA_NETWAVE=m # # Wireless 802.11 Frequency Hopping cards support # -# CONFIG_PCMCIA_RAYCS is not set +CONFIG_PCMCIA_RAYCS=m # # Wireless 802.11b ISA/PCI cards support @@ -542,9 +525,9 @@ CONFIG_PCMCIA_HERMES=m CONFIG_PCMCIA_SPECTRUM=m CONFIG_AIRO_CS=m CONFIG_PCMCIA_ATMEL=m -CONFIG_PCMCIA_WL3501=m CONFIG_HOSTAP=m -# CONFIG_HOSTAP_FIRMWARE is not set +CONFIG_HOSTAP_FIRMWARE=y +CONFIG_HOSTAP_FIRMWARE_NVRAM=y CONFIG_HOSTAP_CS=m CONFIG_NET_WIRELESS=y @@ -566,17 +549,12 @@ CONFIG_PCMCIA_AXNET=m # # CONFIG_WAN is not set CONFIG_PPP=m -CONFIG_PPP_MULTILINK=y # CONFIG_PPP_FILTER is not set CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m -CONFIG_PPP_MPPE=m -CONFIG_PPPOE=m # CONFIG_SLIP is not set -# CONFIG_SHAPER is not set -# CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set @@ -608,18 +586,13 @@ CONFIG_INPUT_TSDEV_SCREEN_Y=240 # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_ATKBD is not set # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set -CONFIG_INPUT_MOUSE=y -CONFIG_MOUSE_PS2=y -# CONFIG_MOUSE_SERIAL is not set -# CONFIG_MOUSE_INPORT is not set -# CONFIG_MOUSE_LOGIBM is not set -# CONFIG_MOUSE_PC110PAD is not set -# CONFIG_MOUSE_VSXXXAA is not set +CONFIG_KEYBOARD_JORNADA720=y +# CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set CONFIG_INPUT_TOUCHSCREEN=y # CONFIG_TOUCHSCREEN_GUNZE is not set @@ -633,9 +606,8 @@ CONFIG_TOUCHSCREEN_JORNADA720=y # Hardware I/O ports # CONFIG_SERIO=y -CONFIG_SERIO_SERPORT=y -# CONFIG_SERIO_SA1111 is not set -CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_SERPORT is not set +CONFIG_SERIO_SA1111=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set @@ -688,8 +660,6 @@ CONFIG_LEGACY_PTY_COUNT=16 # # TPM devices # -# CONFIG_TCG_TPM is not set -# CONFIG_TELCLOCK is not set # # I2C support @@ -712,7 +682,6 @@ CONFIG_LEGACY_PTY_COUNT=16 # CONFIG_HWMON=y # CONFIG_HWMON_VID is not set -# CONFIG_SENSORS_F71805F is not set # CONFIG_HWMON_DEBUG_CHIP is not set # @@ -722,7 +691,9 @@ CONFIG_HWMON=y # # Multimedia Capabilities Port drivers # -# CONFIG_MCP_SA11X0 is not set +CONFIG_MCP=y +CONFIG_MCP_SA11X0=y +# CONFIG_MCP_UCB1200 is not set # # LED devices @@ -759,7 +730,7 @@ CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_FIRMWARE_EDID=y # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set -# CONFIG_FB_SA1100 is not set +CONFIG_FB_SA1100=y CONFIG_FB_EPSON1356=y # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_VIRTUAL is not set @@ -767,11 +738,14 @@ CONFIG_FB_EPSON1356=y # # Console display driver support # -CONFIG_VGA_CONSOLE=y -# CONFIG_VGACON_SOFT_SCROLLBACK is not set +# CONFIG_VGA_CONSOLE is not set # CONFIG_MDA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y -# CONFIG_FRAMEBUFFER_CONSOLE is not set +CONFIG_FRAMEBUFFER_CONSOLE=y +# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set +# CONFIG_FONTS is not set +CONFIG_FONT_8x8=y +CONFIG_FONT_8x16=y # # Logo configuration @@ -814,7 +788,6 @@ CONFIG_USB_ARCH_HAS_OHCI=y # Real Time Clock # CONFIG_RTC_LIB=y -# CONFIG_RTC_CLASS is not set # # File systems @@ -833,13 +806,12 @@ CONFIG_FS_MBCACHE=y # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set -# CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y # CONFIG_QUOTA is not set CONFIG_DNOTIFY=y -CONFIG_AUTOFS_FS=y +# CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=y # CONFIG_FUSE_FS is not set @@ -867,18 +839,11 @@ CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_HUGETLB_PAGE is not set CONFIG_RAMFS=y -# CONFIG_CONFIGFS_FS is not set # # Miscellaneous filesystems # -# CONFIG_ADFS_FS is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BFS_FS is not set -# CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set @@ -891,8 +856,6 @@ CONFIG_RAMFS=y # CONFIG_NFS_FS=m # CONFIG_NFS_V3 is not set -# CONFIG_NFS_V4 is not set -# CONFIG_NFS_DIRECTIO is not set CONFIG_NFSD=m # CONFIG_NFSD_V3 is not set CONFIG_NFSD_TCP=y @@ -900,15 +863,11 @@ CONFIG_LOCKD=m CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m -# CONFIG_RPCSEC_GSS_KRB5 is not set -# CONFIG_RPCSEC_GSS_SPKM3 is not set CONFIG_SMB_FS=m # CONFIG_SMB_NLS_DEFAULT is not set # CONFIG_CIFS is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set -# CONFIG_AFS_FS is not set -# CONFIG_9P_FS is not set # # Partition Types @@ -961,11 +920,6 @@ CONFIG_NLS_KOI8_U=m CONFIG_NLS_UTF8=m # -# Profiling support -# -# CONFIG_PROFILING is not set - -# # Kernel hacking # # CONFIG_PRINTK_TIME is not set @@ -1001,15 +955,15 @@ CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_SERPENT=m -CONFIG_CRYPTO_AES=m +CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_TEA=m -CONFIG_CRYPTO_ARC4=m +CONFIG_CRYPTO_ARC4=y CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_MICHAEL_MIC=m +CONFIG_CRYPTO_MICHAEL_MIC=y CONFIG_CRYPTO_CRC32C=m # CONFIG_CRYPTO_TEST is not set @@ -1020,9 +974,9 @@ CONFIG_CRYPTO_CRC32C=m # # Library routines # -CONFIG_CRC_CCITT=m -# CONFIG_CRC16 is not set +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y CONFIG_CRC32=y -CONFIG_LIBCRC32C=m +CONFIG_LIBCRC32C=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y |