Message ID | 20230601101451.357662-8-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 k13csp198306vqr; Thu, 1 Jun 2023 03:27:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5J1KejuzdchW6f1JrnuEVBmJupvY3s6JzqmIXXSNpR8s1HhkzqXpcOHecBq3BNo7qzgRvm X-Received: by 2002:a05:6808:201b:b0:398:282d:27bf with SMTP id q27-20020a056808201b00b00398282d27bfmr7993636oiw.32.1685615265514; Thu, 01 Jun 2023 03:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685615265; cv=none; d=google.com; s=arc-20160816; b=TWqg1fGY7teiYCc7LO7qU0bRCgQLLowVEknKVJdmjdpxlvOWBmZruvrZJUzfAaVISH BAWrutoip4kYwuJHJyiUJ7FZ2E/p7iJwk3I5X2KyrUGlVQW5H7v/FSmGea1qSjZgUOlE Fes5/1Ks5cLXVfaaIX6tw/Gfk8UiKYK9OqC2Gg/qXcBgRKoXr1WiRMTvIC26gMNV4jpk QsrNT+q+o13LB10jVFf5QpdwfuV6nRNyuZsL7CtANhuUf6O9/mHM2DnkoefkqINtVeT5 fE6rps4oyKseQkCc1+pRVV/S2Kbq7FDYQ48oMmd47gkSzrZkF7aaWwcDHq1cCFpqw7xb HiRQ== 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=UhCUleF2QAV6Uz8GtzNPTBa50fQjd0EGtn+spszPFDM=; b=qptdygrfgZRvs8KpHf6MvFWOvHlwZOnIVu8Jd9hiVmD17W4LE9nFe0WM1/ts/KMOat Arlb4RjCJuuCTTygFDXkpeIDdCDHalbLt9R9H8fZhmOG/hVP9Fbd2eGgCjsT1Q5paTH6 JfWveu74DhkXZbw7TWkdl74Y0UAHP+Os00wCCc8VSVmduuSUXKs3lPjsr2WhmgOw1mcy +ez22RwFg2+8tf5oRjuBacgLmfE0ha9TCunX3oUs225BK2RkFfFYXqppFxZ7LYxO1tHj eGHFIl/zXRyTf23qUIRB+ldNfdoxLeONhP5T8nzs1c+vUENkgXMTR35moplVEzL5jHpX bdXw== 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 s195-20020a632ccc000000b0053468421910si1599434pgs.620.2023.06.01.03.27.32; Thu, 01 Jun 2023 03:27:45 -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 S233004AbjFAKT3 (ORCPT <rfc822;limurcpp@gmail.com> + 99 others); Thu, 1 Jun 2023 06:19:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjFAKS4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Jun 2023 06:18:56 -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 99A1C2118 for <linux-kernel@vger.kernel.org>; Thu, 1 Jun 2023 03:16:03 -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 1q4fKZ-0004WH-5v; Thu, 01 Jun 2023 12:14:55 +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 1q4fKY-004KWQ-95; Thu, 01 Jun 2023 12:14:54 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1q4fKW-001V4d-Nx; Thu, 01 Jun 2023 12:14:52 +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>, 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>, Anson Huang <Anson.Huang@nxp.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 v1 7/7] dt-bindings: input: touchscreen: edt-ft5x06: Add 'threshold' property Date: Thu, 1 Jun 2023 12:14:51 +0200 Message-Id: <20230601101451.357662-8-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230601101451.357662-1-o.rempel@pengutronix.de> References: <20230601101451.357662-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?1767495712672647288?= X-GMAIL-MSGID: =?utf-8?q?1767495712672647288?= |
Series |
Add support for various features to i.MX6 bindings
|
|
Commit Message
Oleksij Rempel
June 1, 2023, 10:14 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]+'
From schema:
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 6 ++++++
1 file changed, 6 insertions(+)
Comments
On Thu, 01 Jun 2023 12:14:51 +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]+' > From schema: > Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> > --- > .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml index ef4c841387bd..f2808cb4d99d 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