From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 9034628CF41 for ; Mon, 15 Sep 2025 19:53:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966040; cv=none; b=nZJDpE0EKNdOG1e7jXS3DN84ysLKanDy4IctcIXhGyu1MG1VUnNNHAwNf2JGf7ND1tZjVYQzz/71PmNvupnNSvM+JPq3K/BubIVupzQdmF/Q0aAboDnSo+wby+dmN26n2/3ul4YDbly+m+Vuky/oIgmb/iSe0ai+4WGsreLkeDg= 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.54 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-f54.google.com with SMTP id 5b1f17b1804b1-45f2acb5f42so12387555e9.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=DNGUJj8PClrQm0XZ4gWPvHVsy3i6yz23Tl1eZM+5XF4VSOTzdfaHXLxwIl4HfPI19q I8DjYR9600+DiGkQpgooELkrHKDsT/Z/ZUjBXxZFJvozLQ3ryb1FWZCflw7lX7rANaa7 6jbH6HWjaq5W4xsasNe9kfxtxxXUXqhplwWJsPbUqAXoK7OQDcF8J5yPYGDHlyZVLR0L Eh5and8WbqC/sPviu8aYoNZYJISmrQ3NyRIK7MClMQAxBsQ6/Fv5WnBXDZs0x+36xk0T jObrezSEOkPu1nZWBRi0da35l41DxRWgzKSi+jget2bJciYnIZ9tBXZyP6yr2sEdhWrr V7Pw== X-Forwarded-Encrypted: i=1; AJvYcCUVFcTsoWfXhb2Dbyh7rlLKsbiqGCgeMUtWHE7yvd1RfxCqJ90HM5eEt8WWlInofZYFXoGO7qrzoBH/Wg==@vger.kernel.org X-Gm-Message-State: AOJu0Yx/qPe7hQze8lpmKsXJIKFrJlMW4EWqPvyti5Wjtk+n3sq6v3/p QbMmKyzSjr+iZKvsV/iqJmcl3rr4bM8hgLrC1/2bdwuSEyyGVJijgp8O+0Tb6JrJmRY= X-Gm-Gg: ASbGncsx354Sn8S9B/l4yFqUQ+nMbhT2C8jj/r50D4mtVLxs6rTmgOR4uRVL8EqNxyy H9oyzR/UG3yUsUQ7WuCSJtarrjIOGOhQEZh2qByu4zKXo8ayHebF0zafo9kuK4FkoRSS6ui4MfU 03zpYwABp663nkSlA9Wd0wLZmA0afn9WG1w1wlLhb5WFB2luWwSG8YtRptPS57I5GNH3t9bFpuh rRTIIT8o7tZWoT5slcRYy/XyNH0TFQaNc84Xa4r8EMCmF/SCPXYupMsFobtBYgZGzCKOlLmsDt5 fLW8L2CcHRbYS3l6JCDXCBz3jE3Wg3DFtbYL08j6sE8MnwOyTcfNlqyX4PcvJoS9vEwgGNXHu/k LmAFELaYh2s8wOFuysK3HD2HQvxyhO9l9zmmV2thspFoc+QMqXEP6y2k/EgDXYAU= 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-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.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 -- 2.43.0