ANDROID: input: elan_i2c: add elan touchpad driver
authorCaesar Wang <wxt@rock-chips.com>
Tue, 25 Aug 2015 10:09:53 +0000 (18:09 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Tue, 1 Sep 2015 03:11:47 +0000 (11:11 +0800)
commit5e3d6ba5d843eec107cebe94f51fdda616d0c504
tree9d984ffae87980db710e8c792395b0e15751896c
parent2f76476339641da23b156e5546c182e67daa93ab
ANDROID: input: elan_i2c: add elan touchpad driver

SMbus and I2C handling from driver core into separate
transport modules and makes them optional.

This driver pick up from chromium 3.14-kernel
Here is the URL:
https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v3.14

----Note a bit different-----
we can easy replace the reinit_completion(completion);
with "completion->done = 0" in driver.

Change-Id: Idf373a502faea7913889f4a2f14ba71cae0da5b8
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
drivers/input/mouse/Kconfig
drivers/input/mouse/Makefile
drivers/input/mouse/elan_i2c.h [new file with mode: 0644]
drivers/input/mouse/elan_i2c_core.c [new file with mode: 0644]
drivers/input/mouse/elan_i2c_i2c.c [new file with mode: 0644]
drivers/input/mouse/elan_i2c_smbus.c [new file with mode: 0644]