Hi Ben,

Sorry for bumping that old thread out of the ash :)

On 11.02.2011 15:34, Ben Gardiner wrote:
> Hi Sudhakar,
> 
> On Fri, Feb 11, 2011 at 6:03 AM, Rajashekhara, Sudhakar
> <sudhakar....@ti.com> 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].

Do you know if that has been implemented since then ? I have not found
anything about that subject.

> 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

Thank you,

-- 
Christophe Aeschlimann

Embedded Software Engineer & IT Manager

ACN Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

c.aeschlim...@acn-group.ch
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to