Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp890054pxb; Wed, 27 Oct 2021 14:33:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHShbASP0DnCV+n7K4+UIslXyGoADXLPF0060N330uzwm2Iv+xwJQFaItjbZ2PfHnoFa9P X-Received: by 2002:a17:906:c041:: with SMTP id bm1mr141098ejb.280.1635370382862; Wed, 27 Oct 2021 14:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370382; cv=none; d=google.com; s=arc-20160816; b=FRBrpQGMhiONkXeYuAx+0BErwU/7mg5OrHk80GsDutbijwA+kSdzpBq10PysDmr+Av qZsFyBBiLaggefaEFkxE3ukjV0EF0yLRcBpzQ6iGEd4nrRZAI0Ek/Pm6gU6oeaghHsx8 KrkcjOgvU0Pg6ty2QfPmV3SfyBijMP89JaqhRM5tuLmkVxgR3ILgRs0HAvukDqUqNmer ylU9MTbZFE/PQvUNIx/e1O4frBIXOglOoSOf5FKkJf+68UOJvouEcjCI4S7awbQO5C1c PCfUMyUDg5gRGZch91KlKpTeyReQ1gWUv9lr5dskobR8/UaIQVythfc2lYFFxG9U/oaE wSLA== 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=5EwXwThczkzYkL21PSWujPLHrc392g7zHgnfXytNbCs=; b=YFMLvCMPzzi/Ztc4cgjizWKq6NpKj7ZUEsglJM6wLHyDXsT2uMEm3YEUcdh0VKg1ip MzLz3jvb8NkkRQn7KYibAUtUj7MsaU7AJ17uiXZ+E7IoI29qv4fSkGwORtRpvWld+OWi bU4XyvA8oH59lTnFT9fNm7iP2YLOJz7GdgC5Gqq6i0qtwwKQLUB7QTAHlTrGVyQhk/Sx sOOxoXZ9IfKxTj+OhX1ajeGIRv250iK5O6hMvXr8zBwPWTR7ihE4HUAV3sswnNGQ80Fa G9oWkVTKRfXxe6Q2r5LWd+x9UO2UMKirTjc5gEBjX+n0cra+NjeaHPVDp7R13Qu2il8o vFUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=lTz7F78N; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si1450675ejs.270.2021.10.27.14.32.40; Wed, 27 Oct 2021 14:33:02 -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=pass header.i=@trvn.ru header.s=mail header.b=lTz7F78N; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243501AbhJ0SSX (ORCPT + 97 others); Wed, 27 Oct 2021 14:18:23 -0400 Received: from box.trvn.ru ([194.87.146.52]:54355 "EHLO box.trvn.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243469AbhJ0SSQ (ORCPT ); Wed, 27 Oct 2021 14:18:16 -0400 Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id BB50041511; Wed, 27 Oct 2021 23:15:29 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1635358530; bh=ro7ZVSbXpCwuaZX3j2xP7JzBXPN1tirbnRREQXQvgG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTz7F78NmkuT15Mb+2mqqiyay21LWBApUaDgnM+9Sce+FK0ZFduUNS0Q0x5iUXdzl N+iNktbClL5YkHxZMbzLe4mHVf6mO2BpjFI0PzEzKrNTRgv5dFO+C45tEPxFSS8uPh jruL/gZfS9YUZ1ZWbYNXR/BZGGIWSsIAX0UC4YpVyVUSzTqPGeCldT1cRXR3bGRjUp cHcOIHctTKsGlyNq30YsAv/3xp6sWYOTZbggFvjXjSpDT43DWM2oGdQ5CF/IstYrUZ mp7GBqrGUJ6xbgrgtY1hqzOHQf3UBB0ZeWZhiL9Xx5RhS8IlN0rx6ZRuJO6625xuQZ ww6VIsCgUiPPA== From: Nikita Travkin To: dmitry.torokhov@gmail.com 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 Subject: [PATCH 5/6] dt-bindings: input: zinitix: Document touch-keys support Date: Wed, 27 Oct 2021 23:13:49 +0500 Message-Id: <20211027181350.91630-6-nikita@trvn.ru> In-Reply-To: <20211027181350.91630-1-nikita@trvn.ru> References: <20211027181350.91630-1-nikita@trvn.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + maxItems: 8 + touchscreen-size-x: true touchscreen-size-y: true touchscreen-fuzz-x: true -- 2.30.2