2 * Some platform data for the RMI4 touchscreen that will override the __weak
3 * platform data in the Ux500 machine if this driver is activated.
6 #include <linux/gpio.h>
7 #include <linux/interrupt.h>
10 #include "synaptics_i2c_rmi4.h"
13 * Synaptics RMI4 touchscreen interface on the U8500 UIB
17 * Descriptor structure.
18 * Describes the number of i2c devices on the bus that speak RMI.
20 static struct synaptics_rmi4_platform_data rmi4_i2c_dev_platformdata
= {
21 .irq_number
= NOMADIK_GPIO_TO_IRQ(84),
22 .irq_type
= (IRQF_TRIGGER_FALLING
| IRQF_SHARED
),
27 struct i2c_board_info __initdata mop500_i2c3_devices_u8500
[] = {
29 I2C_BOARD_INFO("synaptics_rmi4_i2c", 0x4B),
30 .platform_data
= &rmi4_i2c_dev_platformdata
,