Commit 7686b108 authored by Iiro Valkonen's avatar Iiro Valkonen Committed by Dmitry Torokhov

Input: atmel_mxt_ts - get rid of qt602240 prefixes in names

Change prefixes from qt602240 to mxt to reflect that the driver supports
whole line of mXT touchscreens.
Signed-off-by: default avatarIiro Valkonen <iiro.valkonen@atmel.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 964de521
...@@ -222,7 +222,7 @@ static void __init goni_radio_init(void) ...@@ -222,7 +222,7 @@ static void __init goni_radio_init(void)
} }
/* TSP */ /* TSP */
static struct qt602240_platform_data qt602240_platform_data = { static struct mxt_platform_data qt602240_platform_data = {
.x_line = 17, .x_line = 17,
.y_line = 11, .y_line = 11,
.x_size = 800, .x_size = 800,
...@@ -230,7 +230,7 @@ static struct qt602240_platform_data qt602240_platform_data = { ...@@ -230,7 +230,7 @@ static struct qt602240_platform_data qt602240_platform_data = {
.blen = 0x21, .blen = 0x21,
.threshold = 0x28, .threshold = 0x28,
.voltage = 2800000, /* 2.8V */ .voltage = 2800000, /* 2.8V */
.orient = QT602240_DIAGONAL, .orient = MXT_DIAGONAL,
}; };
static struct s3c2410_platform_i2c i2c2_data __initdata = { static struct s3c2410_platform_i2c i2c2_data __initdata = {
......
This diff is collapsed.
/* /*
* AT42QT602240/ATMXT224 Touchscreen driver * Atmel maXTouch Touchscreen driver
* *
* Copyright (C) 2010 Samsung Electronics Co.Ltd * Copyright (C) 2010 Samsung Electronics Co.Ltd
* Author: Joonyoung Shim <jy0922.shim@samsung.com> * Author: Joonyoung Shim <jy0922.shim@samsung.com>
...@@ -10,21 +10,21 @@ ...@@ -10,21 +10,21 @@
* option) any later version. * option) any later version.
*/ */
#ifndef __LINUX_QT602240_TS_H #ifndef __LINUX_ATMEL_MXT_TS_H
#define __LINUX_QT602240_TS_H #define __LINUX_ATMEL_MXT_TS_H
/* Orient */ /* Orient */
#define QT602240_NORMAL 0x0 #define MXT_NORMAL 0x0
#define QT602240_DIAGONAL 0x1 #define MXT_DIAGONAL 0x1
#define QT602240_HORIZONTAL_FLIP 0x2 #define MXT_HORIZONTAL_FLIP 0x2
#define QT602240_ROTATED_90_COUNTER 0x3 #define MXT_ROTATED_90_COUNTER 0x3
#define QT602240_VERTICAL_FLIP 0x4 #define MXT_VERTICAL_FLIP 0x4
#define QT602240_ROTATED_90 0x5 #define MXT_ROTATED_90 0x5
#define QT602240_ROTATED_180 0x6 #define MXT_ROTATED_180 0x6
#define QT602240_DIAGONAL_COUNTER 0x7 #define MXT_DIAGONAL_COUNTER 0x7
/* The platform data for the AT42QT602240/ATMXT224 touchscreen driver */ /* The platform data for the Atmel maXTouch touchscreen driver */
struct qt602240_platform_data { struct mxt_platform_data {
unsigned int x_line; unsigned int x_line;
unsigned int y_line; unsigned int y_line;
unsigned int x_size; unsigned int x_size;
...@@ -35,4 +35,4 @@ struct qt602240_platform_data { ...@@ -35,4 +35,4 @@ struct qt602240_platform_data {
unsigned char orient; unsigned char orient;
}; };
#endif /* __LINUX_QT602240_TS_H */ #endif /* __LINUX_ATMEL_MXT_TS_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment