From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 4F6DC635 for ; Sun, 14 Sep 2025 17:16:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757870179; cv=none; b=Ynsst3vYaa0QfHQ7debWeFgp0mvig+rXjkUov09psD3Ns0IJRjTA3/0WsfPpM+5dTFfpbvACaT7juASVT/9Zm391bFyYNk8xee0QAESH+BwqTNx0w/yF8MOToWZJ2RN9rohgGPHn34OdggAN0J2j8Fyzq17rijqOMRo6R22tdGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757870179; c=relaxed/simple; bh=nftBCL6M74z8HHTn4ctuVWkq8xVvp0KWzD6g/yIisLQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=EosNxFzM6PICkLgkKLTtMdRDqHE2bKVpcFShBo90l6diPjGVuYrEl2qdyiF0ta0neFMxhSFVxdnS+28wZ4GJfCz1WVb6PLv08ZGuOJBitDlP6i2gXOmwrXuA78Cpk8x57l+bjTFIZyxWLHMI170aRnhkf8hPjzAqFRsQAcOueWQ= 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=aYG61GA9; arc=none smtp.client-ip=209.85.218.47 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="aYG61GA9" Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-b0418f6fc27so589347966b.3 for ; Sun, 14 Sep 2025 10:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1757870176; x=1758474976; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0BZMewSeCcTTiC1gUbhDF3UKkouTbS+YRMuO2NhSHUs=; b=aYG61GA9jSF96772jvHJL5h1+/73vwV5/VfeWiFpC+4jPSsJ0ZkiF2ixfJ5mVZA7BW iLF7BTmWLVLrhmpU/Odjakpcdw8nI17P3qpESWPWd9M+ICjMVholkokMLz3r9EWHfY8y HbKd6VCyCrDgG4QQ9DlYpsOUePoUbGvXoZ2dA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757870176; x=1758474976; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0BZMewSeCcTTiC1gUbhDF3UKkouTbS+YRMuO2NhSHUs=; b=Kx4FL9DOcqcaB3UDhC3ZJWp1G/SMbNhhJGjGS0kMqyjJ5EAm0iLGQcGuqVfyn5euoe 2euPD33Papi5yEPqG4WxxMvsdJwoAbKx/mfh5LyOno74PxaM+u9iBKd9EMj3yhEnlPJx Ev3Jg0y1z7QVFu9lS9FWeTY/MpM7gpCePW3JQyWxaY8SaOuoB2ExNTE0BnvzZCSugbFE R+aUJkyqZCUysw6DBiRHZc9pSBUdKzdmZ7UYHA6zeq5j48OIa/wQsPtokLly0bemblj/ BvclyPPJvGpURYz27Tz2Uq8GEYtQSJsT5NSWS4roFlpDtBbXkezxwGlZ3sJuQ9n2dExB LrPA== X-Forwarded-Encrypted: i=1; AJvYcCUKcecF+4y56kKOlOBDw6CPOtr5Vwf9w3ps3Lvgr/M2ryJvYaXv3G+kA/X0I+dElZkHnzBgQEH4E21v@vger.kernel.org X-Gm-Message-State: AOJu0YwRZCV92NBv1hpDeVJZa6cRk1+emxYntPBr5ZP1TEtyJdQkeIF7 8FN5S10JUMf1JfYL63IIjmuv7s3MbBnnyROAyuOORuVtvw4Q88Ke58eGCyaBIESM9CI= X-Gm-Gg: ASbGncuDRo+fHrMNbJNynYHMY8KyLvPl8gsM5tPalfWJQLLvMFkbGl/E/Vxzv9CkWOb Ujuv9DW4BUyReST905hVcGauC16UcfikLQUPoPomnzYEcSCaSSCnxJEjMeYNGHW1Szt2+hKcWIx OOXkKqJ3AkxhjR9M1hla3X0UfAWT10io5rfKhBqtrnTqfkZDUUCSTCQQJtHcn9fbKSWItKnw3jv JKKvrL+ft0jF7h3Vzvy8eUNeLfTcfJzsG1qGZeS8vvIWSoeHOWqjrrFw5sRECaIlO784uc047D1 1XZp0qiffsFtiQRrlwtc0rlsVj3Z/jKUHfFF3orxISCEzb+UnnwWcnowxWJqhdg/BJR+Z78mRnP fxcn2fDIqjizXYR8lj+hGWzBsMpTUMG0VXkpEQixs0KhWgjk1XtFyOV8PzLPPmHLJXiY+3gm+cv J4rGOiGyhdQ0MaydrnE18WVzBMCsT8KFiKiHLJvT3t0Q440NTP76gQB5RuoXPYJylIjinYUlWBf rA= X-Google-Smtp-Source: AGHT+IFNtfhow60LKf3kFnxnyjXUZ4Oc4lyoGvrn1vqt8LXeEwCDevETYH1mO/LwuhCnJBRIxMl4VA== X-Received: by 2002:a17:907:1b08:b0:b04:5b0a:5850 with SMTP id a640c23a62f3a-b07c35fb999mr990822466b.40.1757870175496; Sun, 14 Sep 2025 10:16:15 -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-b07b334e76dsm776980466b.102.2025.09.14.10.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Sep 2025 10:16:14 -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 , Javier Carrasco , Jeff LaBundy , Krzysztof Kozlowski , Michael Trimarchi , 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 v2 0/6] Input: imx6ul_tsc - set glitch threshold by dts property Date: Sun, 14 Sep 2025 19:15:57 +0200 Message-ID: <20250914171608.1050401-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The series allows setting the glitch threshold for the detected signal from a DTS property instead of a hardcoded value. In addition, I applied a patch that replaces opencoded masking and shifting, with BIT(), GENMASK(), FIELD_GET() and FIELD_PREP() macros. Changes in v2: - Replace patch ("dt-bindings: input: touchscreen: fsl,imx6ul-tsc: add fsl,glitch-threshold") with ("dt-bindings: touchscreen: add touchscreen-glitch-threshold-ns property"), making the previous property general by moving it to touchscreen.yaml. - Rework "Input: imx6ul_tsc - set glitch threshold by DTS property" patch to match changes made to the DTS property. - Move "Input: imx6ul_tsc - use BIT, FIELD_{GET,PREP} and GENMASK macros" patch right after the patch fixing the typo. Dario Binacchi (5): Input: imx6ul_tsc - use BIT, FIELD_{GET,PREP} and GENMASK macros dt-bindings: touchscreen: add touchscreen-glitch-threshold-ns property dt-bindings: touchscreen: fsl,imx6ul-tsc: support glitch thresold ARM: dts: imx6ull-engicam-microgea-bmm: set touchscreen glitch threshold Input: imx6ul_tsc - set glitch threshold by DTS property Michael Trimarchi (1): Input: imx6ul_tsc - fix typo in register name .../input/touchscreen/fsl,imx6ul-tsc.yaml | 15 +++ .../input/touchscreen/touchscreen.yaml | 4 + .../nxp/imx/imx6ull-engicam-microgea-bmm.dts | 1 + drivers/input/touchscreen/imx6ul_tsc.c | 122 +++++++++++------- 4 files changed, 98 insertions(+), 44 deletions(-) -- 2.43.0 base-commit: df86f912b45c20e236060321c85fe35437e9325d branch: tsc_de_glitch