Hi Sudhakar, On Fri, Feb 11, 2011 at 6:03 AM, Rajashekhara, Sudhakar <[email protected]> wrote: > When I enable the "gpio-keys" driver I am getting the below error message > when kernel is booting: > > "gpio-keys gpio-keys.0: Unable to get irq number for GPIO 152, error -6"
This error looks familiar to me; please excuse me if I presume too much. It looks like you may be trying to use the gpio-keys driver on an i2c expander. This driver requires interrupt-capable GPIOs and i2c expander GPIOs are not interrupt capable -- yet. The support needed for chained interrupts is being developed by Lennert Buytenhek as part of the ARM device tree support [1]. To reproduce Chritophe's problem, try using the L138's GPIOs directly in a gpio-keys driver instance. Best Regards, Ben Gardiner [1] http://article.gmane.org/gmane.linux.drivers.devicetree/4261 --- Nanometrics Inc. http://www.nanometrics.ca _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
