| Message ID | 20250915195335.1710780-5-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path:
<linux-amarula+bncBCQ4XFG47UFRBVW5UHDAMGQE5FVY45I@amarulasolutions.com>
X-Original-To: linux-amarula@patchwork.amarulasolutions.com
Delivered-To: linux-amarula@patchwork.amarulasolutions.com
Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com
[209.85.128.72])
by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DF9E63F080
for <linux-amarula@patchwork.amarulasolutions.com>;
Mon, 15 Sep 2025 21:53:59 +0200 (CEST)
Received: by mail-wm1-f72.google.com with SMTP id
5b1f17b1804b1-45b990eb77csf30921375e9.0
for <linux-amarula@patchwork.amarulasolutions.com>;
Mon, 15 Sep 2025 12:53:59 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1757966039; cv=pass;
d=google.com; s=arc-20240605;
b=UJbd+Iq3RmukssgqjC6QWVR6mF05C6wfAF/ukDPqnxBPDWbHlTD3WcUIcsjIMMUCCs
+Z+g3LmYT3+aG4JK8PWT7k0qRBbVbB1x/fF0HMiiuOqEp9H+3Wgx8i1dPTmwu+HWS2vs
N9v9aqx+lAtII4MZ81NsUNNTAp5s86SAR3O0BGi52DEmX5phm+XQ0GHHFHzkeooTiPJ5
LtLjTxN8kPDIBmP0lt0zN86dzaA4jqoti6L58z6Kf7VogbISrVw5VWqerB4jpFWo7W4a
Lmjic/lkH2O0FTZbbUPk0xD6Cg8B/kxmDzqDPXfeqEVmUfNAlMHV/dafbBnuJh7UCCr/
KKzw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=ksdT+D/KflgRfkgWPSL+eKzorqDkNX49umlQl4N5aGI=;
fh=Enc+8bvKJ28eZBioRbghwjXsuk/EawnJaZ2Glq3Lcjg=;
b=gtytjilqEB0MCuXOmyWfea8ws35dFYoExTIixxUfzSGYy0V2sUXWrEeACNjOfrVy0O
N7x964MGkPKP3NcMahamejk3ZVlrivV7oyWPYbS8lQIArBjnPAC0DRMRpt35HLsqjKD7
huqAfvH8dW2c0R6yemndx+OlASL/pEH4YdkY3Ehgh1zxGVfRS1LcPlBc2xz1FyQX8H6f
lVSg7xV9U9fT4kf3tBgOKrQjJqMhg0+oY+i3e5Ah+vFmPa1qbDe5N08E/ZxBNjCiTrrS
ymdeLdMb/k7MF4PB8ujS0r50kIhotxWn5ZoYnPtOM6a0hVl+bCIjAc/dDYQS7W5tDIPG
Z9UQ==;
darn=patchwork.amarulasolutions.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=YIBSi2Il;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=amarulasolutions.com; s=google; t=1757966039; x=1758570839;
darn=patchwork.amarulasolutions.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:mime-version:references:in-reply-to:message-id
:date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=ksdT+D/KflgRfkgWPSL+eKzorqDkNX49umlQl4N5aGI=;
b=kmcm5BYM/4clHk1xnWS72q70c26lASQTl2NyC9eyu2NVpNizYvOuNT6MZXmkIV4chE
agtOZVY04YPLL8IsWKhozmGXrPBqNKtay8Wl4EjFe2M5Tvyt+QgJ5SEnMi2AK1o5ih2j
t7vbYUROcUROcHXOZD5JjS+HxDVNHovpR8yps=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1757966039; x=1758570839;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender:mime-version
:references:in-reply-to:message-id:date:subject:cc:to:from
:x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=ksdT+D/KflgRfkgWPSL+eKzorqDkNX49umlQl4N5aGI=;
b=ng8itfaB+UfEplz26/eCZg104JyHtLXo7st7tC7/ufbMlIcCV7UiCkvXxAclZQ+/tY
zNnWQ32HEtWrhpqmaEtEVTwbue1siWCUVtsnYACk9aI/8fHSDK2EchWSZ8rRFsPrOtJu
fL3zf2dB/r5E0gqzKAp9nY1a3GjpEN7YYXuKlGIDF3KAdYcWcDoPBHekDRP7zyCGl8xf
h9igj8Eq1TrYq+sbt04ywV3L0ym8zcIHHYzAZ1pokmtPcxRk+7NZQvIiTzvvPMZEVe+0
++AMDMAEMGvIyigmL+ZMDvLNMMyoHzB+kPNUBmwrYapit/6ieTc613IAAUaWQZqGWZAI
M6Pg==
X-Forwarded-Encrypted: i=2;
AJvYcCVJt2e6lfvfPdGC9NqR2vpdtksAYfTx+HOvaIfG0f2/u3uXucjYXdYvlkHKv/R4KnQ8aTIY1Wi7s9iR/M0Q@patchwork.amarulasolutions.com
X-Gm-Message-State: AOJu0YwVi1qu6XE2isRSppjHfrfhhcL6uqchZO7Q/MTkMxSLT7yEJxFV
yq7CDblxtm5NMVIF40b6NSdl89Wcuw+a2huv7Cnreu11/ref1X9bUUR+oFSCn2VOPsEM0A==
X-Google-Smtp-Source:
AGHT+IEfOtIUF8s3MqGQNFcaQuvKTpL/sCpcDGnWSaoHmigFvnknmn92gkqD15nAgSZAU7h5YeCCyQ==
X-Received: by 2002:a05:6000:2203:b0:3ea:c893:95b6 with SMTP id
ffacd0b85a97d-3eac89399f3mr3783089f8f.27.1757966039478;
Mon, 15 Sep 2025 12:53:59 -0700 (PDT)
X-BeenThere: linux-amarula@amarulasolutions.com;
h=AZMbMZc5HOjZYq1Emch4u2fPbOPk2Tl3wcawfVIr8grAgOVhJQ==
Received: by 2002:a05:600c:34ce:b0:45b:990e:8532 with SMTP id
5b1f17b1804b1-45e0514a8afls16304555e9.1.-pod-prod-00-eu; Mon, 15 Sep 2025
12:53:57 -0700 (PDT)
X-Forwarded-Encrypted: i=2;
AJvYcCXgYKHxkkwb2AepqiuVvUfn4DT71Vfae6hH2oomIiBBWRhyXi1c3g4M5t0FcvwfIG12kLBTif2cmLnC82cW@amarulasolutions.com
X-Received: by 2002:a05:600c:3e1a:b0:45d:e4d6:a7db with SMTP id
5b1f17b1804b1-45dfe9c6a1fmr151942025e9.5.1757966037193;
Mon, 15 Sep 2025 12:53:57 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1757966037; cv=none;
d=google.com; s=arc-20240605;
b=SObptx11XcSz7SplS5TusIPKV07lqG3Mph3SfpEaQ5Z7DWqPkj15fEyX4A3CAbgTRN
JRaAuGDS+uJX2bYujtUJf/ekr4+CMEuZfknemhW7+1BHUPqjgmy96Mxd5u784oSI5/4b
wFgCuw+bVqc5ojknxWvOgLivCFOZeY2RT6wxZCp/LWX5TQh71eag3LgZD6Nz5yXyA92n
k6x+i82igx/IBXDGIOiEELEc0pA+q6ZQHosha6qXJu82MdIvuwGO7wxXCMgE3rgUMUBi
sjoUkIMEXw3RAclt7Oy5TaBM4WE1bmdjzkp5O08TNQZYNQmLo8fZyT0Kygf5q+N6fyVz
pKzQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:dkim-signature;
bh=JYpBInbhYba1I5IFzkBXif3pXoZfr9uL09LB08J1+iU=;
fh=sko6cyaOXwqHYpjya0hh5v5kDBiSUxNdriqG3hji6ko=;
b=CV3pPj0RLkoEf3dTMmxCpjYHtKLi6YZL49x1guRKYbyUeWB2V1+nScrdJnucvAY7KC
YKcmpUzjCo3nKBQ8/VzymmhY91SyQ8o0EEjwIz4dUBo1E0ZCmbRJoemlbiGvUIr2Rc8D
bSvo6SAHqGEEn0fJ35cjRU7PbKpChj7oAPuy/xa541ep4ce3Ehki9/EJBiymW2pWg5i2
iuzCryYN5wnZgUFVtNAz+JZIspghJVWkoQapHmt/ZcT+u/0X4EdTZCu3fbeOTwpQEg/g
4b5IeLTVjm1OX6hDtiFEjv6d0bUgYLe02Akkwrd6EXbBSXuI2XTJ/ZokX0MLTDhtppWL
yc7A==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@amarulasolutions.com header.s=google
header.b=YIBSi2Il;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
[209.85.220.41])
by mx.google.com with SMTPS id
5b1f17b1804b1-45f2af2201asor13219925e9.0.2025.09.15.12.53.57
for <linux-amarula@amarulasolutions.com>
(Google Transport Security);
Mon, 15 Sep 2025 12:53:57 -0700 (PDT)
Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Forwarded-Encrypted: i=1;
AJvYcCV40//zRimiXz/LYM+W9MU2xV0UhkJjbuENRiMihDZepSw+HaWjA8cp6FjmRkAuz7JiAkapqXcxUFWoQ/Rg@amarulasolutions.com
X-Gm-Gg: ASbGncsuBNcAvEoJNsNUo8lcchZl8GoEUQE+8khIeskHdRU0AqaPQBYluuKY7fK+nrT
o5LlaT6MTxQ6qNok/TZyQMcXB7Q90l+5t9rr3a6G+INm3BDlzytm/j8KnkHLm3sKdJynmBngAML
xjZZoxHP/1bXQa9oyyqyp+NeQfNBAUOZzZUqsm7X47fYHoaTElVRVGxv5Zhkr+ETXm+jyCgjlBZ
Yf1zx3+ap1gmhyeKhcArq9mhdCv1F9DwKX6vzBJdrMMT0eK9wUldNYCeDUd/NXi3X6sysjiyqDQ
8DF7uzNU56VfTIWOyTrr3hiW8xKlGcx/X2Jr8gpRaXo6Wc0AUBHAgJY4yY05FpKl1PmwDErtUhL
xFZsGMSXCktbt5mZxoKaF+ik3Wn8oZRcO8QhO2NSqCPNlHjvFfNIw8tyU56pPhx8=
X-Received: by 2002:a05:600c:c8d:b0:458:b8b0:6338 with SMTP id
5b1f17b1804b1-45f24060698mr116466355e9.6.1757966036748;
Mon, 15 Sep 2025 12:53:56 -0700 (PDT)
Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.230])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-45f32640f49sm530985e9.9.2025.09.15.12.53.55
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 15 Sep 2025 12:53:56 -0700 (PDT)
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
To: linux-kernel@vger.kernel.org
Cc: Frank Li <Frank.Li@nxp.com>,
linux-amarula@amarulasolutions.com,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Conor Dooley <conor+dt@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Fabio Estevam <festevam@gmail.com>,
Haibo Chen <haibo.chen@nxp.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
devicetree@vger.kernel.org,
imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-input@vger.kernel.org
Subject: [PATCH v3 4/6] dt-bindings: touchscreen: fsl,imx6ul-tsc: support
glitch thresold
Date: Mon, 15 Sep 2025 21:53:06 +0200
Message-ID: <20250915195335.1710780-5-dario.binacchi@amarulasolutions.com>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20250915195335.1710780-1-dario.binacchi@amarulasolutions.com>
References: <20250915195335.1710780-1-dario.binacchi@amarulasolutions.com>
MIME-Version: 1.0
X-Original-Sender: dario.binacchi@amarulasolutions.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@amarulasolutions.com header.s=google header.b=YIBSi2Il;
spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com
designates 209.85.220.41 as permitted sender)
smtp.mailfrom=dario.binacchi@amarulasolutions.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com;
dara=pass header.i=@amarulasolutions.com
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list linux-amarula@amarulasolutions.com;
contact linux-amarula+owners@amarulasolutions.com
List-ID: <linux-amarula.amarulasolutions.com>
X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com
X-Google-Group-Id: 476853432473
List-Post:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>,
<mailto:linux-amarula@amarulasolutions.com>
List-Help:
<https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>,
<mailto:linux-amarula+help@amarulasolutions.com>
List-Archive:
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/>
List-Unsubscribe:
<mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe>
|
| Series |
Input: imx6ul_tsc - set glitch threshold by dts property
|
|
Commit Message
Dario Binacchi
Sept. 15, 2025, 7:53 p.m. UTC
Support the touchscreen-glitch-threshold-ns property. Unlike the
generic description in touchscreen.yaml, this controller maps the
provided value to one of four discrete thresholds internally.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Changes in v3:
- Remove the final part of the description that refers to
implementation details.
.../bindings/input/touchscreen/fsl,imx6ul-tsc.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
Comments
On Mon, Sep 15, 2025 at 09:53:06PM +0200, Dario Binacchi wrote: > Support the touchscreen-glitch-threshold-ns property. Unlike the > generic description in touchscreen.yaml, this controller maps the > provided value to one of four discrete thresholds internally. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > Changes in v3: > - Remove the final part of the description that refers to > implementation details. > > .../bindings/input/touchscreen/fsl,imx6ul-tsc.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > index 678756ad0f92..6214d8be5a99 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > @@ -62,6 +62,18 @@ properties: > description: Number of data samples which are averaged for each read. > enum: [ 1, 4, 8, 16, 32 ] > > + touchscreen-glitch-threshold-ns: > + description: | > + Unlike the generic property defined in touchscreen.yaml, this > + controller does not allow arbitrary values. Internally the value is > + converted to IPG clock cycles and mapped to one of four discrete > + thresholds exposed by the TSC_DEBUG_MODE2 register: > + > + 0: 8191 IPG cycles > + 1: 4095 IPG cycles > + 2: 2047 IPG cycles > + 3: 1023 IPG cycles > + You have to use ns here. You can caculate in driver to match to closed one. Frank > required: > - compatible > - reg > -- > 2.43.0 > To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On Tue, Sep 16, 2025 at 11:55:17AM -0400, Frank Li wrote: > On Mon, Sep 15, 2025 at 09:53:06PM +0200, Dario Binacchi wrote: > > Support the touchscreen-glitch-threshold-ns property. Unlike the > > generic description in touchscreen.yaml, this controller maps the > > provided value to one of four discrete thresholds internally. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > > > --- > > > > Changes in v3: > > - Remove the final part of the description that refers to > > implementation details. > > > > .../bindings/input/touchscreen/fsl,imx6ul-tsc.yaml | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > index 678756ad0f92..6214d8be5a99 100644 > > --- a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > @@ -62,6 +62,18 @@ properties: > > description: Number of data samples which are averaged for each read. > > enum: [ 1, 4, 8, 16, 32 ] > > > > + touchscreen-glitch-threshold-ns: > > + description: | > > + Unlike the generic property defined in touchscreen.yaml, this > > + controller does not allow arbitrary values. Internally the value is > > + converted to IPG clock cycles and mapped to one of four discrete > > + thresholds exposed by the TSC_DEBUG_MODE2 register: > > + > > + 0: 8191 IPG cycles > > + 1: 4095 IPG cycles > > + 2: 2047 IPG cycles > > + 3: 1023 IPG cycles > > + > > You have to use ns here. You can caculate in driver to match to closed one. That is what he is saying it is doing - "internally the value is converted to IPG clock cycles" and so on. Your repeated misunderstanding of this though points out that maybe the description is still lacking? Dario, how about: | The gitch threshold in nanoseconds. Drivers must convert this value to | IPG clock cycles and map it to one of the four discrete thresholds | exposed by the TSC_DEBUG_MODE2 register: | | 0: 8191 IPG cycles | 1: 4095 IPG cycles | 2: 2047 IPG cycles | 3: 1023 IPG cycles ? I dropped the bit about arbitrary values, due to my comment on the other version a few mins ago. To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
On Tue, Sep 16, 2025 at 08:25:53PM +0100, Conor Dooley wrote: > On Tue, Sep 16, 2025 at 11:55:17AM -0400, Frank Li wrote: > > On Mon, Sep 15, 2025 at 09:53:06PM +0200, Dario Binacchi wrote: > > > Support the touchscreen-glitch-threshold-ns property. Unlike the > > > generic description in touchscreen.yaml, this controller maps the > > > provided value to one of four discrete thresholds internally. > > > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > > > > > --- > > > > > > Changes in v3: > > > - Remove the final part of the description that refers to > > > implementation details. > > > > > > .../bindings/input/touchscreen/fsl,imx6ul-tsc.yaml | 12 ++++++++++++ > > > 1 file changed, 12 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > > index 678756ad0f92..6214d8be5a99 100644 > > > --- a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > > +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml > > > @@ -62,6 +62,18 @@ properties: > > > description: Number of data samples which are averaged for each read. > > > enum: [ 1, 4, 8, 16, 32 ] > > > > > > + touchscreen-glitch-threshold-ns: > > > + description: | > > > + Unlike the generic property defined in touchscreen.yaml, this > > > + controller does not allow arbitrary values. Internally the value is > > > + converted to IPG clock cycles and mapped to one of four discrete > > > + thresholds exposed by the TSC_DEBUG_MODE2 register: > > > + > > > + 0: 8191 IPG cycles > > > + 1: 4095 IPG cycles > > > + 2: 2047 IPG cycles > > > + 3: 1023 IPG cycles > > > + > > > > You have to use ns here. You can caculate in driver to match to closed one. > > That is what he is saying it is doing - "internally the value is > converted to IPG clock cycles" and so on. Your repeated misunderstanding > of this though points out that maybe the description is still lacking? > > Dario, how about: > | The gitch threshold in nanoseconds. Drivers must convert this value to Or maybe instead of what I did here for the first sentence, yoink the text from [3/6] instead and re-use it. > | IPG clock cycles and map it to one of the four discrete thresholds > | exposed by the TSC_DEBUG_MODE2 register: > | > | 0: 8191 IPG cycles > | 1: 4095 IPG cycles > | 2: 2047 IPG cycles > | 3: 1023 IPG cycles > ? > I dropped the bit about arbitrary values, due to my comment on the other > version a few mins ago. To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
diff --git a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml index 678756ad0f92..6214d8be5a99 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml @@ -62,6 +62,18 @@ properties: description: Number of data samples which are averaged for each read. enum: [ 1, 4, 8, 16, 32 ] + touchscreen-glitch-threshold-ns: + description: | + Unlike the generic property defined in touchscreen.yaml, this + controller does not allow arbitrary values. Internally the value is + converted to IPG clock cycles and mapped to one of four discrete + thresholds exposed by the TSC_DEBUG_MODE2 register: + + 0: 8191 IPG cycles + 1: 4095 IPG cycles + 2: 2047 IPG cycles + 3: 1023 IPG cycles + required: - compatible - reg