2 arch/arm/mach-omap1/board-nokia770.c | 16 +
3 arch/arm/mach-omap2/Kconfig | 10
4 arch/arm/mach-omap2/Makefile | 2
5 arch/arm/mach-omap2/board-n8x0-lcd.c | 127 ++++++++++++
6 arch/arm/mach-omap2/board-n8x0-usb.c | 175 +++++++++++++++++
7 arch/arm/mach-omap2/board-n8x0.c | 355 ++++++++++++++++++++++++++---------
8 arch/arm/mach-omap2/control.c | 2
9 arch/arm/mach-omap2/serial.c | 8
10 8 files changed, 608 insertions(+), 87 deletions(-)
12 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap1/board-nokia770.c
13 +++ linux-2.6.36-rc4/arch/arm/mach-omap1/board-nokia770.c
15 #include <plat/lcd_mipid.h>
17 #include <plat/clock.h>
18 +#include <plat/cbus.h>
20 #define ADS7846_PENDOWN_GPIO 15
22 @@ -95,8 +96,23 @@ static struct platform_device nokia770_k
23 .resource = nokia770_kp_resources,
26 +static struct cbus_host_platform_data nokia770_cbus_data = {
27 + .clk_gpio = OMAP_MPUIO(11),
28 + .dat_gpio = OMAP_MPUIO(10),
29 + .sel_gpio = OMAP_MPUIO(9),
32 +static struct platform_device nokia770_cbus_device = {
36 + .platform_data = &nokia770_cbus_data,
40 static struct platform_device *nokia770_devices[] __initdata = {
42 + &nokia770_cbus_device,
45 static void mipid_shutdown(struct mipid_platform_data *pdata)
46 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap2/board-n8x0.c
47 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/board-n8x0.c
50 #include <linux/stddef.h>
51 #include <linux/i2c.h>
52 +#include <linux/platform_device.h>
53 #include <linux/spi/spi.h>
54 +#include <linux/spi/tsc2005.h>
55 +#include <linux/input.h>
56 #include <linux/usb/musb.h>
57 +#include <linux/i2c/lm8323.h>
59 #include <asm/mach/arch.h>
60 #include <asm/mach-types.h>
62 #include <plat/onenand.h>
64 #include <plat/serial.h>
65 +#include <plat/cbus.h>
66 +#include <plat/gpio-switch.h>
70 @@ -39,109 +45,154 @@ static int slot1_cover_open;
71 static int slot2_cover_open;
72 static struct device *mmc_device;
74 -#define TUSB6010_ASYNC_CS 1
75 -#define TUSB6010_SYNC_CS 4
76 -#define TUSB6010_GPIO_INT 58
77 -#define TUSB6010_GPIO_ENABLE 0
78 -#define TUSB6010_DMACHAN 0x3f
79 +#define RX51_TSC2005_RESET_GPIO 94
80 +#define RX51_TSC2005_IRQ_GPIO 106
81 +#define OMAP_TAG_NOKIA_BT 0x4e01
83 +static s16 rx44_keymap[LM8323_KEYMAP_SIZE] = {
88 + [0x05] = KEY_BACKSPACE,
100 + [0x14] = KEY_APOSTROPHE,
107 + [0x1c] = KEY_LEFTSHIFT, /* Actually, this is both shift keys */
111 + [0x22] = KEY_SEMICOLON,
112 + [0x23] = KEY_MINUS,
113 + [0x24] = KEY_EQUAL,
119 + [0x32] = KEY_RIGHTCTRL,
120 + [0x34] = KEY_SPACE,
121 + [0x35] = KEY_COMMA,
123 + [0x3c] = KEY_COMPOSE,
128 + [0x46] = KEY_RIGHT,
132 + [0x55] = KEY_ENTER,
135 -#if defined(CONFIG_USB_TUSB6010) || \
136 - defined(CONFIG_USB_TUSB6010_MODULE)
138 - * Enable or disable power to TUSB6010. When enabling, turn on 3.3 V and
139 - * 1.5 V voltage regulators of PM companion chip. Companion chip will then
140 - * provide then PGOOD signal to TUSB6010 which will release it from reset.
142 -static int tusb_set_power(int state)
147 - gpio_set_value(TUSB6010_GPIO_ENABLE, 1);
152 - /* Wait until TUSB6010 pulls INT pin down */
154 - while (i && gpio_get_value(TUSB6010_GPIO_INT)) {
160 - printk(KERN_ERR "tusb: powerup failed\n");
164 - gpio_set_value(TUSB6010_GPIO_ENABLE, 0);
168 + [0x75] = KEY_KPENTER,
173 +static struct lm8323_platform_data lm8323_pdata = {
174 + .repeat = 0, /* Repeat is handled in userspace for now. */
175 + .keymap = rx44_keymap,
178 + .debounce_time = 12,
179 + .active_time = 500,
181 + .name = "Internal keyboard",
182 + .pwm_names[0] = "n810::keyboard",
183 + .pwm_names[1] = "n810::cover",
184 + //.pwm1_name = "n810::keyboard",
185 + //.pwm2_name = "n810::cover",
188 -static struct musb_hdrc_config musb_config = {
193 +struct omap_bluetooth_config {
196 + u8 host_wakeup_gpio;
203 -static struct musb_hdrc_platform_data tusb_data = {
204 -#if defined(CONFIG_USB_MUSB_OTG)
206 -#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
207 - .mode = MUSB_PERIPHERAL,
208 -#else /* defined(CONFIG_USB_MUSB_HOST) */
211 - .set_power = tusb_set_power,
212 - .min_power = 25, /* x2 = 50 mA drawn from VBUS as peripheral */
213 - .power = 100, /* Max 100 mA VBUS for host mode */
214 - .config = &musb_config,
217 -static void __init n8x0_usb_init(void)
220 - static char announce[] __initdata = KERN_INFO "TUSB 6010\n";
222 - /* PM companion chip power control pin */
223 - ret = gpio_request(TUSB6010_GPIO_ENABLE, "TUSB6010 enable");
225 - printk(KERN_ERR "Could not get TUSB power GPIO%i\n",
226 - TUSB6010_GPIO_ENABLE);
229 - gpio_direction_output(TUSB6010_GPIO_ENABLE, 0);
230 +static struct platform_device n8x0_bt_device = {
233 + .num_resources = 0,
237 +void __init n8x0_bt_init(void)
239 + const struct omap_bluetooth_config *bt_config;
241 - ret = tusb6010_setup_interface(&tusb_data, TUSB6010_REFCLK_19, 2,
242 - TUSB6010_ASYNC_CS, TUSB6010_SYNC_CS,
243 - TUSB6010_GPIO_INT, TUSB6010_DMACHAN);
246 + bt_config = (void *) omap_get_config(OMAP_TAG_NOKIA_BT,
247 + struct omap_bluetooth_config);
248 + n8x0_bt_device.dev.platform_data = (void *) bt_config;
249 + if (platform_device_register(&n8x0_bt_device) < 0)
254 +static struct omap2_mcspi_device_config mipid_mcspi_config = {
256 + .single_channel = 1,
260 +static int slot1_cover_open;
261 +static int slot2_cover_open;
262 +static struct device *mmc_device;
265 - gpio_free(TUSB6010_GPIO_ENABLE);
269 -static void __init n8x0_usb_init(void) {}
270 +static struct omap2_mcspi_device_config p54spi_mcspi_config = {
272 + .single_channel = 1,
275 -#endif /*CONFIG_USB_TUSB6010 */
276 +#ifdef CONFIG_MACH_NOKIA_N8X0_LCD
277 +extern struct mipid_platform_data n8x0_mipid_platform_data;
280 +#ifdef CONFIG_TOUCHSCREEN_TSC2005
281 +static struct tsc2005_platform_data tsc2005_config;
282 +static void rx51_tsc2005_set_reset(bool enable)
284 + gpio_set_value(RX51_TSC2005_RESET_GPIO, enable);
287 -static struct omap2_mcspi_device_config p54spi_mcspi_config = {
288 +static struct omap2_mcspi_device_config tsc2005_mcspi_config = {
294 static struct spi_board_info n800_spi_board_info[] __initdata = {
295 +#ifdef CONFIG_MACH_NOKIA_N8X0_LCD
297 + .modalias = "lcd_mipid",
300 + .max_speed_hz = 4000000,
301 + .controller_data= &mipid_mcspi_config,
302 + .platform_data = &n8x0_mipid_platform_data,
306 .modalias = "p54spi",
308 @@ -149,6 +200,68 @@ static struct spi_board_info n800_spi_bo
309 .max_speed_hz = 48000000,
310 .controller_data = &p54spi_mcspi_config,
313 + .modalias = "tsc2005",
316 + .irq = OMAP_GPIO_IRQ(RX51_TSC2005_IRQ_GPIO),
317 + .max_speed_hz = 6000000,
318 + .controller_data = &tsc2005_mcspi_config,
319 + .platform_data = &tsc2005_config,
323 +static void __init tsc2005_set_config(void)
325 + const struct omap_lcd_config *conf;
327 + conf = omap_get_config(OMAP_TAG_LCD, struct omap_lcd_config);
328 + if (conf != NULL) {
329 +#ifdef CONFIG_TOUCHSCREEN_TSC2005
330 + if (strcmp(conf->panel_name, "lph8923") == 0) {
331 + tsc2005_config.ts_x_plate_ohm = 180;
332 + tsc2005_config.ts_hw_avg = 0;
333 + tsc2005_config.ts_ignore_last = 0;
334 + tsc2005_config.ts_touch_pressure = 1500;
335 + tsc2005_config.ts_stab_time = 100;
336 + tsc2005_config.ts_pressure_max = 2048;
337 + tsc2005_config.ts_pressure_fudge = 2;
338 + tsc2005_config.ts_x_max = 4096;
339 + tsc2005_config.ts_x_fudge = 4;
340 + tsc2005_config.ts_y_max = 4096;
341 + tsc2005_config.ts_y_fudge = 7;
342 + tsc2005_config.set_reset = rx51_tsc2005_set_reset;
343 + } else if (strcmp(conf->panel_name, "ls041y3") == 0) {
344 + tsc2005_config.ts_x_plate_ohm = 280;
345 + tsc2005_config.ts_hw_avg = 0;
346 + tsc2005_config.ts_ignore_last = 0;
347 + tsc2005_config.ts_touch_pressure = 1500;
348 + tsc2005_config.ts_stab_time = 1000;
349 + tsc2005_config.ts_pressure_max = 2048;
350 + tsc2005_config.ts_pressure_fudge = 2;
351 + tsc2005_config.ts_x_max = 4096;
352 + tsc2005_config.ts_x_fudge = 4;
353 + tsc2005_config.ts_y_max = 4096;
354 + tsc2005_config.ts_y_fudge = 7;
355 + tsc2005_config.set_reset = rx51_tsc2005_set_reset;
357 + printk(KERN_ERR "Unknown panel type, set default "
358 + "touchscreen configuration\n");
359 + tsc2005_config.ts_x_plate_ohm = 200;
360 + tsc2005_config.ts_stab_time = 100;
366 +static struct i2c_board_info __initdata_or_module n8x0_i2c_board_info_2[] = {};
368 +static struct i2c_board_info __initdata_or_module n810_i2c_board_info_2[] = {
370 + I2C_BOARD_INFO("lm8323", 0x45),
371 + .irq = OMAP_GPIO_IRQ(109),
372 + .platform_data = &lm8323_pdata,
376 #if defined(CONFIG_MTD_ONENAND_OMAP2) || \
377 @@ -183,6 +296,20 @@ static struct mtd_partition onenand_part
381 +static struct cbus_host_platform_data n8x0_cbus_data = {
387 +static struct platform_device n8x0_cbus_device = {
391 + .platform_data = &n8x0_cbus_data,
395 static struct omap_onenand_platform_data board_onenand_data = {
398 @@ -659,15 +786,77 @@ static struct omap_board_mux board_mux[]
399 #define board_mux NULL
402 +#ifdef CONFIG_MACH_NOKIA_N8X0_LCD
403 +extern void n8x0_mipid_init(void);
404 +extern void n8x0_blizzard_init(void);
406 +#define n8x0_mipid_init() 0
407 +#define n8x0_blizzard_init() 0
410 +extern void n8x0_usb_init(void);
412 +static struct omap_gpio_switch n8x0_gpio_switches[] __initdata = {
414 + .name = "headphone",
416 + .debounce_rising = 200,
417 + .debounce_falling = 200,
421 + .debounce_rising = 200,
422 + .debounce_falling = 200,
424 + .name = "cam_turn",
426 + .debounce_rising = 100,
427 + .debounce_falling = 100,
431 + .debounce_rising = 200,
432 + .debounce_falling = 200,
436 + .debounce_rising = 200,
437 + .debounce_falling = 200,
441 +static void __init n8x0_gpio_switches_init(void)
443 + /* The switches are actually registered through ATAG mechanism.
444 + * This just updates the parameters (thus .gpio is -1) */
445 + omap_register_gpio_switches(n8x0_gpio_switches,
446 + ARRAY_SIZE(n8x0_gpio_switches));
449 static void __init n8x0_init_machine(void)
451 omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC);
452 + n8x0_gpio_switches_init();
453 + platform_device_register(&n8x0_cbus_device);
456 /* FIXME: add n810 spi devices */
457 + tsc2005_set_config();
458 spi_register_board_info(n800_spi_board_info,
459 ARRAY_SIZE(n800_spi_board_info));
462 n8x0_menelaus_init();
464 + omap_register_i2c_bus(2, 400, n8x0_i2c_board_info_2,
465 + ARRAY_SIZE(n8x0_i2c_board_info_2));
467 + i2c_register_board_info(2, n810_i2c_board_info_2,
468 + ARRAY_SIZE(n810_i2c_board_info_2));
471 + n8x0_blizzard_init();
477 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/board-n8x0-lcd.c
480 + * linux/arch/arm/mach-omap2/board-n8x0.c
482 + * Copyright (C) 2005-2009 Nokia Corporation
483 + * Author: Juha Yrjola <juha.yrjola@nokia.com>
485 + * Modified from mach-omap2/board-generic.c
487 + * This program is free software; you can redistribute it and/or modify
488 + * it under the terms of the GNU General Public License version 2 as
489 + * published by the Free Software Foundation.
492 +#include <linux/clk.h>
493 +#include <linux/delay.h>
494 +#include <linux/gpio.h>
495 +#include <linux/omapfb.h>
497 +#include <plat/lcd_mipid.h>
498 +#include <plat/blizzard.h>
500 +#include <../drivers/cbus/tahvo.h>
502 +#define N8X0_BLIZZARD_POWERDOWN_GPIO 15
506 +static void mipid_shutdown(struct mipid_platform_data *pdata)
508 + if (pdata->nreset_gpio != -1) {
509 + pr_info("shutdown LCD\n");
510 + gpio_set_value(pdata->nreset_gpio, 0);
515 +struct mipid_platform_data n8x0_mipid_platform_data = {
516 + .shutdown = mipid_shutdown,
519 +void __init n8x0_mipid_init(void)
521 + const struct omap_lcd_config *conf;
523 + conf = omap_get_config(OMAP_TAG_LCD, struct omap_lcd_config);
524 + if (conf != NULL) {
525 + n8x0_mipid_platform_data.nreset_gpio = conf->nreset_gpio;
526 + n8x0_mipid_platform_data.data_lines = conf->data_lines;
527 + printk(KERN_INFO "N8x0 MIPID config loaded");
530 + printk(KERN_INFO "N8x0 MIPID config not provided");
534 +// Epson Blizzard LCD Controller
537 + struct clk *sys_ck;
540 +static int blizzard_get_clocks(void)
542 + blizzard.sys_ck = clk_get(0, "osc_ck");
543 + if (IS_ERR(blizzard.sys_ck)) {
544 + printk(KERN_ERR "can't get Blizzard clock\n");
545 + return PTR_ERR(blizzard.sys_ck);
550 +static unsigned long blizzard_get_clock_rate(struct device *dev)
552 + return clk_get_rate(blizzard.sys_ck);
555 +static void blizzard_enable_clocks(int enable)
558 + clk_enable(blizzard.sys_ck);
560 + clk_disable(blizzard.sys_ck);
563 +static void blizzard_power_up(struct device *dev)
565 + /* Vcore to 1.475V */
566 + tahvo_set_clear_reg_bits(0x07, 0, 0xf);
569 + blizzard_enable_clocks(1);
570 + gpio_set_value(N8X0_BLIZZARD_POWERDOWN_GPIO, 1);
573 +static void blizzard_power_down(struct device *dev)
575 + gpio_set_value(N8X0_BLIZZARD_POWERDOWN_GPIO, 0);
576 + blizzard_enable_clocks(0);
578 + /* Vcore to 1.005V */
579 + tahvo_set_clear_reg_bits(0x07, 0xf, 0);
582 +static struct blizzard_platform_data n8x0_blizzard_data = {
583 + .power_up = blizzard_power_up,
584 + .power_down = blizzard_power_down,
585 + .get_clock_rate = blizzard_get_clock_rate,
589 +void __init n8x0_blizzard_init(void)
593 + r = gpio_request(N8X0_BLIZZARD_POWERDOWN_GPIO, "Blizzard pd");
596 + printk(KERN_ERR "Can't get N8x0 Blizzard powerdown GPIO %d\n", N8X0_BLIZZARD_POWERDOWN_GPIO);
599 + gpio_direction_output(N8X0_BLIZZARD_POWERDOWN_GPIO, 1);
601 + blizzard_get_clocks();
602 + omapfb_set_ctrl_platform_data(&n8x0_blizzard_data);
604 + printk(KERN_INFO "N8x0 Blizzard initialized");
607 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/board-n8x0-usb.c
610 + * linux/arch/arm/mach-omap2/board-n8x0-usb.c
612 + * Copyright (C) 2006 Nokia Corporation
613 + * Author: Juha Yrjola
615 + * This program is free software; you can redistribute it and/or modify
616 + * it under the terms of the GNU General Public License version 2 as
617 + * published by the Free Software Foundation.
620 +#include <linux/types.h>
621 +#include <linux/delay.h>
622 +#include <linux/platform_device.h>
623 +#include <linux/clk.h>
624 +#include <linux/err.h>
625 +#include <linux/gpio.h>
626 +#include <linux/usb/musb.h>
628 +#include <plat/gpmc.h>
630 +#define TUSB_ASYNC_CS 1
631 +#define TUSB_SYNC_CS 4
632 +#define GPIO_TUSB_INT 58
633 +#define GPIO_TUSB_ENABLE 0
635 +static int tusb_set_power(int state);
636 +static int tusb_set_clock(struct clk *osc_ck, int state);
638 +#if defined(CONFIG_USB_MUSB_OTG)
639 +# define BOARD_MODE MUSB_OTG
640 +#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
641 +# define BOARD_MODE MUSB_PERIPHERAL
642 +#else /* defined(CONFIG_USB_MUSB_HOST) */
643 +# define BOARD_MODE MUSB_HOST
646 +static struct musb_hdrc_eps_bits musb_eps[] = {
679 +static struct musb_hdrc_config musb_config = {
687 + .eps_bits = musb_eps,
690 +static struct musb_hdrc_platform_data tusb_data = {
691 + .mode = BOARD_MODE,
692 + .set_power = tusb_set_power,
693 + .set_clock = tusb_set_clock,
694 + .min_power = 25, /* x2 = 50 mA drawn from VBUS as peripheral */
695 + .power = 100, /* Max 100 mA VBUS for host mode */
697 + .config = &musb_config,
701 + * Enable or disable power to TUSB6010. When enabling, turn on 3.3 V and
702 + * 1.5 V voltage regulators of PM companion chip. Companion chip will then
703 + * provide then PGOOD signal to TUSB6010 which will release it from reset.
705 +static int tusb_set_power(int state)
710 + gpio_set_value(GPIO_TUSB_ENABLE, 1);
713 + /* Wait until TUSB6010 pulls INT pin down */
715 + while (i && gpio_get_value(GPIO_TUSB_INT)) {
721 + printk(KERN_ERR "tusb: powerup failed\n");
725 + gpio_set_value(GPIO_TUSB_ENABLE, 0);
732 +static int osc_ck_on;
734 +static int tusb_set_clock(struct clk *osc_ck, int state)
740 + //omap2_block_sleep();
741 + clk_enable(osc_ck);
744 + if (osc_ck_on == 0)
747 + clk_disable(osc_ck);
749 + //omap2_allow_sleep();
755 +void __init n8x0_usb_init(void)
758 + static char announce[] __initdata = KERN_INFO "TUSB 6010\n";
760 + /* PM companion chip power control pin */
761 + ret = gpio_request(GPIO_TUSB_ENABLE, "TUSB6010 enable");
763 + printk(KERN_ERR "Could not get TUSB power GPIO%i\n",
767 + gpio_direction_output(GPIO_TUSB_ENABLE, 0);
771 + ret = tusb6010_setup_interface(&tusb_data, TUSB6010_REFCLK_19, 2,
772 + TUSB_ASYNC_CS, TUSB_SYNC_CS,
773 + GPIO_TUSB_INT, 0x3f);
782 + gpio_free(GPIO_TUSB_ENABLE);
784 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap2/control.c
785 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/control.c
786 @@ -162,6 +162,7 @@ u16 omap_ctrl_readw(u16 offset)
787 return __raw_readw(OMAP_CTRL_REGADDR(offset));
790 +EXPORT_SYMBOL_GPL(omap_ctrl_readl);
791 u32 omap_ctrl_readl(u16 offset)
793 return __raw_readl(OMAP_CTRL_REGADDR(offset));
794 @@ -177,6 +178,7 @@ void omap_ctrl_writew(u16 val, u16 offse
795 __raw_writew(val, OMAP_CTRL_REGADDR(offset));
798 +EXPORT_SYMBOL_GPL(omap_ctrl_writel);
799 void omap_ctrl_writel(u32 val, u16 offset)
801 __raw_writel(val, OMAP_CTRL_REGADDR(offset));
802 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap2/Kconfig
803 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/Kconfig
804 @@ -189,6 +189,16 @@ config MACH_NOKIA_N8X0
805 select MACH_NOKIA_N810
806 select MACH_NOKIA_N810_WIMAX
808 +config MACH_NOKIA_N8X0_LCD
810 + depends on MACH_NOKIA_N8X0 && FB_OMAP_LCDC_BLIZZARD && FB_OMAP_LCD_MIPID
813 +config MACH_NOKIA_N8X0_USB
815 + depends on MACH_NOKIA_N8X0 && MACH_OMAP2_TUSB6010
818 config MACH_NOKIA_RX51
819 bool "Nokia RX-51 board"
820 depends on ARCH_OMAP3
821 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap2/Makefile
822 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/Makefile
823 @@ -125,6 +125,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += boar
826 obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o
827 +obj-$(CONFIG_MACH_NOKIA_N8X0_LCD) += board-n8x0-lcd.o
828 +obj-$(CONFIG_MACH_NOKIA_N8X0_USB) += board-n8x0-usb.o
829 obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \
831 board-rx51-peripherals.o \
832 --- linux-2.6.36-rc4.orig/arch/arm/mach-omap2/serial.c
833 +++ linux-2.6.36-rc4/arch/arm/mach-omap2/serial.c
834 @@ -546,10 +546,10 @@ static void omap_uart_idle_init(struct o
838 - p->irqflags |= IRQF_SHARED;
839 +/* p->irqflags |= IRQF_SHARED;
840 ret = request_irq(p->irq, omap_uart_interrupt, IRQF_SHARED,
841 "serial idle", (void *)uart);
846 void omap_uart_enable_irqs(int enable)
847 @@ -557,13 +557,13 @@ void omap_uart_enable_irqs(int enable)
849 struct omap_uart_state *uart;
851 - list_for_each_entry(uart, &uart_list, node) {
852 +/* list_for_each_entry(uart, &uart_list, node) {
854 ret = request_irq(uart->p->irq, omap_uart_interrupt,
855 IRQF_SHARED, "serial idle", (void *)uart);
857 free_irq(uart->p->irq, (void *)uart);
862 static ssize_t sleep_timeout_show(struct device *dev,