Message ID | 20230227205035.18551-1-git@apitzsch.eu |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> 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 <rfc822;wenzhi022@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <git@apitzsch.eu>) id 1pWkSJ-0006TA-21; Mon, 27 Feb 2023 21:50:43 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= <git@apitzsch.eu> To: Nick Dyer <nick@shmanahar.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Linus Walleij <linus.walleij@linaro.org>, 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?= <git@apitzsch.eu> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> 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?= |
Series |
[1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes
|
|
Commit Message
André Apitzsch
Feb. 27, 2023, 8:50 p.m. UTC
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 <git@apitzsch.eu>
---
.../devicetree/bindings/input/atmel,maxtouch.yaml | 7 +++++++
1 file changed, 7 insertions(+)
base-commit: 982818426a0ffaf93b0621826ed39a84be3d7d62
Comments
On 27/02/2023 21:50, André Apitzsch wrote: > 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 <git@apitzsch.eu> > --- Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Mon, Feb 27, 2023 at 9:50 PM André Apitzsch <git@apitzsch.eu> wrote: > 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 <git@apitzsch.eu> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
Am Montag, dem 27.02.2023 um 21:50 +0100 schrieb André Apitzsch: > 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 <git@apitzsch.eu> > --- > .../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: | > > base-commit: 982818426a0ffaf93b0621826ed39a84be3d7d62 Hi Nick, hi Dmitry, Friendly ping. What is missing to get this up-streamed? Best regards, André
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: |