Input: cyttsp - obtain regulators
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 26 May 2021 23:35:11 +0000 (16:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 26 May 2021 23:59:00 +0000 (16:59 -0700)
commit6cf3b3abbf0b3b778138c0f8936aa7820af62cfc
tree0696f0bc1507b71483e0eb9f4ccea36fc33815bc
parent007704c99f52e22cd93bcc16c610d7c1a41fd9cd
Input: cyttsp - obtain regulators

The CYTTSP TMA340 chips have two supplies: VCPIN and
VDD for analog and digital voltage respectively.
Add some minimal code to obtain and enable these
regulators if need be.

Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210526230352.1433537-3-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_core.c
drivers/input/touchscreen/cyttsp_core.h