[SCSI] bnx2fc: Add driver documentation
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / ste_rmi4 / board-mop500-u8500uib-rmi4.c
bloba272e488e5b95263e1ff1e5a31ed432afe56be9d
1 /*
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.
4 */
5 #include <linux/i2c.h>
6 #include <linux/gpio.h>
7 #include <linux/interrupt.h>
8 #include <mach/gpio.h>
9 #include <mach/irqs.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),
23 .x_flip = false,
24 .y_flip = true,
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,