From nobody Thu Oct 2 15:37:03 2025 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8F9328CF5E for ; Mon, 15 Sep 2025 19:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966040; cv=none; b=fCpWRHV8vZ4ahLZKbMfRWZdxHsVNasDNLOUGbYQ+dzifNUMFDps6UUUjh+IsH60pHT6s2BqL+rTbWaIlBSTuZzxhuSv2ccT29IvnhTXnbyYStZq7QAq80cSb5J+f2WhWv2i7ekFM8LUOMVOUodHVtDDvHD5HamSTXfe2dmygZYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966040; c=relaxed/simple; bh=jH9/bubhcWhRpYTPmVEynThTP5AYOEziuVsPlmZV1kU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZtnzjcfUpuR4FJaLXyIx4oZ6HTGsdWHmRIaQ2AUqtKucmRRBXgxmdHfosO9EKaoSRcazhHZWFGH6gZEQLoR8MATYvfXod8+KV4UhCYZ6ee1cNkcQKqDNNkNxXQuJ/TskLSbrc1Fl4+BgmD1mfuEoCN9sjKdHjVq0MWcS/H2UeLY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=RFtNbGWU; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="RFtNbGWU" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-45f2fa8a1adso9238245e9.1 for ; Mon, 15 Sep 2025 12:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1757966037; x=1758570837; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JYpBInbhYba1I5IFzkBXif3pXoZfr9uL09LB08J1+iU=; b=RFtNbGWUsyQeOfrVcRCSlKAFl+Ipz6TYVd7rh8UOCcEnvnpICMOdS+Ejd/bnfPDK4L BrRHDYMVQWkldkgrn7DMVRgkGClx6S5yuM/EB03BWSJ4sfMEPKN9KW72otV/a3+SVL26 RVazHba3veFmYefqg8e20jjlRr8q9BDL1BShg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757966037; x=1758570837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JYpBInbhYba1I5IFzkBXif3pXoZfr9uL09LB08J1+iU=; b=R5B2E66h4w6Gja/3ErhN/ck6rE+OkicP/34tqUVSIBWEdPuRdTTga/i73deRtJ9AVo SRCXpU766JbAi9l56Zhbzmkvip/GIqs56E7DXFFgZqFJJ/W1eaBeq780zCvQ8G3CwZ5k w31VK2QI3jhJbmDZ6WMy+MG6h+1YYkChg6zafi5oviGMoQAK755syC2BUn9vOP97lwtk /tclkGfKiYUp+UmsJMrE3snEOV/kE0/a0hYKV2E3M8RjrnKdvtkZT3kflsfd6O/xvLwQ RwpG2h0T0kNfItfjzQHeHZvr0BDfSMATrV5u8FHChOwVhdSQliCUGu8yL2SqoDNvFZOG iLKg== X-Gm-Message-State: AOJu0YxDHDL9Ba7Y3bmcdN4fgO+j9OhyIpUl9JvR5MkneuKJD/qUi2Wh VW9euQqGQj0KLINcPLmSZ4YV2tftJRh2TOQNnk+p7pyZTJkdALidm7wru9m0MA0aCqAZgo5yDh8 Ljl/Y X-Gm-Gg: ASbGnctSyuInz8+shYBeZCcAnG4gZGdA8epYUbyM+gp3oipNMhU8wEF/M76iJnECIST cldy7xM+Dzap8GnH/Q/+9eSCd1h0T5aji1IuEiTgKlAr5an8CGH7Rs3Pd44F00i8irPuRGIf5fp ZS54bsYHilC5hROCIdSXiTnN8mypHZMQP3oHkK2fI/pFtTSltGQlQRN+V5OmEjePd3XiZgf7pGs pnhxSMQl3rtn4COpUXvS3w+qom5ooiem81J2sMWmhWYDXZ0V8RCy1gdg39fe5QxuiBC6L/PSLIP antLXdmVQUdNd+5MaZJC5C7kgJg2PCV1Za6a+DAMvPlNxnlaGUmld1rJ/xnQU0ZUGnMg3ue4rfN 5KQEeEnY/OUhBhhgSsJY7WBR9qWuL5AXA1GRQ1Tnp0H07bTrh3TTnctFWORHlzMA= X-Google-Smtp-Source: AGHT+IGia0IZ0pDiz5Yw5I2pPYwxxrez1ql7kM6HUI8y8toQ7q5lIloMT59fhRpk+Z7OXMtwBgr0pQ== 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 To: linux-kernel@vger.kernel.org Cc: Frank Li , linux-amarula@amarulasolutions.com, Dario Binacchi , Conor Dooley , Dmitry Torokhov , Fabio Estevam , Haibo Chen , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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.ya= ml +++ b/Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.ya= ml @@ -62,6 +62,18 @@ properties: description: Number of data samples which are averaged for each read. enum: [ 1, 4, 8, 16, 32 ] =20 + 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 --=20 2.43.0