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>
9 #include "synaptics_i2c_rmi4.h"
12 * Synaptics RMI4 touchscreen interface on the U8500 UIB
16 * Descriptor structure.
17 * Describes the number of i2c devices on the bus that speak RMI.
19 static struct synaptics_rmi4_platform_data rmi4_i2c_dev_platformdata = {
20 .irq_number = NOMADIK_GPIO_TO_IRQ(84),
21 .irq_type = (IRQF_TRIGGER_FALLING | IRQF_SHARED),
26 struct i2c_board_info __initdata mop500_i2c3_devices_u8500[] = {
28 I2C_BOARD_INFO("synaptics_rmi4_i2c", 0x4B),
29 .platform_data = &rmi4_i2c_dev_platformdata,