Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp891896pxb; Wed, 27 Oct 2021 14:35:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwES3DUwVELb1+RJvDiK9q8YtfzQ/W2DSVWds6YPpBw3jxTB/It4cNlzn47Zvq+jfv7l2E5 X-Received: by 2002:a17:906:2c1a:: with SMTP id e26mr137762ejh.404.1635370504457; Wed, 27 Oct 2021 14:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370504; cv=none; d=google.com; s=arc-20160816; b=nYTum4vJ/0ZDe2E7EUVWbPgXGGLjHgh1VMM0ht/zJ9dQg88lH8UXQqKm9XFa+a6tT4 8CHBezsMPP6GSBv8x2GsNSspVTYgsFKpJEcK4hAvEAsicTX4DhI8HGgIG95+9v37WFYg +ivPtHeo8FqMcKhYRdq8vO0FtnPtMYFStJQav+9LAleTQB98Ix87GnUryyFvaYfFhz/p Tm+vRfqomI86w1rQFXxC0VijgzMWL3n30PQPpY25IBlkzF3KaE5E54l5WQPEPk2RiGxg 89CJIyosVqbRSleid/2UxK/VWRmnQH6KTOcTbVekDk4RzYCRpmN8qRHdBQ9NGh7vucRa nt0w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DFSbC0PrVfVYMg61YdCzATsG5+gcM64n/cJXujE+XqQ=; b=E1ylIhiJFDpbFnevqmudOAUHzr0PttpnXDPR62ad7H+4tOVQiquR5+lAiT35RhstKr xHo1Y+RK2rbDL0QFC1HJqfHmeU44EynNXHqwzHwHbJIfe6SKnGKL07Hz2jm/wseGr59d HuoqDtF+azn/8HjegniO0YTZKbWZux/tQJs4S7EU4W/dQhsWsN4az6T6Sr/CZ64R2tVs X6bf9jQDv/7Cjid9mGMnZa8wEvlAlRRfQv/W8qttG2YmGyUxRtqrx//xl0o6316w9Jgd LO/QKyHkURE0DGkf2QeSTItpZNMvXUmqJfqLvdIb9u7rwftwGzmvP80RHBNgEtasoeUq safw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=frALwLf6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si1537400ede.307.2021.10.27.14.34.41; Wed, 27 Oct 2021 14:35:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=frALwLf6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240067AbhJ0SgW (ORCPT + 97 others); Wed, 27 Oct 2021 14:36:22 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:34964 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbhJ0SgV (ORCPT ); Wed, 27 Oct 2021 14:36:21 -0400 Received: from g550jk.localnet (ip-213-127-63-241.ip.prioritytelecom.net [213.127.63.241]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id F4168C6CC0; Wed, 27 Oct 2021 18:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1635359634; bh=UIcFCudTxF6hG2HuR7YgfuD/23JAbfuvo/Ai0U9+vXI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=frALwLf6m3i6RKnEnchtAOM25UHxWPVa923QnkhgzicSilAu/c4USwO32/Cno+nU6 1RKzVwQs6c/VMovboxwnItlpBKT6kk2rZUJtikXz0v5NSVS2w+YXqG7Kan0qI0Timk 6bW6WHEhucSz6kGH7HNnuP1MG+N0uC4fMlR4Uucw= From: Luca Weiss To: dmitry.torokhov@gmail.com, ~postmarketos/upstreaming@lists.sr.ht Cc: robh+dt@kernel.org, Michael.Srba@seznam.cz, linus.walleij@linaro.org, broonie@kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin , Nikita Travkin Subject: Re: [PATCH 5/6] dt-bindings: input: zinitix: Document touch-keys support Date: Wed, 27 Oct 2021 20:33:53 +0200 Message-ID: <4350691.LvFx2qVVIh@g550jk> In-Reply-To: <20211027181350.91630-6-nikita@trvn.ru> References: <20211027181350.91630-1-nikita@trvn.ru> <20211027181350.91630-6-nikita@trvn.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikita, On Mittwoch, 27. Oktober 2021 20:13:49 CEST Nikita Travkin wrote: > In some configrations the touch controller can support the touch-keys. > Doucument the linux,keycodes property that enables those keys and > specifies the keycodes that should be used to report the key events. > > Signed-off-by: Nikita Travkin > --- > .../bindings/input/touchscreen/zinitix,bt400.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml > b/Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml > index b4e5ba7c0b49..40b243c07fd4 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml > +++ > b/Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml @@ > -79,6 +79,14 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32 > enum: [1, 2] > > + linux,keycodes: > + description: | > + This property specifies an array of keycodes assigned to the > + touch-keys that can be present in some touchscreen configurations. > + $ref: /schemas/input/input.yaml#/properties/linux,keycodes > + minItems: 1 I think this would suggest all devices using the driver must have at least keycode declared which doesn't seem to be the desired behavior? Regards, Luca > + maxItems: 8 > + > touchscreen-size-x: true > touchscreen-size-y: true > touchscreen-fuzz-x: true