Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2357731rdb; Thu, 21 Sep 2023 16:56:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKomvmQH0xnlAAUcfaSIt5vpYzpfVmGTXVIOD2eDS+5+XnlQTU1KB274AFobUogLKJ8WDE X-Received: by 2002:a05:6a00:851:b0:68a:5e5b:e450 with SMTP id q17-20020a056a00085100b0068a5e5be450mr7387201pfk.26.1695340563420; Thu, 21 Sep 2023 16:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695340563; cv=none; d=google.com; s=arc-20160816; b=Psv1x3Bu44S8YPrqV7vIm3FAy8xYRkaOUWUpnkiDvjMNoSRyEP8cY26Rvtmzs5w5Kg NEiXDeVZsCFFGiUXXXvEkV329SRiQHVsPBuB7TY77UpJCBqdLZtBT5HtLLrGJyfch6ff A1lI8kITEmLpipM669EvrnVDvpqW2SnQIHj1x0trxblk6fGwK+sHm4iVIrtsktAvdkGg AZCS6IQD/639YAHWexuZKZwXvKIEDhaZJHf5xEkjpAQkXTkjD6BPUXyy0D7M1o+9wSsf Z3m6qC7eiSlaf6AO/0TwKR//ZbyvM443xmtiTdu18LIfSfXnvbd22W/SkzMTsm28AqsY IwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HspZ9FGg5qNhPX3FPfCnYYZSQLDNf6luZfAfYZvWn7I=; fh=8qiJXufp6JDWlVlNWx6CYCUWpCbPPIFBYijc6NLLWfk=; b=r7fqvtc+FjGH3wfSgs2F572h45RfX5oLJ/CdlTARVUpWrUC/vvAWOwB/KgsTSq5CER bx16ytrEXKdDaLKZjgasJUNyCJjKzBEDfHJD/AM9YmzzB8O9QFMCh6U+6S3I3gHGJWt0 Kd97JWvfCClAuIfJzOGp42zch/cwoQw4vJ2Plg/Th2Lmc+Lz+MAHUlNwqrWRqQOGcL9m tVJGToGXaT2NDL0wvublnJAR48cqnPuNhplQlKL5Ttcc+x0Ki3+fDMOMTlreixPyiDxg wsivQ41aTB3BSt1P3VvXunEK2qxE4CtnPxXB5w+ZXjPLtUiizB3CgyGEG5tClwugUOVQ uxXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ghtZJW51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id by6-20020a056a00400600b0068fc2f7cef3si2461025pfb.358.2023.09.21.16.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 16:56:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ghtZJW51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1D39D8082062; Thu, 21 Sep 2023 14:01:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232403AbjIUVAp (ORCPT + 99 others); Thu, 21 Sep 2023 17:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbjIUU75 (ORCPT ); Thu, 21 Sep 2023 16:59:57 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 830F086807; Thu, 21 Sep 2023 10:38:00 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 384D9C4E753; Thu, 21 Sep 2023 15:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695310162; bh=YRubwqeTifeA4hxGDHOuj3A8llGfWe15Yg+vIKGo/KQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ghtZJW51nFyAJbX8IGGmWPHaVMTGDhpshg6uJhfm7ecaKMeYV7ZmNy3VqvcLpSBb0 GlAoeOI+Xx17lJtCZt+tfA1ZzftsqVr8begb0yUvT19DqS2WOg04Uy4i+zYBjhbQjG oVni6z/QpNlEIwEcSWtbdc/ninRqMKbgaePXgOqjMITBM8uekywf/IDe2QVxY98LmZ pKkF4CTrIntIUYEvNgdeHO+1yhwGM/Mi4spQIHyQYhipOCmNmnOgeEKrQxaKHd1oVg BPDMkeqVNMaNgvjbjZBPxHYC1f8tUMy0ZPesZrNH1ifVfWJceeVcgathtCddib6kxv 8OMM2htV20Pog== Received: (nullmailer pid 378728 invoked by uid 1000); Thu, 21 Sep 2023 15:29:21 -0000 Date: Thu, 21 Sep 2023 10:29:21 -0500 From: Rob Herring To: Tony Lindgren Cc: Dmitry Torokhov , Krzysztof Kozlowski , Conor Dooley , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/2] dt-bindings: input: gpio-keys: Allow optional dedicated wakeirq Message-ID: <20230921152921.GA160147-robh@kernel.org> References: <20230920115044.53098-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920115044.53098-1-tony@atomide.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:01:02 -0700 (PDT) On Wed, Sep 20, 2023 at 02:50:43PM +0300, Tony Lindgren wrote: > Allow configuring an optional dedicated wakeirq for gpio-keys that > some SoCs have. > > Let's use the common interrupt naming "irq" and "wakeup" that we already > have in use for some drivers and subsystems like i2c framework. > > Note that the gpio-keys interrupt property is optional. If only a gpio > property is specified, the driver tries to translate the gpio into an > interrupt. > > Signed-off-by: Tony Lindgren > --- > > Changes since v1: > > - Run make dt_binding_check on the binding > > - Add better checks for interrupt-names as suggested by Rob, it is > now required if two interrupts are configured > > - Add more decription entries > > - Add a new example for key-wakeup > > --- > .../devicetree/bindings/input/gpio-keys.yaml | 41 ++++++++++++++++++- > 1 file changed, 40 insertions(+), 1 deletion(-) With the indentation fixed, Reviewed-by: Rob Herring