[PATCH] Input: elan_i2c - Add ic type 0x15.

2020-07-30 Thread Jingle Wu
The update firmware flow of ic type 0x15 is same with ic type 0x14. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index

[PATCH 2/2] Input: elan_i2c - Modify the IAP related function for page sizes 128, 512 bytes.

2020-07-14 Thread Jingle Wu
Get the correct value of ic_type for old and new firmware. Add page sizes 128, 512 bytes for update firmware flow. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 7 +- drivers/input/mouse/elan_i2c_core.c | 46 ++- drivers/input/mouse/elan_i2c_i2c.c | 115

[PATCH 1/2] Input: elan_i2c - Add ic type 0x11, 0x13, 0x14.

2020-07-14 Thread Jingle Wu
Add ic type 0x11, 0x13, 0x14 page sizes for update firmware. Signed-off-by: Jingle Wu . --- drivers/input/mouse/elan_i2c_core.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 3f9354baac4b..e90beada0ecf

[PATCH 2/2] Input: elan_i2c - High resolution report for new pattern 2.

2020-07-09 Thread Jingle Wu
in the report packet. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 7 +- drivers/input/mouse/elan_i2c_core.c | 134 +++ drivers/input/mouse/elan_i2c_i2c.c | 48 +++--- drivers/input/mouse/elan_i2c_smbus.c | 14 ++- 4 files changed, 170 insertions

[PATCH 1/2] Input: elan_i2c - Add ic type 0x11 0x13 0x14.

2020-07-09 Thread Jingle Wu
Modify the iap method for all IC. Get the correct value of ic_type for old and new pattern of firmware. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 6 +- drivers/input/mouse/elan_i2c_core.c | 52 - drivers/input/mouse/elan_i2c_i2c.c | 109

[PATCH] Input: elan_i2c - Add ic type 0x14, modify the iap method for all IC.

2020-07-02 Thread Jingle Wu
The 0x14 is 512 page size. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 3 ++- drivers/input/mouse/elan_i2c_core.c | 16 drivers/input/mouse/elan_i2c_i2c.c | 24 drivers/input/mouse/elan_i2c_smbus.c | 2 +- 4 files changed