[PATCH] Input: wdt87xx_i2c - support new controller WDT8752

2016-09-09 Thread hn.chen
From: HungNien Chen To support WDT8752 is main modification of this version and description as below: 1. Add definitions for WDT8752. 2. Modify wdt87xx_get_param to have the right method to communicate with the controller. Also add wdt87xx_get_param_hid for retrieving parameters from the controll

[PATCH] HID: modify quirks of i2c-hid driver for weida's devices

2019-08-30 Thread hn.chen
From: HungNien Chen This 'SET_PWR_WAKEUP_DEV' quirk only works for weida's devices with pid 0xC300 & 0xC301. Some weida's devices with other pids also need this quirk now. Use 'HID_ANY_ID' instead of 0xC300 to make all of weida's devices can be fixed on the power on issue. This modification shoul

[PATCH] Input: modify quirks of i2c-hid driver for weida's devices

2019-08-27 Thread hn.chen
From: HungNien Chen This 'SET_PWR_WAKEUP_DEV' quirk only works for weida's devices with pid 0xC300 & 0xC301. Some weida's devices with other pids also need this quirk now. Use 'HID_ANY_ID' instead of 0xC300 to make all of weida's devices can be fixed on the power on issue. This modification shoul

[PATCH] HID: hid-multitouch: change for touch height/width

2017-03-03 Thread hn.chen
From: HungNien Chen This change is from Jonathan Clarke and have been discussed in previous thread(2017/01/24). Just doing a slight change in quirk name from Benjamin's comment. Signed-off-by: HungNien Chen --- drivers/hid/hid-multitouch.c | 18 ++ 1 file changed, 14 insertions

[PATCH] HID: hid-multitouch: change for touch height/width

2017-03-05 Thread hn.chen
From: HungNien Chen Just quote from Jonathan Clarke in previous thread(2017/01/24): "This division by 2 was added along with the touch width/height fields 6 years ago so that those fields 'match the visual scale of the touch' for a specific device (3M PCT)" "The scaling is also discarding informa

[PATCH] Input: wdt87xx_i2c - fix the flash erase issue

2016-09-05 Thread hn.chen
From: HungNien Chen Flash erase wait 50ms for the operation completed in last driver. It will take risk since the spec says the typical is 30ms but the max is 200ms. Replace the value with 200ms for safty. Signed-off-by: HungNien Chen --- drivers/input/touchscreen/wdt87xx_i2c.c | 5 +++-- 1 fi