Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp126611iof; Sun, 5 Jun 2022 23:09:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg/9AfqJ7VPpqGQVcjvDUbIFPmiHQ7pztasY1lTxvBebcswqjRDtKQJ3MsDYOgii9Vvhno X-Received: by 2002:a17:903:22ca:b0:163:e2b6:e10b with SMTP id y10-20020a17090322ca00b00163e2b6e10bmr23376009plg.28.1654495781610; Sun, 05 Jun 2022 23:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654495781; cv=none; d=google.com; s=arc-20160816; b=T87IJTSGxMzVGnsjPjGRqnLvcfmCXlITkOoEb4GSHyn/Jxm++IwFmaLL5aXN7WV2OQ YCkcWYiSlrMqqqK5WLEsuT4mDu6RybhSfs9+um8a71nq1DapedY1IdNTlLW52K3wRTf/ iEd9RE80Y8BG2ixrhGlBZfJurN77vY3+lQh/EIbWhSRpAlUj5UzH0YeEFR/58DEH9t7l G3woZ5D5Z++4cEXn5Uz4LoIc97k2OMJ290txnqLwyMo/mxZNpqalnRevkoK+q/vUcKYP rp5s8imG8Pcv/GyyLN8Jcux+m6IPb9RiOSXw5y5WRN8VYsbytKabcoumn/NXQo6SYF69 /EYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=x+fdYMlfBqjJsfTMeBXwmbk6chP7/1R1+jVisQRo6VE=; b=pETiZHyxwJnJPBM8+1f/9WZ+99NaYKiqGk/rSMtOmWmqdupBuIb0jzdV6TW+E1bmnw xAsIq1wgAiJdtPdzaLTFfesd+/DB6iUP/N21yspiyQnJLHYM+18UBrk4dziTYplsDkDD ReUaEb/KzSeRmFsJTVYoJpBCmn4Vigesf2zP3z8ZHXlB+FxHfqD1NwWJ4Eeu6UvNyYh7 A3z8ksx43bEBTfIM0nLqiPJ/S7mrzRes2dh/VaYEAXlvTI1FcBqxLQLZ/N7T8MldJv/J SgifCgIo6HR/OIH2F6dY7+g1GFCIGRr3xlSMr+FAPd+bLJ0616YoCRFWYF7qWBKBaNMr mPlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1Dch9GR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o7-20020a056a0015c700b0051c09f5253bsi6269951pfu.204.2022.06.05.23.09.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 23:09:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1Dch9GR; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA8FFD245E; Sun, 5 Jun 2022 22:01:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345360AbiFEPMy (ORCPT + 99 others); Sun, 5 Jun 2022 11:12:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349763AbiFEPMv (ORCPT ); Sun, 5 Jun 2022 11:12:51 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A33581570B for ; Sun, 5 Jun 2022 08:12:45 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id x62so15753366ede.10 for ; Sun, 05 Jun 2022 08:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=x+fdYMlfBqjJsfTMeBXwmbk6chP7/1R1+jVisQRo6VE=; b=Y1Dch9GREjMHFir6ioGvURLkQcuw1g/GFu4AvifmbQxrXTFtiEQQQwOnIa1DupKNs8 LFmAJFhsUYiH18tTruEBMCG2jUj/pYHTjOxm9t3f/o1LVjRzYdE4i8srROR12Bi/Rf34 Z+BDwI09IuDxRGyOcGLNNh8D8cGSNMue7TpiVtw0lTI9BAovmCEqhgeqwQutCJQoGrmy DKgX5V7hA/FsrlpDmH0LFzjtso0R02MT3VCy569uPDn6Gc7s9q32MwAtkE+iYMYBJj64 rOG9eB9wJ/ttxnw0dk2/p1LGwy0OA8MZVOSb/6AmJ70Vvx4qyf9raZcGkfG9mkVHdK3g lWrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=x+fdYMlfBqjJsfTMeBXwmbk6chP7/1R1+jVisQRo6VE=; b=X6IMFdHF++2o8WLjKQy3qOQwN6Ixh219+g28Bb2gQQFfLCUN9rL5LmWvvt3rZP6IXy d3DZ+81kVZgl0G8+jWIlCRp7Z37Tc/t4cHyxelsdYkQPJ0Dy7M4WkF75a/jkjV65tupp SjomwUH4LML0rIZhpn7UgLhHB73WDZ0OBTXutjQwkMxiAOj3SDMXWdh1zueVB/giTGBN jZHVUYJQOGHE6OgBqNfr4DgaKqK258widLJmEdLpxi7enHAGufyvufQkAmfdHSpRr6l2 lHJMfuTaXLGfBvDT0fm2gciXkqlaaMfeUsgkuP9u49AfxWbtVFNz/WB59/Ak5eJvlKMG MVkA== X-Gm-Message-State: AOAM533BHV4KcuraiqoqbAM0QxLRvLo52c0c80YAVvjCq3Jxe5/Pod9i WZaIiovbW0G7dDxiYEOCzT7wmRkjRtQ/ww== X-Received: by 2002:a05:6402:c08:b0:42d:d005:13c1 with SMTP id co8-20020a0564020c0800b0042dd00513c1mr21453363edb.187.1654441964278; Sun, 05 Jun 2022 08:12:44 -0700 (PDT) Received: from [192.168.0.181] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id r25-20020aa7cb99000000b0042a5a39ba7esm6892714edt.25.2022.06.05.08.12.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 08:12:43 -0700 (PDT) Message-ID: Date: Sun, 5 Jun 2022 17:12:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [RFC PATCH 1/2] dt-bindings: input: gpio-keys: enforce node names to match all properties Content-Language: en-US To: Jeff LaBundy Cc: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Hansson , Andreas Kemnade References: <20220603101601.542054-1-krzysztof.kozlowski@linaro.org> <20220603101601.542054-2-krzysztof.kozlowski@linaro.org> <20220604030455.GA12308@nixie71> From: Krzysztof Kozlowski In-Reply-To: <20220604030455.GA12308@nixie71> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 04/06/2022 05:04, Jeff LaBundy wrote: >> - dependencies: >> - wakeup-event-action: [ wakeup-source ] >> - linux,input-value: [ gpios ] >> - >> - unevaluatedProperties: false >> + "^(key|key-[a-z0-9-]+|[a-z0-9-]+-key)$": > > Maybe this would be better as: > > "^((key|switch|axis)|(key|switch|axis)-[a-z0-9-]+|[a-z0-9-]+-(key|switch|axis))$": > > ...or perhaps a more efficient version of my counter-proposal. > > The reason is because it is confusing to see a lid or dock switch named > as "key-lid", etc. Nice point. "switch" I understand, but can you really have "axis" on GPIO keys? I had impression axis is related to joysticks. Best regards, Krzysztof