Re: [PATCH 08/10] dt-bindings: input: touchscreen: st,stmfts: Introduce STM FTS5
From: David Heidelberg
Date: Sun Mar 15 2026 - 13:11:11 EST
On 01/03/2026 23:40, Dmitry Baryshkov wrote:
[...]
+ then:
+ properties:
+ switch-gpio:
+ description: Switch between SLPI and AP mode.
This doesn't sounds like the GPIO on the touchscreen, more like the
external schematic component. If it need sto be turned to one position,
it might be better to use GPIO hog for that.
Right now yes, but the GPIO serves to switching between SLPI and AP mode at runtime, see [1]
The driver lack supports for SLPI, but at moment when SLPI support lands, we should be able do something like:
-> device starts, touchscreen works
-> screen goes to sleep, but instead of powering off touchscreen, it switches to SLPI mode
-> user taps at touchscreen, device wakes up
Thus I think we need to support this GPIO in the driver.
David
+
+ required:
+ - switch-gpio
+
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
--
2.51.0
--
David Heidelberg