mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
auto TS Calibration: auto switch support between info_sdk and it50
This commit is contained in:
@@ -699,8 +699,8 @@ CONFIG_KEYBOARD_RK28ADC_IT50=y
|
||||
CONFIG_INPUT_TOUCHSCREEN=y
|
||||
# CONFIG_TOUCHSCREEN_ADS7846 is not set
|
||||
# CONFIG_TOUCHSCREEN_AD7877 is not set
|
||||
CONFIG_TOUCHSCREEN_XPT2046_SPI=y
|
||||
# CONFIG_TOUCHSCREEN_XPT2046_CBN_SPI is not set
|
||||
# CONFIG_TOUCHSCREEN_XPT2046_SPI is not set
|
||||
CONFIG_TOUCHSCREEN_XPT2046_CBN_SPI=y
|
||||
# CONFIG_TOUCHSCREEN_XPT2046_320X480_SPI is not set
|
||||
# CONFIG_TOUCHSCREEN_XPT2046_320X480_CBN_SPI is not set
|
||||
# CONFIG_TOUCHSCREEN_IT7250 is not set
|
||||
|
||||
@@ -45,8 +45,15 @@ int screen_y[5] = { 40, 40, 440, 440, 240};
|
||||
int uncali_x[5] = { 0 };
|
||||
int uncali_y[5] = { 0 };
|
||||
|
||||
#ifdef CONFIG_MACH_RK2818INFO_IT50
|
||||
int uncali_x_default[5] = { 3735, 301, 3754, 290, 1993 };
|
||||
int uncali_y_default[5] = { 3442, 3497, 413, 459, 1880 };
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MACH_RK2818INFO
|
||||
int uncali_x_default[5] = { 438, 565, 3507, 3631, 2105 };
|
||||
int uncali_y_default[5] = { 3756, 489, 3792, 534, 2159 };
|
||||
#endif
|
||||
|
||||
static ssize_t touch_mode_show(struct class *cls, char *_buf)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user