dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property
authorFei Shao <fshao@chromium.org>
Wed, 24 May 2023 03:42:36 +0000 (11:42 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 8 Jun 2023 14:19:04 +0000 (16:19 +0200)
commit359ed24a0dd3802e703ec8071dc3b6ed446de5f0
tree3f8124caa6a5f1ab3b43ff1679da79c268926fc2
parentfa56e0e44f658085262f536bbfdfff3374b8828d
dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property

We observed that on Chromebook device Steelix, if Goodix GT7375P
touchscreen is powered in suspend (because, for example, it connects to
an always-on regulator) and with the reset GPIO asserted, it will
introduce about 14mW power leakage.

To address that, we add this property to skip reset during suspend.
If it's set, the driver will stop asserting the reset GPIO during
power-down. Refer to the comments in the driver for details.

Signed-off-by: Fei Shao <fshao@chromium.org>
Suggested-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/devicetree/bindings/input/goodix,gt7375p.yaml