From patchwork Thu Mar 23 13:52:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maximilian Weigand X-Patchwork-Id: 666394 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9595BC76195 for ; Thu, 23 Mar 2023 13:53:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231908AbjCWNw7 (ORCPT ); Thu, 23 Mar 2023 09:52:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbjCWNw4 (ORCPT ); Thu, 23 Mar 2023 09:52:56 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15FDB26CC5; Thu, 23 Mar 2023 06:52:52 -0700 (PDT) Received: from koko.localdomain ([89.1.213.94]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MjjKf-1qM8600U0p-00lCww; Thu, 23 Mar 2023 14:52:47 +0100 From: Maximilian Weigand To: Linus Walleij , Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Maximilian Weigand , Alistair Francis Subject: [PATCH 5/6] devicetree: input: cypress,tt21000: add wakeup-source entry to documentation Date: Thu, 23 Mar 2023 14:52:04 +0100 Message-Id: <20230323135205.1160879-6-mweigand@mweigand.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230323135205.1160879-1-mweigand@mweigand.net> References: <20230323135205.1160879-1-mweigand@mweigand.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:b3r0ZYyInXa19U1aLlkg64sS922exnyPcnGdVPzW36yPBPehFUk y9ERr+Ts+4ZxNd+0QglLwufcGlwUbkaHRYjxX46/zkryfreRxUy0mwfd+YdFL2YS5SbciNZ I09CSXF5IWfdU4ODvY5VhlXRtokqArMIB6Gq2I0BTeYt1OJXZFOXluWWXVM33z61HOcDNa8 Rq8u5BNguDiLm9WMFboog== UI-OutboundReport: notjunk:1;M01:P0:iEAOO3st3Uc=;KYadPSUtVnzgubKGGqN25wMHyYM yqExI3Q1T1r9e6A9tBIQQUIzKh2Q7XJCFH4+HjjMCXeneypqL3AFyTZ6WrNOesvSIGwziaDlP X9Bm7ituvmj+fulOMXdvmsT1+HoQNq8gfFECsHovtSVRopjGvv0eSc7Dw9KE4O3sh5V94fMr4 oKKSMs3+amJzu/K8wJGCM3JMr32jOj0fHoA2O+NwjrjY7EqEba6U5Iu2Sjm09dAzja1GWpp6V 2ow4RlN6MZqkTrIV5NgBnOZtlBV147u9/I/R3h6z/v+3XNiXHeo2WcmpS4qb2StxARFeLBs63 HSTzwtLEMX6QrsAj05dlxyQdRrQWdqp7EUHS7AhZty8YWfHDTanWRades6IXfdh6iJISqYPQk iIM0Ln90Bs2L5anvzal1P9WruvPkWePwVwXNGJ3hHIypsBSt3MZ7+MkSuGYrKwCk1KohuPZgD Qx01+mCFOt8OpN3mqD228J9kNS+BM2cTaM0i0XLCqN8qGPrU/bTjuewA41S3G9SDSidwYVD3V eWlwSL2PGplqh5pksa6s3XnllB1ncF7ZTDqUEbXDFdVAEzJhSRXVyffPAvnGfk2Sq43s7i/Y+ L2Z9a0ZO37rjL41xW4s8Rqip4UlOg/YuM9SlGVptc6zftpWAmC5A414pBp6qJztgKn+P+Rs4F 12oY7+LtMrXE+uQ8VTsnzohBeisZaPRg7PzxT7k2ug== Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The touchscreen can be used to wake up systems from sleep and therefore the wakeup-source entry should be included in the documentation. Signed-off-by: Maximilian Weigand Reviewed-by: Alistair Francis Reviewed-by: Linus Walleij --- .../devicetree/bindings/input/touchscreen/cypress,tt21000.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml b/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml index a77203c78d6e..e2da13b7991d 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml @@ -40,6 +40,8 @@ properties: linux,keycodes: description: EV_ABS specific event code generated by the axis. + wakeup-source: true + patternProperties: "^button@[0-9]+$": type: object