From patchwork Wed Jul 21 14:03:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 483476 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, USER_AGENT_GIT autolearn=ham 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 D2E06C636CE for ; Wed, 21 Jul 2021 14:05:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFDA761249 for ; Wed, 21 Jul 2021 14:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238958AbhGUNYf (ORCPT ); Wed, 21 Jul 2021 09:24:35 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:34301 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238984AbhGUNYe (ORCPT ); Wed, 21 Jul 2021 09:24:34 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 182CE58046C; Wed, 21 Jul 2021 10:05:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 21 Jul 2021 10:05:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=26adQT9dCZxNU s/Gjs9fuH+COg9+TAHjJyWh+QJ85Qg=; b=gEVRAN8Wig5shuNfNhkZ75L14Lvfq G5gnaUe/u+ryEKGDjcLooC77CJqFW37BMOnEuA9uX7jNpFRXGPEK1hWJaBJylb8n H+fiOugiqHgoGP/SC5UTVTCK31SX0kZRrNmWyBeRbPGaNv5z+QeINn5ZcVA2i7KW NludL6wWnkGC2aYcv+sSVViozf0OXZZ2nAxkofwBGlONkLEYWomsF9mGKgEr8Cr8 LkaYhZnyUPOjvyzeQ8xK6c6J+gMbN8YN6v/N+/C3rxiMkA+SuO7Ku+aVPWFdD2Nq mHb8TJPN2wLRV0F1k6WviI07bR89Gz8PTlzB03x/EJYiux1/U7vwMMkww== 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=26adQT9dCZxNUs/Gjs9fuH+COg9+TAHjJyWh+QJ85Qg=; b=QFPf1W45 aiuzRoQoaPajz2ipRtLCIKfeHz66TiJKRD5Ao+egn6MgEFilSt0Y91hH3G8UJ4GD 8nofLCjIPJNxsZYAmuxiPXW5L0iTQ+beeEY8Kt9VKlKGWMuwFO9opOCkv9ZZvt3L GB1rthOa+rscG0rCfrdi77cg377qpGk3ptMyC0tEyLrGnlWVZ7eSM0Oq9rdYOPl/ Q+jtJIyCv3QxULgBuq1Y22PpmCQ3POXs+eHawqz5uxE+qsPuXV7eswS7aDBfev7P w1/nD7FGB7ZxuaODjrhkNPLXz2a9nglHVff/xrI5y6rUacjB05/zhVpniAnoCVp8 7r7qJeU7JcLVYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeggdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg igihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jul 2021 10:05:10 -0400 (EDT) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , devicetree@vger.kernel.org, Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Dmitry Torokhov , Hans de Goede , linux-input@vger.kernel.org Subject: [PATCH 20/54] dt-bindings: input: sun4i-lradc: Add wakeup-source Date: Wed, 21 Jul 2021 16:03:50 +0200 Message-Id: <20210721140424.725744-21-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210721140424.725744-1-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The LRADC can be a wakeup source and is listed as such in some DT already. Let's make sure we allow that property in the binding. Cc: Dmitry Torokhov Cc: Hans de Goede Cc: linux-input@vger.kernel.org Signed-off-by: Maxime Ripard Reviewed-by: Rob Herring --- .../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