[PATCH v3] HID: i2c-hid: Skip ELAN power-on command after reset

2021-04-12 Thread Johnny Chuang
enumerated successfully to be recognized by the system host. therefore, it lost touch functionality. Add quirk for skip send power-on command after reset. It will impact to ELAN touchscreen and touchpad on HID over I2C projects. Signed-off-by: Johnny Chuang --- Changes in V3: - intent the commen

[PATCH v2] HID: i2c-hid: Skip ELAN power-on command after reset

2021-04-11 Thread Johnny Chuang
ome reason, the controller could not be enumerated successfully to be recognized by the system host. therefore, it lost touch functionality. Add quirk for skip send power-on command after reset. It will impact to ELAN touchscreen and touchpad on HID over I2C projects. Signed-off-by: Johnny Chuang -

[PATCH] HID: i2c-hid: Skip ELAN power-on command after reset

2021-04-06 Thread Johnny Chuang
ome reason, the controller could not be enumerated successfully to be recognized by the system host. therefore, it lost touch functionality. Add quirk for skip send power-on command after reset. It will impact to ELAN touchscreen and touchpad on HID over I2C projects. Signed-off-by: Joh

[PATCH] Input: elants_i2c - fix typo for an attribute to show calibration count

2020-09-15 Thread Johnny Chuang
x27; means we didn't calibrate after update firmware. If calibrate success, it will plus one and change to '0x'. Signed-off-by: Johnny Chuang --- drivers/input/touchscreen/elants_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchs

[PATCH v3] Input: elants_i2c - Report resolution of ABS_MT_TOUCH_MAJOR by FW information.

2020-08-27 Thread Johnny Chuang
this information. Signed-off-by: Johnny Chuang --- Changes in v2: - register a real resolution value from firmware, instead of hardcoding resolution value as 1 by flag. Changes in v3: - modify git log message from flag to real value. - modify driver comment from flag to real value

[PATCH v2] Input: elants_i2c - Report resolution of ABS_MT_TOUCH_MAJOR by FW information.

2020-08-26 Thread Johnny Chuang
will report touch major resolution after geting this flag. Signed-off-by: Johnny Chuang --- Changes in v2: - register real resolution instead of true/false. --- drivers/input/touchscreen/elants_i2c.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/touchscreen/elants_i2c.c

[PATCH] Input: elants_i2c - Report resolution of ABS_MT_TOUCH_MAJOR by FW information.

2020-08-24 Thread Johnny Chuang
will report touch major resolution after geting this flag. Signed-off-by: Johnny Chuang --- drivers/input/touchscreen/elants_i2c.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index b0bd5bb..513f2fd 100644

[PATCH] Input: elants_i2c: Provide an attribute to show calibration count

2020-05-06 Thread Johnny Chuang
From: Johnny Chuang There is an non-touch case by non-calibration after update firmware. Elan could know calibrate or not by calibration count. The value of '0x' means we didn't calibrate after update firmware. If calibrate success, it will plus one and change to '0x0

[PATCH v3] Input: elants_i2c - get product id on recovery mode for FW update

2016-09-23 Thread Johnny Chuang
This CL takes the responsibility for getting product/hardware id on recovery mode. It will fix firmware update script could not find correspond firmware file name on recovery mode. BTW, firmware must need to support reading product/hardware id on boot code. Signed-off-by: Johnny Chuang

[PATCH] Input: elants_i2c - get product id on recovery mode for FW update

2016-08-25 Thread Johnny Chuang
This CL takes the responsibility for getting product/hardware id on recovery mode. It will fix firmware update script could not find correspond firmware file name on recovery mode. BTW, firmware must need to support reading product/hardware id on boot code. Signed-off-by: Johnny Chuang

[PATCH] Input: elants_i2c - get product id on recovery mode for FW update

2016-08-24 Thread Johnny Chuang
This CL takes the responsibility for getting product/hardware id on recovery mode. It will fix firmware update script could not find correspond firmware file name on recovery mode. BTW, firmware must need to support reading product/hardware id on boot code. Signed-off-by: Johnny Chuang