On 08.02.2011 12:19, Rajashekhara, Sudhakar wrote:
> Hi Christophe,
> 
> On Tue, Feb 08, 2011 at 15:43:30, Christophe Aeschlimann wrote:
>> Hi Sudhakar,
>>
> 
> [...]
> 
>>
>> Thanks for doing some testing on your side.
>>
>> Any specific reason why you used the gpio-keys-polled driver ? I'm using
>> the standard gpio-keys driver which is based on a interrupt instead of
>> polling. As I said I think it's a problem with the interruption mechanism.
>>
> 
> I am not able boot my board when I use the gpio-keys driver? Have you done any
> modifications to the kernel to use gpio-keys driver?

No I didn't change anything that would affect that.

I'm defining a struct gpio_keys_button with my buttons that is
encapsulated in a static struct gpio_keys_platform_data that is
encapsulated in a static struct platform_device that is then registered
with the system.

I have the following set :

CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_MATRIX=y

Our custom kernel is based on CONFIG_MACH_DAVINCI_DA850_EVM and boots
fine. I used the driver on the Hawkboard as well and it was also ok.

Regards,

Christophe


-- 
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

[email protected]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to