]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Aug 2023 15:32:27 +0000 (17:32 +0200)
commitb5f4d1915090e8754bc1096ba1fe67b13201a8d5
treeef333ca708a4f33e1dd2011338d795c3bab8ffd2
parent973e0890e5264cb075ef668661cad06b67777121
dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property

[ Upstream commit 359ed24a0dd3802e703ec8071dc3b6ed446de5f0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/devicetree/bindings/input/goodix,gt7375p.yaml