public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] dt-bindings: input: touchscreen: ti,tsc2005: Add wakeup-source
@ 2026-04-03  4:07 phucduc.bui
  0 siblings, 0 replies; only message in thread
From: phucduc.bui @ 2026-04-03  4:07 UTC (permalink / raw)
  To: robh
  Cc: conor+dt, conor, devicetree, dmitry.torokhov, krzk+dt, krzk,
	linux-input, linux-kernel, marex, mingo, phucduc.bui, tglx

From: bui duc phuc <phucduc.bui@gmail.com>

Document the "wakeup-source" property for the ti,tsc2005 touchscreen
controllers to allow the device to wake the system from suspend.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
---

changes:
v4: Drop redundant "type: boolean" for wakeup-source to use the core 
    definition from dt-schema (as suggested by Rob Herring).
v3: Remove blank lines (suggested by Conor).
v2: Revise the commit content and remove patch1 related to I2C and SPI 
wakeup handling
 .../devicetree/bindings/input/touchscreen/ti,tsc2005.yaml     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
index 7187c390b2f5..c06a85b74533 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
@@ -55,6 +55,8 @@ properties:
   touchscreen-size-x: true
   touchscreen-size-y: true
 
+  wakeup-source: true
+
 allOf:
   - $ref: touchscreen.yaml#
   - if:
@@ -97,6 +99,7 @@ examples:
 
             ti,x-plate-ohms = <280>;
             ti,esd-recovery-timeout-ms = <8000>;
+            wakeup-source;
         };
     };
   - |
@@ -124,5 +127,6 @@ examples:
 
             ti,x-plate-ohms = <280>;
             ti,esd-recovery-timeout-ms = <8000>;
+            wakeup-source;
         };
     };
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-03  4:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03  4:07 [PATCH v4] dt-bindings: input: touchscreen: ti,tsc2005: Add wakeup-source phucduc.bui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox