Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
ste_rmi4
board-mop500-u8500uib-rmi4.c
Go to the documentation of this file.
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/irqs.h>
9
#include "
synaptics_i2c_rmi4.h
"
10
11
/*
12
* Synaptics RMI4 touchscreen interface on the U8500 UIB
13
*/
14
15
/*
16
* Descriptor structure.
17
* Describes the number of i2c devices on the bus that speak RMI.
18
*/
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
),
22
.
x_flip
=
false
,
23
.
y_flip
=
true
,
24
};
25
26
struct
i2c_board_info
__initdata
mop500_i2c3_devices_u8500
[] = {
27
{
28
I2C_BOARD_INFO
(
"synaptics_rmi4_i2c"
, 0x4B),
29
.platform_data = &rmi4_i2c_dev_platformdata,
30
},
31
};
Generated on Thu Jan 10 2013 14:31:46 for Linux Kernel by
1.8.2