Hi,
I am using am335x and used TCA8418 keypad in my design and included the driver and it is working in linux 3.2. the same i am doing in my Linux 3.12 SDK7 version.
how to define my below declaration in am335x-evm.dts. Please suggest me how to call in Linux 3.12.
I have added below platform data with my board file board-am335xevm.c
------------------------------------------------------------------------------------------------------------
static struct tca8418_keypad_platform_data am335x_tca8418_info = {
.keymap_data = &am335x_evm_keymap_data,
.rows=8,
.cols=10,
.rep=0,
.irq_is_gpio=0,
};
{
I2C_BOARD_INFO("tca8418_keypad", 0x34),
.irq = OMAP_GPIO_IRQ(AM335X_KEYPAD_INT_IRQ_GPIO), //GPIO1[24]=1*32+24=56
.platform_data = (void *)&am335x_tca8418_info,
},
------------------------------------------------------------------------------------------------------------
Regards,
Anil.