Message ID | 20250918155240.2536852-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBU6VWDDAMGQE36IAMSY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 80DC33F14F for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 18 Sep 2025 17:52:52 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-629f069572esf2112386a12.1 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 18 Sep 2025 08:52:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758210772; cv=pass; d=google.com; s=arc-20240605; b=LiH3sAIvdhUfeXrYULkgPK1lsyvn69nuzbSlLNNioAwieylTHUF0co4Gk41IiWVZ9c p2JIJIdcW4gLhKImB5rm9nslWNyzR5ExOubLvuSIngc9LOklp7tbshRMiLJKZ3xF7AMp I/rTPV/yu63sCHs9ntVwO0v6V71VWbaE21i7pGaAj/2klnm6iV7fgVYvYbFczv2PzVNS XBebWCE5qa5jLFfQniyLIX2Ve+hLG6NGAVV4Uyd471ChwTL7B0BprODTuvdzIXobvWcl AfH9WtlHnaEMzj01qeBqRhpXLgpO/3lCGB/1iA8EfIRqw+Kz/VcdV1kqfscDQOVXM0kt Z4ag== 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=I4/uRBIbG1E49oTnSskb+gVeFvs8bjE2NpBjkWl5QME=; fh=dtMMmhC27qGA+ABBbijJ02rywU7ZJjbNo+fykE7oitI=; b=bfvISkW+v3tb5LYZ4mFaxxr2UvrewF4/bxfFpGSHXzzMBDqTrFbadMlHKbJUhMHTSK j5HQgsXDAHgTMbbtpupV4MAQb1Z16CLkSFgDn8+/ZaJcN/AAttDEDzjtbDYkG1SmjDMP 8EFcU6nrFtQ8E9MPV9zyay0+DEDysz82cvrZeyDtFQM72+QqkhEnuA6ZQQZFO/9XcsKR R1ZVlvYxMRdhhxgyW5dSStYCnLt9BCCTOgMxWpRK7KBqLPWmX4slbleJbkIddXQqwwq1 R0r2MZrkfuHaTbfXZD08kQl+GwX48cPYiDhz7FuWDKyfGMYezaheUOFVfQEI7NGmMxBX /A8A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KGtGbmg9; 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=1758210772; x=1758815572; 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=I4/uRBIbG1E49oTnSskb+gVeFvs8bjE2NpBjkWl5QME=; b=PcQR0nJJ0s7kR3kHsSrUs47a0IrYOrc58TPmoD2k/B7UJA/q7x1LuJaP4rhBHsrT9U M+l+xWTvJXGdKlmKW+Bp4O7u8Rd8ejDnDb6Hl/QBxw3tDAGemBjIQnBspk5MbhuE00SK EZ2u+URlhYavJttGJsrko6B8kCs2MtZr6a/f4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758210772; x=1758815572; 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=I4/uRBIbG1E49oTnSskb+gVeFvs8bjE2NpBjkWl5QME=; b=jlEFdho0t2Es2CLNRUgNaE152ZriX5GHwPCK1kYh5teyMF/fSyMAfy6sfIHGbcmB35 l39GC+yQlnJqkkbakCUYApsNhefE61qAlEjfnqKfKUoVj/ZPrQtECl5XQqkvJqYi1a5f RD8tYYZrdAY8U7jsjnppTW2fuv1RTPTDwQKWUcgqUPgRDACwQ8yD80B0QJEBsn85H+Hu 3t6JFcRSUlbZJsrEIQEoWRbuEcU8kSBZ/P1oKzSO+k7f9/9Ol7tpNNOHD385KcFXtNhY Qyx9VoM6At99+5pseQV4nEgZ6qyHGoNilZ3K8jrUZl9fqRaPfCjxPN+J3hoPeMfLNCBA B2tQ== X-Forwarded-Encrypted: i=2; AJvYcCWyQKhdakb+YS5ycWGopvoetNv3x06dn/+94XDXRaJDxrcBmo8es9bEzW7JHt0R2xPON0ZWXKscCpMdLlT8@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yz7RhAleGPxfwIjEzkUI0XUkbbqYdsBfsBkhTXJ9AsDvfxl04AR ICVApi0597XMDlKUtQTp2t7wofFRpF4JLht/A73dT6JoouaXVV8B/vzMgp1obOORNNg9Nw== X-Google-Smtp-Source: AGHT+IF/Ovw0LcyLNz713LfiyDkT7wI+HJ3DZoRziKLqnCWa9lYGc3VbFmKmIaCBiwkq7LulglPK0w== X-Received: by 2002:a05:6402:504b:b0:62f:a4dd:8218 with SMTP id 4fb4d7f45d1cf-62fa4dd8526mr2626422a12.11.1758210772100; Thu, 18 Sep 2025 08:52:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd7gVIXf8N9HGZyrEaOyPlTMofDDB8rNLsd3g6kJ8Dxw3w== Received: by 2002:a50:9997:0:b0:61c:2aab:34f4 with SMTP id 4fb4d7f45d1cf-62fa7730f67ls683563a12.2.-pod-prod-00-eu; Thu, 18 Sep 2025 08:52:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXo46Ds9npr6FfxAfIh0FnAsEarWuPkStnfnqZk04fR20FKw+piqJY7x249FpHA6TSaISuPcjnejB8RVrQD@amarulasolutions.com X-Received: by 2002:a17:907:8689:b0:b07:880b:79d3 with SMTP id a640c23a62f3a-b247fe8c3e7mr31682566b.0.1758210769423; Thu, 18 Sep 2025 08:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758210769; cv=none; d=google.com; s=arc-20240605; b=cpgrQlmACdGggE5PZJpGqH5xeAJ7HY4KbQpSfYiIweFkxNXKGF19c+xkbHP+Th1uWg kkcv2MNH4oDuVZ1xm5maOUs7OtmjoAjd4uCAc+8t3+YxQhWDqeAR+X+q/ezpU283IS0v wWixSBtM5yZl8rQHQkoN2jiPRZTMDF3f9Pw/c1K2XCKFWIfg8iodnIJin4/Opalr7e9J utzk2t4RrDpHXwz0D6hVdFrqUw74NJii7t6W+8Ma+h03Ezf3ICV5iI6xRoHmD9hWvPWj SSumUcVw5dKDjpgm3wk4hE5QzhNS9cSM9Gp1mTwA22SNvxJtVjesPnusnJFX2qD71bIT u+gQ== 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=9lcdJmzD84uDfab79lyqxcqnmMvBiautmvBU6m3EhEI=; fh=/d4NCsSYIkBL/34fs8DT54LO1y8peFNA6Qrqj8ZaRPc=; b=UKZDOQC6e3fMoohleFv5RAqOX0ADa6ptjdfUJPQNwFDam1ZkCTvejvo88ILKk4BmOs 5y3Kv4AEfJEG77ACmVIzJ+Eg4CX4dqh+wOYa7RGY01guDmspunEeFCr47s2vK9555CAx mMTdsOfV1tO3zW2+35tR/Jc2BUT+Mktizj3088HdteMHvF9PpheDMpkQmlqZ93Hxu1WM AeEbS6N0W97ar28OV2UznOuDOaCY20gU78jqrGMq+MlRIJoUZ/3VAjrmbmEwb2lZeaSR pKEwNT/w7SVvx+HxceddBdK9qzqXpdRlRRuGufDE4YvO7NlnrgDECcg5kVjYfAyFocQR FA1A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KGtGbmg9; 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 a640c23a62f3a-b1fbb27151asor143523066b.0.2025.09.18.08.52.49 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Thu, 18 Sep 2025 08:52:49 -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; AJvYcCVBjjkW6CCSwMCP4m4V83sgMPOJwCDN2SHEBGy9cPBEV7dGMf777wqWS5U1W83C7wgnHvSylTDV6um49AoO@amarulasolutions.com X-Gm-Gg: ASbGncvRuC/DwLe3lWdQ0Staum/MOe92maeQaAmjlDPium1ZkPfDQeGzYjytNAjxUW/ QZajDG151HNKsYPA3En8Cewh9WpAgsSfGwXu9mh5t06A83I796KgQJqSox/kb2XPSiXydlTkji7 VKSsHJZhsRQ1iGKJ2q73/u0ZH+B2VQAzUUlA671fNbgpxg/VfSzXUqS9IJS3edqZews5wjq8qIs cXuMw/6fICjinoLwSbcMU/+rJLXfSXHgqWbAineRFw+cXxu5p4S5/E5bwaBeE5ZpgWxcDE7V9tI Y8Yij0Kg53yqu75q+/DENJZyVGUInqWESi6aQ4o1ijWHAfd41m+XSl+iT1DhGan/gRmKv/BgyQl tJJnV1/WnmjJqHeI93lQcy8pwis93331VLb4VoLhs2HqtoXrF6ICy1zbhOj+56ZjtDf69IAtIH3 9w6BAjBKxKWbBI0K9qSpyYsh0YdRzSP0Gyl/Nb+hTopqP77VJePCk1OwT3tZdedqyxC0QpisyCa t9hM+w4Y8g= X-Received: by 2002:a17:907:934e:b0:afe:ef8a:a48b with SMTP id a640c23a62f3a-b1fae7a9b82mr410713866b.30.1758210768899; Thu, 18 Sep 2025 08:52:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b23a1227bacsm60449766b.41.2025.09.18.08.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:52:48 -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 v5 4/6] dt-bindings: touchscreen: fsl,imx6ul-tsc: support glitch thresold Date: Thu, 18 Sep 2025 17:52:32 +0200 Message-ID: <20250918155240.2536852-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918155240.2536852-1-dario.binacchi@amarulasolutions.com> References: <20250918155240.2536852-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=KGtGbmg9; 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 |
|
Related |
show
|
diff --git a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml index 678756ad0f92..1975f741cf3d 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml @@ -62,6 +62,20 @@ properties: description: Number of data samples which are averaged for each read. enum: [ 1, 4, 8, 16, 32 ] + touchscreen-glitch-threshold-ns: + description: | + Minimum duration in nanoseconds a signal must remain stable + to be considered valid. + + 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 + required: - compatible - reg
Support the touchscreen-glitch-threshold-ns property. 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 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- (no changes since v4) Changes in v4: - Adjust property description following the suggestions of Conor Dooley and Frank Li. - Update the commit description. Changes in v3: - Remove the final part of the description that refers to implementation details. .../bindings/input/touchscreen/fsl,imx6ul-tsc.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)