From patchwork Mon May 1 11:30:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maximilian Weigand X-Patchwork-Id: 13227454 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 D37FDC7EE22 for ; Mon, 1 May 2023 11:31:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232255AbjEALbV (ORCPT ); Mon, 1 May 2023 07:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232192AbjEALbS (ORCPT ); Mon, 1 May 2023 07:31:18 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 381121731; Mon, 1 May 2023 04:31:07 -0700 (PDT) Received: from koko.localdomain ([213.196.213.13]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MOzKm-1pd2v041EK-00PKCW; Mon, 01 May 2023 13:30:59 +0200 From: Maximilian Weigand To: Linus Walleij , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Maximilian Weigand , Alistair Francis Subject: [PATCH v2 5/6] dt-bindings: input: cypress,tt21000 - add wakeup-source entry to documentation Date: Mon, 1 May 2023 13:30:09 +0200 Message-Id: <20230501113010.891786-6-mweigand@mweigand.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230501113010.891786-1-mweigand@mweigand.net> References: <20230501113010.891786-1-mweigand@mweigand.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:K12RZay6xcOkocB4SCgqAg9ozfRV1XCB0ieaU5zXhREJ55ndb0W YABy3DAEGMpJYRlfBip2FVYbhlZLPaqfjn4oT1+73SMNth7FCE4KSRiVhp7Vsx24hpqWfKH HS2T8+WVjrQ3e7ATyhH1Z+PhQv7Ht8W4FoOJ6cxqUZmfe/PkuEzTK5/rQAdNZPIRAugs7Jn fgeHXLkROMwPKlyQRZ7Jg== UI-OutboundReport: notjunk:1;M01:P0:03PkLQoI9ZI=;IYEV2oX7Q9E3svd43HzMYF+xtsn gi2vcj3wCARtXcT1CY1EG22Yh+u/ft2Co74Kens6W0ZZylEZ9JQysdMvkC8E4/veR3hs63lS3 7JtP6/582ZdVX12SVd5SPHWiMtmeCHeDGW2xoUTVwHWNudQEKiYWNCzqRjaKvOeBTf6yc3Jky gr5lHBJ7wY/bR35fAv5rmQijvdokQpcu6KXIQ0VcYJb8MVea3/ddMocoYw9/C9kJBuMO3glAw Umgo/bQWn9KTj32780fXbsmIHHBH5vePW3G59rsmC4l3QCh8BuA9RlsoaYfmzWvSxPDXuJI5F lmRO93GjHu7HFCprE0TJRqFsJ6ww/vkPEpfmA8a02zlOR4lPCNW7cwMJoX3UZxcsUC1n1QPBV YfD7FbNFNReeTa5J8ZyTcudPH+1oJK6gNX0E4X5nTbn+dD8at+MdySuEpF8hSGLGK31OnNQIX EMkDGmNWoGknD39Ec2qe9R2aU3CaWvcNPGJJ9p8h+Jx5/gVRRYZbhqaDQ5Dxr9o+uuWGj/MyG /wOGB1ZLBRb4qAz2+GggfwwalzuAGhSaBKCNZ1Isba7TgaRfB8AACygcQ1+xq/mPR67MJvXA4 2LykuBKOSfP8/RBfWkvvukZp83e3kFWF4/Lw7LYTjQrhYta7mlJC1XB1i+Z+nlWjiH2CCORxV RCSpl+lH9Un0Nsf6ll6fax71cqrZi0e54NGFqml8bg== 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