diff options
author | Roshni Shah <roshni.shah@timesys.com> | 2014-01-05 10:23:02 -0500 |
---|---|---|
committer | Roshni Shah <roshni.shah@timesys.com> | 2014-01-05 13:12:54 -0500 |
commit | 81d90159c6aa14b6c713a1280d19a7ba6f8b9e0c (patch) | |
tree | 312d54d3ac7044d725f50517c4f08ae51a85c2cf /arch | |
parent | f2a0b753bc57f2d40119762879071cbdd0a215fe (diff) |
Quartz: Added Resistive Touch Screen support
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mvf/board-quartz.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mvf/board-quartz.c b/arch/arm/mach-mvf/board-quartz.c index bd98345645c3..7a916f6d5992 100644 --- a/arch/arm/mach-mvf/board-quartz.c +++ b/arch/arm/mach-mvf/board-quartz.c @@ -88,6 +88,7 @@ #define MVF600_SD1_WP 98 #define MVF600_LVDS_TS 119 #define MVF600_RTC_INT 127 +#define MVF600_CRTOUCH_INT 68 /* GPIO definitions */ #define GPIO_LED_1 65 #define GPIO_LED_2 64 @@ -303,6 +304,10 @@ static const struct esdhc_platform_data mvfa5_sd1_data __initconst = { .wp_gpio = MVF600_SD1_WP, }; +static struct crtouch_platform_data crtouch_pdata = { + .irq_gpio = MVF600_CRTOUCH_INT, +}; + static struct imxi2c_platform_data mvf600_i2c_data = { .bitrate = 100000, }; @@ -310,6 +315,7 @@ static struct imxi2c_platform_data mvf600_i2c_data = { static struct i2c_board_info mxc_i2c2_board_info[] __initdata = { { I2C_BOARD_INFO("crtouch_ts", 0x49), + .platform_data = &crtouch_pdata, }, { I2C_BOARD_INFO("sgtl5000", 0x0a), |