dt-bindings: input: tm2-touchkey: document vddio-supply
authorStephan Gerhold <stephan@gerhold.net>
Thu, 10 Dec 2020 03:37:46 +0000 (19:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 10 Dec 2020 03:47:10 +0000 (19:47 -0800)
commit3e730ec11d51283ad62a98436967c01b718132ab
tree7796c4fc3d6d41b87e29f1293cfc6d0da2e63c69
parent31a10f5b4b9ff323668c37173695ea463fc89863
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>
Documentation/devicetree/bindings/input/cypress,tm2-touchkey.yaml