Re: [PATCH v2] dt-bindings: input: touchscreen: ti,tsc2005: Add wakeup-source
From: Bui Duc Phuc <hidden>
Date: 2026-03-18 02:30:51
Also in:
linux-input, lkml
Hi Conor, Krzysztof, Thanks for the review. I will remove the extra blank line in the next version. As for the wakeup-source property, I'll keep it as a boolean as per the current patch. Best Regards, Phuc On Tue, Mar 17, 2026 at 7:14 PM Conor Dooley [off-list ref] wrote:
On Mon, Mar 16, 2026 at 06:10:23PM +0100, Krzysztof Kozlowski wrote:quoted
On 16/03/2026 12:13, Conor Dooley wrote:quoted
On Mon, Mar 16, 2026 at 10:46:06AM +0700, phucduc.bui@gmail.com wrote:quoted
From: bui duc phuc <redacted> 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 <redacted> --- .../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: booleanwakeup-source: trueI am not so sure. The property is multi-type, so we want to choose one - bool, IMO, because device cannot wakeup the specific system idle states. Or am I misinterpreting the phandles behind wakeup-source and every device can be differently routed in such system?I checked before my original comment, and there there's a bout a 2:1 ratio of defined v true. I suppose my comment can be ignored, I am just used to this always being true.