Message ID | 20231222095258.33369-2-eichest@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add a property to turn off the max touch controller in suspend mode | expand |
On Fri, Dec 22, 2023 at 10:53 AM Stefan Eichenberger <eichest@gmail.com> wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > Add a new property to indicate that the device should power off rather > than use deep sleep. Deep sleep is a feature of the controller that > expects the controller to remain powered in suspend. However, if a > display shares its regulator with the touch controller, we may want to > do a power off so that the display and touch controller do not use any > power. > > Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> This LGTM: Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On 22/12/2023 10:52, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > Add a new property to indicate that the device should power off rather > than use deep sleep. Deep sleep is a feature of the controller that > expects the controller to remain powered in suspend. However, if a > display shares its regulator with the touch controller, we may want to > do a power off so that the display and touch controller do not use any > power. > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml index c40799355ed7..8de5f539b30e 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml @@ -87,6 +87,12 @@ properties: - 2 # ATMEL_MXT_WAKEUP_GPIO default: 0 + atmel,poweroff-sleep: + description: | + Instead of using the deep sleep feature of the maXTouch controller, + poweroff the regulators. + type: boolean + wakeup-source: type: boolean