Hi, On Tue, Mar 11, 2008 at 1:23 PM, Raghunandan Dhongadi <dk.raghu@xxxxxxxxx> wrote: > Hello All, That list have being deactivated, I'm Cc:ing to the correct one. > I have been integrating a touch screen driver into Linux 2.6.22 kernel > for the OMAP2430 process. I have been able to get the driver working > in polled mode. > For interrupt mode the function "request_irq" returns with failure. > > I have > #define TS_IRQ 132 // GPIO line 132 I think you should gpio_request(). Probably a gpio-switch on your board file will be a lot easier :-p check arch/arm/mach-omap2/board-n800.c for example. > > request_irq( irq_no, touch_screen_isr, ( IRQF_DISABLED | irqtype ), > "ts_i2c", id ) > irq_type = IRQ_TRIGGER > > I have done the following before calling this > > omap_cfg_reg( J24_2430_GPIO132 ); > omap_set_gpio_direction( GPIO1, 1 ); > > The touch screen device is an I2C device and used the I2C1 controller > of the OMAP2430. > Any clues ? > > Thanks in advance > Warm Regards, > Raghu > _______________________________________________ > Linux-omap-open-source mailing list > Linux-omap-open-source@xxxxxxxxxxxxxx > http://linux.omap.com/mailman/listinfo/linux-omap-open-source > -- Best Regards, Felipe Balbi felipebalbi@xxxxxxxxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html