Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp799753rwl; Fri, 7 Apr 2023 05:50:40 -0700 (PDT) X-Google-Smtp-Source: AKy350ZG/6gfdWgA18yeRRyo737YN/ikrdeiNCoOCOhRqEORQHb/hPG3hButjPwGPZte0surQNRR X-Received: by 2002:a50:fc11:0:b0:4bd:94b9:b8a8 with SMTP id i17-20020a50fc11000000b004bd94b9b8a8mr2427754edr.26.1680871840279; Fri, 07 Apr 2023 05:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680871840; cv=none; d=google.com; s=arc-20160816; b=ZsCRL0K8oca1UnVbp5VLUYwgj5C0sFbc65Es1dp5x/w+vCCxKPHoZ6YC8oB7ybmOGr gfZ8MAYxv4K+IsmtOK8wrV8FELvzi0+WW388z2ZpNpPNC/Vp62LbVBGwrgsdHrgyLnaO IL1CUfG4mglvwQKDj8EvGimmkFhJj/RDWKS083t+MA7fyPowLvuCeHks2AjhfIVkpFwa ZVm17+C1g2CSWYuhi/tqhogISJavfairm/Rqn5o9Jx9Yw1nYElz9GRv3daeEdgpY82H5 32UnRn99yOgUdRc8s1Yq0chawTCWDQj+4iwB4joSd0hZD0N18gCHsWhflvTNLFURxWc2 VAiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=CtcE/NvBRcdNBusvMeCn2jEShLCbh8MSJh/lpl1iAy0=; b=LlQ9+SjahfN9YGBONUl92YnL965ifWocjyc83/lVm3j1g772tkvKe40Y1gISKrBdDu pjBx0vzmxkyDw4600Oal/DNjtkFDl/vgY3tKEIE/QmD7AyHwLIFTxo9Esjr2v0LIChc/ oSc0gSNTR0RVe6op/35gJ54Ilw5OoxD3JosvwBleiBaRNgM0281CCCt5ml239wYhVwvC kHzxeo3Qf5S+dUUoONm0kslBHlU66jyKZR2QO0scchBX8NoYlBfUCqUDE+GznTmel9G/ o0AZ4GkDmpKcZFfewZplkkHxoug1asC8f51xDIPn7TedFgZbPpnLnRmrXc25hCc9mjjz s8zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020aa7cb4a000000b004bd1a7dba86si2730006edt.410.2023.04.07.05.50.12; Fri, 07 Apr 2023 05:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231715AbjDGMqn (ORCPT + 99 others); Fri, 7 Apr 2023 08:46:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjDGMqm (ORCPT ); Fri, 7 Apr 2023 08:46:42 -0400 Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E17540F6; Fri, 7 Apr 2023 05:46:41 -0700 (PDT) Received: from [92.206.161.29] (helo=note-book.lan) by smtprelay04.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pklTE-0002cY-Ac; Fri, 07 Apr 2023 14:45:36 +0200 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= Date: Fri, 07 Apr 2023 14:44:24 +0200 Subject: [PATCH v2 1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20230407-atmel_keys-v2-1-92446a4343cb@apitzsch.eu> References: <20230407-atmel_keys-v2-0-92446a4343cb@apitzsch.eu> In-Reply-To: <20230407-atmel_keys-v2-0-92446a4343cb@apitzsch.eu> To: Nick Dyer , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Linus Walleij Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Apitzsch?= , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS 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 In some configurations the touch controller can support the touch keys. Document the linux,keycodes property that enables those keys and specifies the keycodes that should be used to report the key events. Reviewed-by: Linus Walleij Acked-by: Krzysztof Kozlowski Signed-off-by: André Apitzsch --- Documentation/devicetree/bindings/input/atmel,maxtouch.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml index 3ec579d63570..c40799355ed7 100644 --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml @@ -14,6 +14,9 @@ description: | Atmel maXTouch touchscreen or touchpads such as the mXT244 and similar devices. +allOf: + - $ref: input.yaml# + properties: compatible: const: atmel,maxtouch @@ -60,6 +63,10 @@ properties: or experiment to determine which bit corresponds to which input. Use KEY_RESERVED for unused padding values. + linux,keycodes: + minItems: 1 + maxItems: 8 + atmel,wakeup-method: $ref: /schemas/types.yaml#/definitions/uint32 description: | -- 2.40.0