Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1315051rdb; Wed, 20 Sep 2023 06:04:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiB2bRdRRYtsOdaZpuEE7GRM0HjiRDrDFr0lVuayY7ZKb4vS4aoNGIvewl7ADkAfMRDBuO X-Received: by 2002:a17:90b:4394:b0:26d:2b86:dbe1 with SMTP id in20-20020a17090b439400b0026d2b86dbe1mr2574844pjb.25.1695215087113; Wed, 20 Sep 2023 06:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695215087; cv=none; d=google.com; s=arc-20160816; b=cmgCps29QwwRjzURzt6byXo+mSYT/LURqwDIiIOXP/SlmWET1v9qWNjF9aTqRu8j78 ePl6OsfGxiuDdozhTdNcFL+uuFxmtfb48K3VfDJzHjGHs5K8QysJYzCxfAEMrH2xh+PL tPTdY8+ud4Xm/epcpEdzj1Vy6BTdeauGrcIqggUzkLiZLzsqE8uo0hHN3D0FRyuhI7kn Dtml07q84sd/SVlkDEWDVBbTZmjVi2alAM20xGzoMQK3vgJXe8MMUT92P7hrk9rQIroW 0E6QX4sIEgNTBTQcklDGExL9C0JCDGT62PM6u7Rmf73EATwWwhCKa5Pg9ODg2kbOvWid LnNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding:dkim-signature; bh=R6pOeWUM70J7WeDJ5vYWDwvBy8rsyIl+8XhBBg+Ldzg=; fh=B9dOlKV6UJzvz/aA7Mq8hZ2Ois5TpOAydEWIWm+RSFw=; b=BmJyzS0kFxROabTZj0QMzPlvVm6BQWlS6mAWNLy3y5Ql6kN1Yajug54woOi70IzfKV 9Dx4wzpviBjN5YhGE0ae8blq8LG+4fjV2TAtvsZIHJE4tqzRk5C/z5UQBrVlNY+RZlLy Ek8ey4orRT3HWcLBxPMvXDLPDM1AAepKfIg7F+AA+4mMkP3xtvgthouUWA/zUmGJxtSe ucLdVB8hzAD30yxFU7xEvEckTbjeiZVETdVqQYN23NUkFQ+4sdvuta97nKuX/5Byr7Kb 6wL4Cmj4e2Ncw9jCAU2o6glZ5NOSNlv4MGBS/xUWY8rW/p+TkHu4v7Kd0/aycTma3pS7 +YMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=epCiZInO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id ls13-20020a17090b350d00b0026961fdd37bsi1629490pjb.97.2023.09.20.06.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 06:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=epCiZInO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id AB1A482D66FA; Wed, 20 Sep 2023 05:58:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234633AbjITM5u (ORCPT + 99 others); Wed, 20 Sep 2023 08:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235048AbjITM5r (ORCPT ); Wed, 20 Sep 2023 08:57:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D01A383; Wed, 20 Sep 2023 05:57:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 542B4C433C7; Wed, 20 Sep 2023 12:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695214661; bh=BEisPBW1KmRtjT0oASI8wcLRc3DN9B2NAkRyypriO4c=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=epCiZInOoCbpxjCdjLMW2InMLbNS+gI1bdgkUZm6GNs5MUjUeXpqAh6I1m3ZEe4lh VGqMvfAxWlROij4oB6Irk1fEbrtp//aeUmw3bSdQEXfrE6qiZ06Wb4472o3AZN78CT Q/4ELlqfcVoBmMWwJdRjTys1eLuU4i5jOWfnfKf6AfoKVFmF4eX33lwm3KnOSMz746 KS0kXiKmJ5ORY5R/qYSdu1HdePrPRkBqUtNehb/r69reG8bM6Y/HfML5UM06vRHvvq jmAz/slVpAgad01z2H/w79rcPLPGpoxn488UjfAzR/d5dBwSFJCM8F9RRJ0RfixCJW h8sXuXece5RoQ== Received: (nullmailer pid 2032568 invoked by uid 1000); Wed, 20 Sep 2023 12:57:39 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Tony Lindgren Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Dmitry Torokhov , Conor Dooley , linux-input@vger.kernel.org, devicetree@vger.kernel.org In-Reply-To: <20230920115044.53098-1-tony@atomide.com> References: <20230920115044.53098-1-tony@atomide.com> Message-Id: <169521465924.2032537.6288372017884083091.robh@kernel.org> Subject: Re: [PATCH v2 1/2] dt-bindings: input: gpio-keys: Allow optional dedicated wakeirq Date: Wed, 20 Sep 2023 07:57:39 -0500 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Wed, 20 Sep 2023 05:58:07 -0700 (PDT) On Wed, 20 Sep 2023 14:50:43 +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(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: ./Documentation/devicetree/bindings/input/gpio-keys.yaml:36:13: [warning] wrong indentation: expected 14 but found 12 (indentation) ./Documentation/devicetree/bindings/input/gpio-keys.yaml:38:13: [warning] wrong indentation: expected 14 but found 12 (indentation) ./Documentation/devicetree/bindings/input/gpio-keys.yaml:47:13: [warning] wrong indentation: expected 14 but found 12 (indentation) ./Documentation/devicetree/bindings/input/gpio-keys.yaml:49:13: [warning] wrong indentation: expected 14 but found 12 (indentation) dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230920115044.53098-1-tony@atomide.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.