Message ID | 20230621093245.78130-6-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4253534vqr; Wed, 21 Jun 2023 03:15:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4joTDNFACqR4N2ey5D1s+eIiDxPMhqcM76mp9VDbh3Mw0QcS480EP1K/SO5bgn2Rw4n7z7 X-Received: by 2002:a05:6808:689:b0:39b:2276:c6ce with SMTP id k9-20020a056808068900b0039b2276c6cemr12129775oig.13.1687342552830; Wed, 21 Jun 2023 03:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687342552; cv=none; d=google.com; s=arc-20160816; b=pS/mJI+T0/8ylifqMPSqtkvSPfY5IzyO95fe/idxTsuDDAbEioFzm01+yBpNZ3hITS Y/5Tw5sCoN/JYJHsEuPwoga2qe4wHtHNFSlnOv3nmA6NIJ+WkxRYSHvtzzGbMGErHJrB rlOYY79ZhGFIFQ3dHmd7u9W7ZcVUKxBKK+zPgZOZHumIw2e1DK27UuvZLMc8b9v+bZOC R8I+B4HR+CE6U/X19PXxfLyYbjg7jMKMhxdvHwLuwswMzDx8E3wRb9nhVqGbdmxCqGfI v8+H6ImL/KOj7skHFDdbeKSQFJThwg0T/YoOXWt8vncdzABz8x9M4t2mFzSTtPY08LkP ZTrg== 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; bh=HIi3z+jmmTy6k2Fn5ALGcy3hPDotx8G1ladlAgOqMps=; b=t0iaSSWmuiUMTZxB8Mff8zq0uxmq2ZZQ/jhAE0xXq3YShXyazlXRUL/3DneQ4tBdYE 2qdP0Z+iLyxfP5aNCE0GWiaopoNSJTreUipHh02z+a5ks2+79CYXN/jlVkeHMHYH9VbD VsTmjkmhYKi4/pFTGExmywhItDhvXkqB6urldxIVvWlwdj0GqnjbtNtIVTSDZAZ1S2YQ 9TXZgQIpuIkRX4w2JcEPuAMlda266t5Suq6tFHqfyy2foFQUyxZMoUVmHFeRLXh5mMJd SRUcP+YWLe1FaKekAu9cg7Q+2TPXvpfX4mIdapUnXlCGmYST2uceSHNcPmr/5cHIXZdd wHMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i69-20020a638748000000b0050fa9bc63cbsi3610295pge.432.2023.06.21.03.15.40; Wed, 21 Jun 2023 03:15:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231817AbjFUJhD (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Wed, 21 Jun 2023 05:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231738AbjFUJgj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Jun 2023 05:36:39 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28CE02112 for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:35:13 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1qBuCp-0006Qd-Sp; Wed, 21 Jun 2023 11:32:52 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1qBuCl-00906V-RR; Wed, 21 Jun 2023 11:32:47 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1qBuCk-000KLd-Sb; Wed, 21 Jun 2023 11:32:46 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Abel Vesa <abelvesa@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Ulf Hansson <ulf.hansson@linaro.org> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, Rob Herring <robh@kernel.org>, kernel@pengutronix.de, Peng Fan <peng.fan@nxp.com>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Michael Trimarchi <michael@amarulasolutions.com>, Mark Brown <broonie@kernel.org>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Marek Vasut <marex@denx.de>, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org Subject: [PATCH v2 5/5] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Date: Wed, 21 Jun 2023 11:32:45 +0200 Message-Id: <20230621093245.78130-6-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230621093245.78130-1-o.rempel@pengutronix.de> References: <20230621093245.78130-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769306904559713902?= X-GMAIL-MSGID: =?utf-8?q?1769306904559713902?= |
Series |
Add support for various features to i.MX6 bindings
|
|
Commit Message
Oleksij Rempel
June 21, 2023, 9:32 a.m. UTC
Add a new property 'threshold' to the edt-ft5x06 touchscreen binding. This property allows setting the "click"-threshold in the range from 0 to 255. This change addresses the following dtbs_check warning: imx6dl-lanmcu.dtb: touchscreen@38: 'threshold' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> --- .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Comments
On Wed, Jun 21, 2023 at 11:32:45AM +0200, Oleksij Rempel wrote: > Add a new property 'threshold' to the edt-ft5x06 touchscreen binding. > This property allows setting the "click"-threshold in the range from 0 > to 255. This change addresses the following dtbs_check warning: > imx6dl-lanmcu.dtb: touchscreen@38: 'threshold' does not match any of the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> > Reviewed-by: Rob Herring <robh@kernel.org> Applied, thank you.
diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml index ef4c841387bdd..f2808cb4d99df 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml @@ -93,6 +93,12 @@ properties: minimum: 1 maximum: 255 + threshold: + description: Allows setting the "click"-threshold in the range from 0 to 255. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 255 + touchscreen-size-x: true touchscreen-size-y: true touchscreen-fuzz-x: true