]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitadf38d9f0b4634fdd76b0f0edf9881b423fd2048
tree0696f0bc1507b71483e0eb9f4ccea36fc33815bc
parent6a62e6e2092015e6e56b51936ea94fa72f100d09
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