Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Dmitry Torokhov
Hi Scott, On Fri, Dec 27, 2013 at 08:15:15PM +0800, scott wrote: From: Scott Liu scott@emc.com.tw This patch is for Elan eKTH Touchscreen product, I2C adpater module. As you know I have been making some changes to the driver in Chromium tree, here is the latest version of the driver.

RE: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread ELAN 劉嘉駿
@vger.kernel.org; Vincent Wang; Jeff Chuang; Benson Leung; Benjamin Tissoires; Henrik Rydberg; David Herrmann Subject: Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support Hi Scott, On Fri, Dec 27, 2013 at 08:15:15PM +0800, scott wrote: From: Scott Liu scott@emc.com.tw This patch

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Oliver Neukum
+static int elants_i2c_sw_reset(struct i2c_client *client) +{ + const u8 soft_rst_cmd[] = { 0x77, 0x77, 0x77, 0x77 }; + int error; + + error = elants_i2c_send(client, soft_rst_cmd, + sizeof(soft_rst_cmd)); + if (error) { +

RE: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread ELAN 劉嘉駿
; David Herrmann Subject: Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support +static int elants_i2c_sw_reset(struct i2c_client *client) { + const u8 soft_rst_cmd[] = { 0x77, 0x77, 0x77, 0x77 }; + int error; + + error = elants_i2c_send(client, soft_rst_cmd

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Dmitry Torokhov
Hi Oliver, On Thu, Nov 20, 2014 at 11:31:30AM +0100, Oliver Neukum wrote: +static int elants_i2c_initialize(struct elants_data *ts) +{ + struct i2c_client *client = ts-client; + int error, retry_cnt; + const u8 hello_packet[] = { 0x55, 0x55, 0x55, 0x55 }; +

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread 'Dmitry Torokhov'
; Jeff Chuang; Benson Leung; Benjamin Tissoires; Henrik Rydberg; David Herrmann Subject: Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support +static int elants_i2c_sw_reset(struct i2c_client *client) { + const u8 soft_rst_cmd[] = { 0x77, 0x77, 0x77, 0x77

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Oliver Neukum
On Thu, 2014-11-20 at 09:47 -0800, Dmitry Torokhov wrote: Hi Oliver, On Thu, Nov 20, 2014 at 11:31:30AM +0100, Oliver Neukum wrote: +static int elants_i2c_initialize(struct elants_data *ts) +{ + struct i2c_client *client = ts-client; + int error, retry_cnt; +

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Dmitry Torokhov
On Thu, Nov 20, 2014 at 09:27:35PM +0100, Oliver Neukum wrote: On Thu, 2014-11-20 at 09:47 -0800, Dmitry Torokhov wrote: Hi Oliver, On Thu, Nov 20, 2014 at 11:31:30AM +0100, Oliver Neukum wrote: +static int elants_i2c_initialize(struct elants_data *ts) +{ + struct

RE: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread ELAN 劉嘉駿
Tissoires'; 'Henrik Rydberg'; 'David Herrmann' Subject: Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support On Thu, Nov 20, 2014 at 08:25:15PM +0800, ELAN 劉嘉駿 wrote: Hi Oliver: -Original Message- From: Oliver Neukum [mailto:oneu...@suse.de] Sent: Thursday, November

[PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2013-12-27 Thread scott
From: Scott Liu scott@emc.com.tw This patch is for Elan eKTH Touchscreen product, I2C adpater module. Signed-off-by: Scott Liu scott@emc.com.tw --- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile |1 + drivers/input/touchscreen/elants_i2c.c |