From patchwork Mon Feb 27 20:50:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Patchwork-Id: 62141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2650366wrd; Mon, 27 Feb 2023 13:15:28 -0800 (PST) X-Google-Smtp-Source: AK7set8ogwP/yaCsARnkG5mrFOO06TUMp98bv40XBU2VCCaCs1K0KiXeG9uR8wbbMumULQOrzHR0 X-Received: by 2002:a17:903:32ce:b0:196:d05:bac7 with SMTP id i14-20020a17090332ce00b001960d05bac7mr323180plr.58.1677532527852; Mon, 27 Feb 2023 13:15:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677532527; cv=none; d=google.com; s=arc-20160816; b=pd5l/rt+esDS6C8Pg3HTimtN0pvpMHNTu419wtRxEVZEZkKYcskDOppQjC1vazKF2P n76xj43bLMDdOeEQ7JBkZs0bVRwm+hrdzcbEJyM1sHTQeETsWseTO9QLHL9yb9fOHESM 0V8pSgJrZ2g3paskyDswfzJIVyr8daUvCEr+0hXUNsVFb+i2nzNL0Bk1mD+HG6mte/IT PyhpcsobLGXOssni5TqQFL1roeqparvlbJdwzsth2TaCKQKgiq514SvcpoIr8ZcxNvX1 BgQLUAob+0J79Zh7IFSgWPQOxiXev1Y2gBc1U27gMTbrOoc7F2/MGlDqV418tHtK0IaX QjpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Y+mQDiOboZ1kP9CbaZTZpuHyoShIoXd3Avopb4AcjS0=; b=KLBvcGrRk2osgGHSk9bPp4e06HTBtbvDl0S5+Gtas57S2/oFWQy/HIvvAy4yjsW/EM /u9pI8aXnR99RY1uxAsXhy073+nUb9fDZjqH5n6kspjXzaXt3b/tS4B/KyYNk+OXJyRB PyoD9YguT/spaRo8BCfEqLamPwbMkbG7HmnS39DdrGgDr6I+4qLmpGvi+5LVpaBmgBli VE1R3EAY6YvV+E5mPymy65ip6Kruejz6fhcfjOabzUoptVqdPFbIva9ujZNXwrMbrAN3 qJbY0bu9W7A5U52nA6olt4U8KauHOV9qozCVPRxR1uCe+QcFUIne9BayyBR9VL3GpBxi RZYA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170902d90400b001963a56658fsi7331632plz.105.2023.02.27.13.15.13; Mon, 27 Feb 2023 13:15:27 -0800 (PST) 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 S229827AbjB0VAt (ORCPT + 99 others); Mon, 27 Feb 2023 16:00:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbjB0VAp (ORCPT ); Mon, 27 Feb 2023 16:00:45 -0500 Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8007A25E12; Mon, 27 Feb 2023 13:00:33 -0800 (PST) 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 1pWkSJ-0006TA-21; Mon, 27 Feb 2023 21:50:43 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= To: Nick Dyer , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Linus Walleij , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Andr=C3=A9_Apitzsch?= Subject: [PATCH 1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes Date: Mon, 27 Feb 2023 21:50:34 +0100 Message-Id: <20230227205035.18551-1-git@apitzsch.eu> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759020347714024577?= X-GMAIL-MSGID: =?utf-8?q?1759020347714024577?= 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. Signed-off-by: André Apitzsch Acked-by: Krzysztof Kozlowski Reviewed-by: Linus Walleij --- .../devicetree/bindings/input/atmel,maxtouch.yaml | 7 +++++++ 1 file changed, 7 insertions(+) base-commit: 982818426a0ffaf93b0621826ed39a84be3d7d62 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: |