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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97B97C00140 for ; Tue, 2 Aug 2022 15:10:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236505AbiHBPKI (ORCPT ); Tue, 2 Aug 2022 11:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235854AbiHBPKH (ORCPT ); Tue, 2 Aug 2022 11:10:07 -0400 Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C48C28E17; Tue, 2 Aug 2022 08:10:07 -0700 (PDT) Received: by mail-il1-f178.google.com with SMTP id h16so7123057ilc.10; Tue, 02 Aug 2022 08:10:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=UV82uEIsvHDZrliUx1r2+IPpqDlRXG1R8sadUym76Ns=; b=RfFmqqD5MfGy/kbSpySS5uIVrUQzCBqV52bsu3NVJVlEuGzbD+lZwvFA1rMaZR4rbm fT/YVkHmcGvxX54gxT/0ZjYvu2bWW8MTLdmtNQFwiv9O/0HAiMkYd4StfI29P+Rw7sJO xZ26S4pX22QV8eO+LOZvXi3PXllFW0eUgA9bQPdv2LtM/YKf/7lYMTJcFjyXZMzWoRAu IixgBVeIrIQ94WxmaVONIO0hS5M9qFpDA2fqVE/cmuACoeHmX8qSymAr+vrIbjaPTi2c 7hRJAUWFtz4zexIhojRlMdKEQa4mtmMKemtE3Q02/pfc55eN1BPP37EJBOmkqRfRR2Ek IAIQ== X-Gm-Message-State: ACgBeo0ZSZHNEUlh8XtsOBntvN0+Ij3NVRxo6OBBf8VONlX+JzNeB/6a EsnnQOxM0X/HeWqZyisq6g== X-Google-Smtp-Source: AA6agR6qEtPWKu6LQNhC/sCZhdW870Xl86PU7mC8mmdhENczblUR53y2AS/pkKzRkJkzddn98twsjw== X-Received: by 2002:a92:d80f:0:b0:2de:d3bc:d553 with SMTP id y15-20020a92d80f000000b002ded3bcd553mr2572195ilm.269.1659453006374; Tue, 02 Aug 2022 08:10:06 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id v18-20020a056e020f9200b002dbfcfa3233sm5871998ilo.37.2022.08.02.08.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 08:10:06 -0700 (PDT) Received: (nullmailer pid 116902 invoked by uid 1000); Tue, 02 Aug 2022 15:10:04 -0000 Date: Tue, 2 Aug 2022 09:10:04 -0600 From: Rob Herring To: Alistair Francis Cc: linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, shawnguo@kernel.org, alistair23@gmail.com, linus.walleij@linaro.org, s.hauer@pengutronix.de, andreas@kemnade.info, krzysztof.kozlowski+dt@linaro.org, rydberg@bitmath.org, dmitry.torokhov@gmail.com Subject: Re: [PATCH v8 2/4] dt-bindings: input: Add Cypress TT2100 touchscreen controller Message-ID: <20220802151004.GA112502-robh@kernel.org> References: <20220802125827.34509-1-alistair@alistair23.me> <20220802125827.34509-3-alistair@alistair23.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220802125827.34509-3-alistair@alistair23.me> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Tue, Aug 02, 2022 at 10:58:25PM +1000, Alistair Francis wrote: > 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: Alistair Francis > Reviewed-by: Linus Walleij > Reviewed-by: Rob Herring > --- > .../input/touchscreen/cypress,tt21000.yaml | 101 ++++++++++++++++++ > 1 file changed, 101 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cypress,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..3fc4b7011040 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml > @@ -0,0 +1,101 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/input/touchscreen/cypress,tt21000.yaml# > +$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,keycodes: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: EV_ABS specific event code generated by the axis. See commit d853cec7306a ("dt-bindings: input: Use common 'linux,keycodes' definition") in next. Rob 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 DF8E3C00140 for ; Tue, 2 Aug 2022 15:11:23 +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=+j88KJK2OsoiRTZIXK3nPJ/McfDtJAkfBjbb+VBHr/c=; b=glxzqrAEjN1Nll 7Kp+4XkyRRdQpudARevFttlQPW79ecs4LiL9nDkyWvnHeIEMqaUnFV8j0hEJVf8FZH9GZ/8bkujXB rtALaqrsuarKN/UtnK/4Lhu7cLKsEx4Hdw0x6YLBLkY4BLcgcpha0MojykpHll2rJEe5N/AjiKzWE VUWIk9IbzArJcmdEpZIhIyth8ATeKeGG6gBoBoRzFSm3WKkIfmtKvFYiMCdvkCKuSWnwRpw6hErHF ruNIzG84aWmvqtjktquXm2m+0TuW/n61FN201zyGeS9+yHonTlInq2U9A+3qiSXyvjn2RpMNMrcO7 /+K9PZPIeV4TavrejU6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oItXA-00FG1d-Dw; Tue, 02 Aug 2022 15:10:12 +0000 Received: from mail-il1-f169.google.com ([209.85.166.169]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oItX6-00FFyB-GV for linux-arm-kernel@lists.infradead.org; Tue, 02 Aug 2022 15:10:10 +0000 Received: by mail-il1-f169.google.com with SMTP id s16so3477817ilp.3 for ; Tue, 02 Aug 2022 08:10:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=UV82uEIsvHDZrliUx1r2+IPpqDlRXG1R8sadUym76Ns=; b=jkj5jUk391Mzy6apV5tkpDLkCDP08JZ98NAnJAtHXpxbASUzZhlUD7FPoir2qpoFOJ eRCXI8dNj51zO6i/sie5UTeWnYljMrUbTZ2fy2HeFN4xdMxdFViPbt0ENw66Pa4FYrBc k/9UaFX1FTNoyGbmmzZ6XQJx2NkpgUHvIqU++zNBzU4DCvC/tAtchGtPTKw9jjm0vra8 Q2PrT5QNaHeNPwvKe+wh1k6c0DZxsLCHrRRTK959Gzs0TD+E3O0dE43Z/PLynMxZc4VG Eyb1s+N5JdteisUhMdZBjSpy0q+yPv3avNqRt+8onZrFhcvrkVhXQygFfa4D44Xu9OGF kJ2A== X-Gm-Message-State: ACgBeo15ijCCtchgr2g37nSpHq8BZP8/Qo3rXBfZ1vUjhFsemU7cTCIc GCH0wsB8Fp1MmqXtgWwoln2acHG4sQ== X-Google-Smtp-Source: AA6agR6qEtPWKu6LQNhC/sCZhdW870Xl86PU7mC8mmdhENczblUR53y2AS/pkKzRkJkzddn98twsjw== X-Received: by 2002:a92:d80f:0:b0:2de:d3bc:d553 with SMTP id y15-20020a92d80f000000b002ded3bcd553mr2572195ilm.269.1659453006374; Tue, 02 Aug 2022 08:10:06 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id v18-20020a056e020f9200b002dbfcfa3233sm5871998ilo.37.2022.08.02.08.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 08:10:06 -0700 (PDT) Received: (nullmailer pid 116902 invoked by uid 1000); Tue, 02 Aug 2022 15:10:04 -0000 Date: Tue, 2 Aug 2022 09:10:04 -0600 From: Rob Herring To: Alistair Francis Cc: linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, shawnguo@kernel.org, alistair23@gmail.com, linus.walleij@linaro.org, s.hauer@pengutronix.de, andreas@kemnade.info, krzysztof.kozlowski+dt@linaro.org, rydberg@bitmath.org, dmitry.torokhov@gmail.com Subject: Re: [PATCH v8 2/4] dt-bindings: input: Add Cypress TT2100 touchscreen controller Message-ID: <20220802151004.GA112502-robh@kernel.org> References: <20220802125827.34509-1-alistair@alistair23.me> <20220802125827.34509-3-alistair@alistair23.me> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220802125827.34509-3-alistair@alistair23.me> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220802_081008_609951_C86F0835 X-CRM114-Status: GOOD ( 18.58 ) 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Aug 02, 2022 at 10:58:25PM +1000, Alistair Francis wrote: > 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: Alistair Francis > Reviewed-by: Linus Walleij > Reviewed-by: Rob Herring > --- > .../input/touchscreen/cypress,tt21000.yaml | 101 ++++++++++++++++++ > 1 file changed, 101 insertions(+) > create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cypress,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..3fc4b7011040 > --- /dev/null > +++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,tt21000.yaml > @@ -0,0 +1,101 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/input/touchscreen/cypress,tt21000.yaml# > +$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,keycodes: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: EV_ABS specific event code generated by the axis. See commit d853cec7306a ("dt-bindings: input: Use common 'linux,keycodes' definition") in next. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel