From: bui duc phuc <phucduc.bui@gmail.com>
The tsc200x driver uses the "wakeup-source" device tree property to
determine whether the device should be configured as a system wakeup
source.
In the driver, this property is read with:
device_init_wakeup(dev,
device_property_read_bool(dev, "wakeup-source"));
Document this property in the binding to make it visible to DT schema
validation tools and to clarify its usage in device tree descriptions.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
---
.../devicetree/bindings/input/touchscreen/ti,tsc2005.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
index 7187c390b2f5..c0aae044d7d4 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml
@@ -55,6 +55,9 @@ properties:
touchscreen-size-x: true
touchscreen-size-y: true
+ wakeup-source:
+ type: boolean
+
allOf:
- $ref: touchscreen.yaml#
- if:
@@ -97,6 +100,8 @@ examples:
ti,x-plate-ohms = <280>;
ti,esd-recovery-timeout-ms = <8000>;
+
+ wakeup-source;
};
};
- |
@@ -124,5 +129,7 @@ examples:
ti,x-plate-ohms = <280>;
ti,esd-recovery-timeout-ms = <8000>;
+
+ wakeup-source;
};
};
--
2.43.0
On Mon, Mar 09, 2026 at 06:00:43PM +0700, phucduc.bui@gmail.com wrote: > From: bui duc phuc <phucduc.bui@gmail.com> > > The tsc200x driver uses the "wakeup-source" device tree property to > determine whether the device should be configured as a system wakeup > source. > > In the driver, this property is read with: > > device_init_wakeup(dev, > device_property_read_bool(dev, "wakeup-source")); Write your commit messages independent of the Linux driver. > > Document this property in the binding to make it visible to DT schema > validation tools and to clarify its usage in device tree descriptions. > > Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> > --- > .../devicetree/bindings/input/touchscreen/ti,tsc2005.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml > index 7187c390b2f5..c0aae044d7d4 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml > +++ b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2005.yaml > @@ -55,6 +55,9 @@ properties: > touchscreen-size-x: true > touchscreen-size-y: true > > + wakeup-source: > + type: boolean > + > allOf: > - $ref: touchscreen.yaml# > - if: > @@ -97,6 +100,8 @@ examples: > > ti,x-plate-ohms = <280>; > ti,esd-recovery-timeout-ms = <8000>; > + > + wakeup-source; > }; > }; > - | > @@ -124,5 +129,7 @@ examples: > > ti,x-plate-ohms = <280>; > ti,esd-recovery-timeout-ms = <8000>; > + > + wakeup-source; > }; > }; > -- > 2.43.0 >
Hi Rob, > Write your commit messages independent of the Linux driver. Thanks for the feedback. I will rewrite the commit message to focus on the hardware description and formalizing the binding, and remove references to the Linux driver implementation. I will send a v2 shortly with this change. Best regards, Phuc
© 2016 - 2026 Red Hat, Inc.