From patchwork Thu Aug 5 05:12:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 492992 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2AEEC4338F for ; Thu, 5 Aug 2021 05:12:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 999EC610FC for ; Thu, 5 Aug 2021 05:12:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236934AbhHEFNB (ORCPT ); Thu, 5 Aug 2021 01:13:01 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:45643 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbhHEFNA (ORCPT ); Thu, 5 Aug 2021 01:13:00 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 3D2902B00469; Thu, 5 Aug 2021 01:12:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 05 Aug 2021 01:12:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=ixJR37E3oo8sQ iV9OOsAEkbJU5R3uGTBiHNDIg4hTj4=; b=f5xPgc/svR7u+AnQJLJioXq5EVJp2 Bpf3T95ht1J5TS2Ls54wnxwA86uEPGs1As7pj2HKdX4e+xeO/p+RA9LCN/WUD1dV CWuWoX2IpfmqNVHPxcTJaokF9ILavIhxXDH4LfZ9jTYYSFsSJtbVr1emb9J/z9Az Y9WDfInsGgGel0oVHbcfbiQ+WHD7UpYappxhhfnMDCL1CNQW+K5xsg+PaOJh/bWF RQEzTWTvoJ0Uoctt2wcY0YsENQMCqo6CRUbCc+E3JpyCCuTM6y2CAJ9p1P6uBB62 QxEZpbFnABNQnU8lOHeZE3fh+2xaQOtnhzsbOr6cn3HM82VQ7HaNZb0Ww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=ixJR37E3oo8sQiV9OOsAEkbJU5R3uGTBiHNDIg4hTj4=; b=kUrkrwLU ipD195MpxKq4j10oaNlyFcBPCGwqWI9naZYYUMVf/j5T+dw+uBvq8GEx1xOP5bAJ pxOrFPAIHyTCnLZfH6xvi7U731cSDjKsRZ/LSVEhfmPi8lb+y0lyK/i4dvGzUYnU gKzyEmyKDNUXu+aTLPONz1TtZ739dEL3P+vvL96Tgxv/D7CaAEnFyrLUsl3mVR/K 0mWWpICqn25Mcm7yA5SfXl8FqyH/d6jQE/mQ2n6tLHtorRMshLRrJBsFVVTPQhdy xA2YPmgxYSZ8H5YH5wPgNyXJlAjN4J+ukau/FerE9VM+5E+ZUcdYOmRA300fDgQL 7yAnsiWXZcXZ5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieekgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheejvdfg jeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Aug 2021 01:12:45 -0400 (EDT) From: Samuel Holland To: Dmitry Torokhov Cc: Hans de Goede , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Samuel Holland , Rob Herring Subject: [PATCH resend v3 1/2] dt-bindings: sun4i-a10-lradc-keys: Accept wakeup-source property Date: Thu, 5 Aug 2021 00:12:40 -0500 Message-Id: <20210805051241.47168-2-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210805051241.47168-1-samuel@sholland.org> References: <20210805051241.47168-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The LRADC provides an interrupt that can be used to wake the system. Signify this by accepting a "wakeup-source" property in the binding. Acked-by: Rob Herring Acked-by: Maxime Ripard Reviewed-by: Hans de Goede Signed-off-by: Samuel Holland --- .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml index cffd02028d02..d74f2002409e 100644 --- a/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml +++ b/Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml @@ -29,6 +29,8 @@ properties: description: Regulator for the LRADC reference voltage + wakeup-source: true + patternProperties: "^button-[0-9]+$": type: object