Skip to content

Commit 5262c54

Browse files
mszyprowkgene
authored andcommitted
ARM: EXYNOS: Remove broken config values for touchscren for NURI board
The atmel_mxt_ts driver has been extended to support more 'configuration objects' in commit 81c88a7 ("Input: atmel_mxt_ts - update object list"), what broke the configuration values for NURI board. These values are optional anyway, so remove them to get the driver working correctly. Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
1 parent 3d3231b commit 5262c54

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

arch/arm/mach-exynos/mach-nuri.c

-42
Original file line numberDiff line numberDiff line change
@@ -307,49 +307,7 @@ static struct i2c_board_info i2c1_devs[] __initdata = {
307307
};
308308

309309
/* TSP */
310-
static u8 mxt_init_vals[] = {
311-
/* MXT_GEN_COMMAND(6) */
312-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
313-
/* MXT_GEN_POWER(7) */
314-
0x20, 0xff, 0x32,
315-
/* MXT_GEN_ACQUIRE(8) */
316-
0x0a, 0x00, 0x05, 0x00, 0x00, 0x00, 0x09, 0x23,
317-
/* MXT_TOUCH_MULTI(9) */
318-
0x00, 0x00, 0x00, 0x13, 0x0b, 0x00, 0x00, 0x00, 0x02, 0x00,
319-
0x00, 0x01, 0x01, 0x0e, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x00,
320-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
321-
0x00,
322-
/* MXT_TOUCH_KEYARRAY(15) */
323-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
324-
0x00,
325-
/* MXT_SPT_GPIOPWM(19) */
326-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
327-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
328-
/* MXT_PROCI_GRIPFACE(20) */
329-
0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x28, 0x04,
330-
0x0f, 0x0a,
331-
/* MXT_PROCG_NOISE(22) */
332-
0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x23, 0x00,
333-
0x00, 0x05, 0x0f, 0x19, 0x23, 0x2d, 0x03,
334-
/* MXT_TOUCH_PROXIMITY(23) */
335-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
336-
0x00, 0x00, 0x00, 0x00, 0x00,
337-
/* MXT_PROCI_ONETOUCH(24) */
338-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
339-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
340-
/* MXT_SPT_SELFTEST(25) */
341-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
342-
0x00, 0x00, 0x00, 0x00,
343-
/* MXT_PROCI_TWOTOUCH(27) */
344-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
345-
/* MXT_SPT_CTECONFIG(28) */
346-
0x00, 0x00, 0x02, 0x08, 0x10, 0x00,
347-
};
348-
349310
static struct mxt_platform_data mxt_platform_data = {
350-
.config = mxt_init_vals,
351-
.config_length = ARRAY_SIZE(mxt_init_vals),
352-
353311
.x_line = 18,
354312
.y_line = 11,
355313
.x_size = 1024,

0 commit comments

Comments
 (0)