Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2191570pxb; Sun, 31 Oct 2021 09:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvGHEsZ6crqc1oYqttGtw+wIsi2AShFuRAi7IGOYDaHnoxVanSEh/jatkIh2heGJ18Fd4V X-Received: by 2002:a5d:83c7:: with SMTP id u7mr16640228ior.80.1635699059681; Sun, 31 Oct 2021 09:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635699059; cv=none; d=google.com; s=arc-20160816; b=jW2x+jlwalYW6ns8dxc/MB/Gab7HSfoDBAGPi7KdljIcvhySu3Ca0nW1y1xUBMTUeZ hh11vBAnAXTMZBcaXRhfV0xDhLo/KHXXSGV1L5sGyoA5hrvh3zqSvjzETfE20bqb67Sa QNAB2xyFyJhYYx5xNGEx0Wd2oc08tGLFcGK78ZZXZkXzfjwGNnbUyzzoDwLk67/EkYQo cPPx2mumy4eUiWJ3m9Vq+wZPF7NWBURq78OQzxrJe2sCQUtsU0DtP1Th8Z+YKR60CTVg SKnGlLbBu5CPc/2/fd028HBOJtTZUPEbpZWE0H8o2ii+RJ9+IyPBc01scMh4HdMXuy77 FEdQ== 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:subject:cc:to:from:date :dkim-signature; bh=aVTDOe/YUeynXWH5Tc1lXgdCvtmKqzq8Qx0YAnSIre4=; b=t+XxbG9OV6My0oTFzbi+yXyOSx2eIEPOvlrgjVzCUFUtEh4J6pj4XSHvXbH2rkS2er IW5Tohb7GUe2NtySMnBnWir5hG1CH4UZv8kFvUfcfWdPJ5SQsxbHUppqhycMS4KPbyUZ VgJ4IdfzI03eCfT+F/S73sbdt/yHxBg9/tYMgP1Uky/+BouWcP5+s6MSLHlnao/tNy9D /sswIpcw82cCpPlOPcH5PWJ+OZXWyghxKq3i7q3COSfTmkKo5TteruxB/uXOSwjToO9P 448JFGx9CZbrnau1ilaTQn8eKANTYVVoNVE4qZaNAxB9DwTfk2O7yKUB2pmQwKRrmdJk aDXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=JeI0M0wZ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y11si21514078iov.79.2021.10.31.09.50.46; Sun, 31 Oct 2021 09:50:59 -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=@kemnade.info header.s=20180802 header.b=JeI0M0wZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbhJaQv6 (ORCPT + 99 others); Sun, 31 Oct 2021 12:51:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbhJaQv5 (ORCPT ); Sun, 31 Oct 2021 12:51:57 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2FB0C061570; Sun, 31 Oct 2021 09:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=aVTDOe/YUeynXWH5Tc1lXgdCvtmKqzq8Qx0YAnSIre4=; b=JeI0M0wZWD8dEyRi1G2qGd8xbf 4yiV4avZV68IsLtYNYKAjcgjhvG+Qe2aHnJ8btzfMkBrObb53Du4HDin8qF6twtE7zbk+2QERtk7B E5DQozCkp/RcQqVAyNezBM7iE0vrLtJIMTl3zqU9ExiJf6Je9IF/fhzEULixiFCZGBb4=; Received: from p200300ccff0896001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff08:9600:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1mhE1G-0004Kw-9u; Sun, 31 Oct 2021 17:49:18 +0100 Date: Sun, 31 Oct 2021 17:49:17 +0100 From: Andreas Kemnade To: Alistair Francis Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, alistair23@gmail.com, dmitry.torokhov@gmail.com, linus.walleij@linaro.org, robh+dt@kernel.org, rydberg@bitmath.org, mylene.josserand@free-electrons.com Subject: Re: [PATCH 2/4] Documentation: DT: bindings: input: Add documentation for cyttsp5 Message-ID: <20211031174917.289ef018@aktux> In-Reply-To: <20211025114214.44617-3-alistair@alistair23.me> References: <20211025114214.44617-1-alistair@alistair23.me> <20211025114214.44617-3-alistair@alistair23.me> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, 25 Oct 2021 21:42:12 +1000 Alistair Francis wrote: > From: Myl=C3=A8ne Josserand >=20 > Add the Cypress TrueTouch Generation 5 touchscreen device tree bindings > documentation. It can use I2C or SPI bus. > This touchscreen can handle some defined zone that are designed and > sent as button. To be able to customize the keycode sent, the > "linux,code" property in a "button" sub-node can be used. >=20 > Signed-off-by: Myl=C3=A8ne Josserand > Message-Id: <20170529144538.29187-3-mylene.josserand@free-electrons.com> > Signed-off-by: Alistair Francis > --- > .../input/touchscreen/cypress,cyttsp5.yaml | 72 +++++++++++++++++++ > 1 file changed, 72 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/c= ypress,cyttsp5.yaml >=20 > diff --git a/Documentation/devicetree/bindings/input/touchscreen/cypress,= cyttsp5.yaml b/Documentation/devicetree/bindings/input/touchscreen/cypress,= cyttsp5.yaml > new file mode 100644 > index 000000000000..0bddbd76a0c3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5= .yaml > @@ -0,0 +1,72 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/input/touchscreen/cypress,cyttsp5.yam= l# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cypress cyttsp touchscreen controller, generation 5 > + > +maintainers: > + - Alistair Francis > + > +allOf: > + - $ref: touchscreen.yaml# > + > +properties: > + compatible: > + const: cypress,cyttsp5 > + you use buttons later, so it should be specified somewhere here. > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + vdd-supply: > + description: Regulator for voltage. > + > + reset-gpios: > + maxItems: 1 > + > + linux,code: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: EV_ABS specific event code generated by the axis. > + > +required: > + - compatible > + - reg > + - interrupts > + - vdd-supply > + > +additionalProperties: false If you want to allow things from touchscreen.yaml, you should use unevaluatedProperties: false. > + > +examples: > + - | some includes are missing for the constants below here. > + i2c { Regards, Andreas