Thread (8 messages) 8 messages, 4 authors, 2023-03-16

Re: [PATCH v2] input: touchscreen: goodix: Hold controller in reset during suspend

From: Jarrah <hidden>
Date: 2023-03-13 00:44:43

On 3/12/23 00:15, Jan Jasper de Kroon wrote:
From: Ondřej Jirman <megi@xff.cz>

The Goodix touchscreen controller used in PinePhone is not properly
suspended during system sleep, leading to high power consumption. This
commit modifies the driver to hold the controller in reset during
system sleep, reducing power consumption by around 40mW.

The original patch also disabled the regulators during system sleep, but
this could cause issues with other peripherals attached to the same power
supplies. Hence, this commit only holds the controller in reset during
system sleep and does not attempt to power it off.

A separate commit adds a new device tree property "hold-in-reset-in-suspend"
to control the hold-in-reset behavior of the controller during system sleep.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
Signed-off-by: Jan Jasper de Kroon <redacted>

Tested-by: Jarrah Gosbell <redacted>


Thank you for upstreaming these,

Jarrah.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help