Hi Ben, On Fri, Feb 11, 2011 at 20:04:07, Ben Gardiner wrote: > 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.
You are right. > 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]. > Thanks for the information. > To reproduce Chritophe's problem, try using the L138's GPIOs directly > in a gpio-keys driver instance. > I'll look into this. Thanks, Sudhakar _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
