On 15/03/2026 18:09, David Heidelberg wrote: > 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.
But that's not role of this device. You cannot just hook random GPIOs into this device node, just because you want some use-case in the driver. Best regards, Krzysztof

