From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51BE0C433EF for ; Mon, 6 Dec 2021 20:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eciwUyBAsF719vQ4Y9FUMisNjTuGq63v3uyPc9suHH4=; b=bRWsJzWXLXFx8+ x9RVXNi3bMGvsj58MGYZsSBlKsVbZ+PW/UYfbY+TL0z0b3JVNdB69/y6XM//ybxrxChJdJC+NZbC/ McqQ/fp462UJ2yyi2A35g2qQB+X5Y/v+NrMDzWOxxnaE+uAVOCF/o88Au10d90HNduPwClmh9J6VT x2/M0QrEqVKWxm1YSLWUsmWpk1X0iyZguzr3ISOXZKP3erdlqgHxl7jjL2Ji8gpOcHAIifP4KAziN WrbgJEJAJTsyxV6q6l9W0g/irjxBOIetUy3mAN5Eq6qGGbfx9g2as+WJoMVkJS08sq0yXje4NM9KR TBikK79OCT7kxdx+zlKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muKyZ-005i3v-TJ; Mon, 06 Dec 2021 20:52:44 +0000 Received: from mail-ot1-f49.google.com ([209.85.210.49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muKyV-005i2P-PS for linux-arm-kernel@lists.infradead.org; Mon, 06 Dec 2021 20:52:41 +0000 Received: by mail-ot1-f49.google.com with SMTP id x43-20020a056830246b00b00570d09d34ebso15294452otr.2 for ; Mon, 06 Dec 2021 12:52:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=W/W8O0C+viVmbaluDdRLKJbTo1E1f58tr+DrDv3GBJw=; b=WgvZVli2x6gQucT0v7VexPUGnjogdegiB38sNo2Q3q9SRcSRdivwAxqRPUWbR5fBgA O2Yi1XFVULynyMtjtnOb2fpKQG+VhIV+o8j9SNvcsJTERZOYr4i78XB2kJWglnwtkLX/ IEoP180L0HI/YlBwdBif/DtuGn8TU+ZOq9JhdexfO1/F3TpTT2LlCKlmfNdBOxX2jAkf jpvbIwNMyaRLYv7pAzo8XdmJzYba0npS7RjaWj//AkmnaRN5+165esT7HyGf2k96btMr u4v88/dMKC1HZAmNOYp/02oNpZ2VAj3aj4viqY79rc28CW62rYyFjFYS14AfkTh815gb NmzA== X-Gm-Message-State: AOAM531noRcHeUy9WJiZ+NIKdXU4SMQIA3e6OcnQwun/UaSR3iMr9Loj eKXkcRiVDDnlYbPMgJ4nlV0Ua5mPLw== X-Google-Smtp-Source: ABdhPJwgIRX48WHJocgpnwBS9w+Q3VG8+yZhRKKuw3tidFx+ioYSkN+enpt8ygJiRllrkM5rincv4g== X-Received: by 2002:a05:6830:348:: with SMTP id h8mr30182899ote.344.1638823957848; Mon, 06 Dec 2021 12:52:37 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id k14sm2386947otb.50.2021.12.06.12.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 12:52:37 -0800 (PST) Received: (nullmailer pid 2564806 invoked by uid 1000); Mon, 06 Dec 2021 20:52:36 -0000 Date: Mon, 6 Dec 2021 14:52:36 -0600 From: Rob Herring To: Alistair Francis Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andreas@kemnade.info, alistair23@gmail.com, dmitry.torokhov@gmail.com, linus.walleij@linaro.org, rydberg@bitmath.org, =?iso-8859-1?Q?Myl=E8ne?= Josserand Subject: Re: [PATCH v3 2/4] Documentation: DT: bindings: input: Add documentation for cyttsp5 Message-ID: References: <20211202122021.43124-1-alistair@alistair23.me> <20211202122021.43124-3-alistair@alistair23.me> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211202122021.43124-3-alistair@alistair23.me> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_125239_861586_AAF1422C X-CRM114-Status: GOOD ( 21.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 02, 2021 at 10:20:19PM +1000, Alistair Francis wrote: > From: Myl=E8ne Josserand For the subject, use subjects matching other commits for the directory = and 'documentation' (twice) is redundant as that's all bindings: dt-bindings: input: Add Cypress TT2100 touchscreen controller > = > 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. > = > Signed-off-by: Myl=E8ne Josserand > Message-Id: <20170529144538.29187-3-mylene.josserand@free-electrons.com> Not a tag used in the kernel. > Signed-off-by: Alistair Francis > --- > .../input/touchscreen/cypress,tt21000.yaml | 92 +++++++++++++++++++ > 1 file changed, 92 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/c= ypress,tt21000.yaml > = > diff --git a/Documentation/devicetree/bindings/input/touchscreen/cypress,= tt21000.yaml b/Documentation/devicetree/bindings/input/touchscreen/cypress,= tt21000.yaml > new file mode 100644 > index 000000000000..f3f353192917 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000= .yaml > @@ -0,0 +1,92 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/input/touchscreen/cypress,tt21000.yam= l# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cypress TT2100 touchscreen controller > + > +description: The Cypress TT2100 series (also known as "CYTTSP5" after > + the marketing name Cypress TrueTouch Standard Product series 5). > + > +maintainers: > + - Alistair Francis > + > +allOf: > + - $ref: touchscreen.yaml# > + > +properties: > + compatible: > + const: cypress,tt21000 > + > + 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. > + > +patternProperties: > + "^button-[0-9]+$": > + type: object > + properties: > + linux,code: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: Keycode to emit > + > + required: > + - linux,code > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - interrupts > + - vdd-supply > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + touchscreen@24 { > + compatible =3D "cypress,tt2100"; > + reg =3D <0x24>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&tp_reset_ds203>; > + interrupt-parent =3D <&pio>; > + interrupts =3D <1 5 IRQ_TYPE_LEVEL_LOW>; > + reset-gpios =3D <&pio 7 1 GPIO_ACTIVE_LOW>; > + vdd-supply =3D <®_touch>; > + > + button@0 { > + linux,code =3D ; > + }; > + > + button@1 { > + linux,code =3D ; > + }; > + > + button@2 { > + linux,code =3D ; > + }; > + }; > + }; > +... > -- = > 2.31.1 > = > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel