devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] feat: Add 'hold-in-reset-in-suspend' property to goodix touchscreen binding
@ 2023-03-11 13:46 Jan Jasper de Kroon
  2023-03-12 11:42 ` Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Jan Jasper de Kroon @ 2023-03-11 13:46 UTC (permalink / raw)
  To: devicetree; +Cc: Jan Jasper de Kroon

This patch adds a new property, 'hold-in-reset-in-suspend', to the Goodix touchscreen
device tree binding. When set to true, the touchscreen controller will be held in
reset mode during system suspend, reducing power consumption. The property is optional
and defaults to false if not present.

I am submitting this patch to the Device Tree mailing list to add a new property to
the Goodix touchscreen device tree binding. This patch supplements a related patch
sent to the linux-input mailing list, which updates the Goodix touchscreen driver to
use this new property.
The linux-input patch can be found at:
https://lore.kernel.org/all/20230311131534.484700-1-jajadekroon@gmail.com/

Signed-off-by: Jan Jasper de Kroon <jajadekroon@gmail.com>
---
 .../devicetree/bindings/input/touchscreen/goodix.yaml    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
index 3d016b87c8df..a7c3d6b5156a 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.yaml
@@ -56,6 +56,14 @@ properties:
   touchscreen-size-y: true
   touchscreen-swapped-x-y: true
 
+  hold-in-reset-in-suspend:
+    type: boolean
+    description: |
+      When set to true, the touchscreen controller will be held in reset mode
+      during system suspend. This can help reduce power consumption, but may
+      cause the touchscreen to take longer to resume when the system is woken
+      up from suspend. Defaults to false if not present.
+
 additionalProperties: false
 
 required:
@@ -75,6 +83,7 @@ examples:
         interrupts = <0 0>;
         irq-gpios = <&gpio1 0 0>;
         reset-gpios = <&gpio1 1 0>;
+        hold-in-reset-in-suspend = <true>;
       };
     };
 
-- 
2.34.3


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

end of thread, other threads:[~2023-03-19 18:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-11 13:46 [PATCH] feat: Add 'hold-in-reset-in-suspend' property to goodix touchscreen binding Jan Jasper de Kroon
2023-03-12 11:42 ` Krzysztof Kozlowski
2023-03-12 18:31 ` [PATCH v2 1/2] dt-bindings: input: touchscreen: Add 'hold-in-reset-in-suspend' property to goodix Jan Jasper de Kroon
2023-03-14 17:47   ` Krzysztof Kozlowski
2023-03-16 15:41     ` Jan Jasper de Kroon
2023-03-16 19:24       ` Krzysztof Kozlowski
2023-03-16 15:29   ` [PATCH v3 1/2] dt-bindings: input: touchscreen: Add 'goodix-hold-in-reset' property to Goodix Jan Jasper de Kroon
2023-03-16 19:25     ` Krzysztof Kozlowski
2023-03-17 10:39       ` Jan Jasper de Kroon
2023-03-19 14:09         ` Krzysztof Kozlowski
2023-03-19 16:38           ` Jan Jasper de Kroon
2023-03-19 18:31             ` Krzysztof Kozlowski
2023-03-14 14:10 ` [PATCH] feat: Add 'hold-in-reset-in-suspend' property to goodix touchscreen binding Rob Herring
2023-03-14 17:16   ` Jan Jasper de Kroon
2023-03-16 15:47 ` [PATCH v3 1/2] dt-bindings: input: touchscreen: Add 'goodix-hold-in-reset' property to Goodix Jan Jasper de Kroon
2023-03-16 19:26   ` Krzysztof Kozlowski

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).