linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v3 0/2] Add a property to turn off the max touch controller in suspend mode
@ 2024-02-09 10:50 Stefan Eichenberger
  2024-02-09 10:50 ` [PATCH RESEND v3 1/2] dt-bindings: input: atmel,maxtouch: add poweroff-sleep property Stefan Eichenberger
  2024-02-09 10:50 ` [PATCH RESEND v3 2/2] Input: atmel_mxt_ts - support poweroff in suspend Stefan Eichenberger
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Eichenberger @ 2024-02-09 10:50 UTC (permalink / raw)
  To: nick, dmitry.torokhov, robh+dt, krzysztof.kozlowski+dt, conor+dt,
	nicolas.ferre, alexandre.belloni, claudiu.beznea, linus.walleij
  Cc: linux-input, devicetree, linux-arm-kernel, linux-kernel,
	francesco.dolcini

Our hardware has a shared regulator that powers various peripherals such
as the display, touch, USB hub, etc. Since the Maxtouch controller
doesn't currently allow it to be turned off, this regulator has to stay
on in suspend mode. This increases the overall power consumption. In
order to turn off the controller when the system goes into suspend mode,
this series adds a device tree property to the maxtouch driver that
allows the controller to be turned off completely and ensurs that it can
resume from the power off state.

Resend v3:
- Previously I messed up the series because send-email crashed. This is
  a resend of the original series:
  https://lore.kernel.org/linux-input/20240209084543.14726-1-eichest@gmail.com/T/#t
  https://lore.kernel.org/linux-input/20240209084818.14925-1-eichest@gmail.com/T/#u

Changes since v2:
- Add Reviewed-by tags from Linus and Krzysztof to the dt-bindings patch

Changes since v1:
- Rename the property and change the description (Krzysztof, Linus,
Dmitry, Conor)

Stefan Eichenberger (2):
  dt-bindings: input: atmel,maxtouch: add poweroff-sleep property
  Input: atmel_mxt_ts - support poweroff in suspend

 .../bindings/input/atmel,maxtouch.yaml        |  6 ++
 drivers/input/touchscreen/atmel_mxt_ts.c      | 72 ++++++++++++++-----
 2 files changed, 61 insertions(+), 17 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-05  8:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-09 10:50 [PATCH RESEND v3 0/2] Add a property to turn off the max touch controller in suspend mode Stefan Eichenberger
2024-02-09 10:50 ` [PATCH RESEND v3 1/2] dt-bindings: input: atmel,maxtouch: add poweroff-sleep property Stefan Eichenberger
2024-02-09 10:50 ` [PATCH RESEND v3 2/2] Input: atmel_mxt_ts - support poweroff in suspend Stefan Eichenberger
2024-03-15 18:51   ` Dmitry Torokhov
2024-04-05  8:15     ` Stefan Eichenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).