Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: tm2-touchkey: document vddio-supply

The Samsung touchkey controllers are often used with external pull-up
for the interrupt line and the I2C lines, so we might need to enable
a regulator to bring the lines into usable state. Otherwise, this might
cause spurious interrupts and reading from I2C will fail.

Document support for a "vddio-supply" that is enabled by the tm2-touchkey
driver so that the regulator gets enabled when needed.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201203131242.44397-2-stephan@gerhold.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Stephan Gerhold and committed by
Dmitry Torokhov
3e730ec1 31a10f5b

+5
+5
Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml
··· 37 37 vcc-supply: 38 38 description: Optional regulator for MCU, 1.8V-3.3V (depending on MCU). 39 39 40 + vddio-supply: 41 + description: | 42 + Optional regulator that provides digital I/O voltage, 43 + e.g. for pulling up the interrupt line or the I2C pins. 44 + 40 45 linux,keycodes: 41 46 minItems: 1 42 47 maxItems: 4