Input: elants_i2c - wire up regulator support
authorDmitry Torokhov <dtor@chromium.org>
Fri, 17 Apr 2015 01:14:55 +0000 (18:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 7 Aug 2015 21:55:38 +0000 (14:55 -0700)
commitafe10358e47a3ea1f69005cb1be78170d23f8afa
tree19a12ac47685bd1ca2ab85ef8ee3306ee05ea2cb
parent00159f19a5057cb779146afce1cceede692af346
Input: elants_i2c - wire up regulator support

Elan touchscreen controllers use two power supplies, vcc33 and vccio,
and we need to enable them before trying to access the device. On X86
firmware usually does this, but on ARM it is usually left to the kernel.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Scott Liu <scott.liu@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/elants_i2c.txt
drivers/input/touchscreen/elants_i2c.c