]> git.baikalelectronics.ru Git - kernel.git/commit
Input: goodix - add regulators suppot
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 3 Apr 2019 22:20:26 +0000 (15:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Apr 2019 23:10:42 +0000 (16:10 -0700)
commit309299c8a03016430ea8f2149a74f1831ac6eddc
treebda65aa2969e515cce8a5ca9842ff06f7bfff23a
parent3df0d493e64de1bf844947110daff908632c3dbb
Input: goodix - add regulators suppot

Goodix CTP controllers require AVDD28, VDDIO regulators for power-on
sequence.

The delay between these regualtor operations as per Power-on Timing
from datasheet[1] is 0 (T1 >= 0 usec).

So, enable and disable these regulators in proper order using normal
regulator functions without any delay in between.

[1] GT5663 Datasheet_English_20151106_Rev.01

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/goodix.txt
drivers/input/touchscreen/goodix.c