From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 920732874F1 for ; Mon, 15 Sep 2025 19:53:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966034; cv=none; b=WWgK5uN3VUk7HPm91lUvKvL85aV8dznNmeQtHuseD5NTTXG6THIer6PU0yzZzLo74w6866fk1GyM0XK8ncJfpsvLkAACLNQp8lZWzsdTLe2qqNjT4pmiiB+RhYZjhAPKeo3c4527whCqq1qBGTtFk/FIrVhuUIeghMQn3mFmz94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966034; c=relaxed/simple; bh=4+yxs60OAVC+egyNAJiQPoNAhkAmxqsLILpbkalQphk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=d/6fKCm7TOO/YdYOFwFU031aDKXSqFdJPUOn1O0zIi0HKMJ3uTt7DYx/ya+X412RXc30vZ0sFQ5DxjF7LykN6WD5U9bGvuPU77aMUWXs4r/pa0nnGld6okQXy6A4Hu238obBWMi8TUhYEVx7bwagNxn8dESen6WFw0PBdt13ga8= 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=kRXhSUag; arc=none smtp.client-ip=209.85.128.43 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="kRXhSUag" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-45df0cde41bso35024745e9.3 for ; Mon, 15 Sep 2025 12:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1757966031; x=1758570831; 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=vJhLIV1mYQqcST1oL+DWVlUO1Mmv/0wElK+MzmN2lAU=; b=kRXhSUag1/nS8E9xY2G9KRhCheSE0I9o3LyDArUUJ9sVex8XnMOTPmJaWjvSV4ALEK SZaLC+2giSK4D2kZvYU0ypTQ8oCHwxrzeQFZMA/gPUSNR+dNU08usJm0cbJ3xaayW65i 41E7e56XROM4SCpuC5RjugIL2go9gKfviWSV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757966031; x=1758570831; 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=vJhLIV1mYQqcST1oL+DWVlUO1Mmv/0wElK+MzmN2lAU=; b=XTvIF2jOwD/TwtnwIL12RIfBzfPFnc7cGgAAZXu1+mKqNOhTnejlFCNPGMX8KGn9/G zqhSrP4r6KrR8YN7Mxch7d7lEqGH1KONO66ew+ptDRJasvWifuDM9e+y2RTPrexbKSYG PzjpnbS92CfeYxJJxLPPqZIetzB54G/H/HqYqPdsUyhJdNC5Cwl7B7p4T3ETQ25WyD5Y /t7vQaIdq0Lmdzyrpj3O+KSCW9w18KS3yH33uM5eAao/ZYx+/gRAoLzSUYGZZjMSqV9N LFohOGypYCJkYW5tWs7btGnT8mjK+G1dpPIfDDz2ADdhti8ysJTt5N9PfB+D1KVR1kL9 a9vQ== X-Gm-Message-State: AOJu0Yw4F2wruI2N3jcyaDKcDZcpZq8ZTTe7ceoiGmYyqYtPwHMjfY45 JrSBkKDyDWagaHP6HYv6h9bkmJLmUS95ggNHoLZyFX9+2fgwaac6L2uCnaNXukiL+rKlJH6ldMh NhDLI X-Gm-Gg: ASbGncte6WGkQNG5ix4wVjsVsmNPy56nb7kSHx0LyJiv9ec6zEblnoiUFBKDBPtpxww TsX6BpY6D3AEd3QiUnk7xLT8+6mJXsqMDldoutFguKPX7HdGDS+23UfOQ1UUHanIa149e1znhHt fbB4VRRo0cZRNqCc7ueY94feC9jzRclXJ0bGvJNRJhvLcpX996ffFjMPj2JOVh1YMTFNXBd8UwZ 40zinakItqNtjxwFSAvPGaqT4D6y08gP9LKA23/QTAo3aERlp4kfGoTLz3Dw1N0s4KF8vOueeZQ 6QMZT5VzLeIiKvIS111LBu8Ec4RzDoEPdIgQ/Vd3Uf7nEFyzl0RVQbXAejuJNtNXLd4ePDxEDd7 pUq02P/sc+qXM+uEYapU/FFK2zIIW7ZYm8Qb6GsBuvVgbuqaw9pDE8VGjFDqLGZc= X-Google-Smtp-Source: AGHT+IG7qHwPsEqR9IHaKIK+gqJMIa/E+Jy05PFsgkH/KUwCOfGsFJPue2mRPxnFFVk+CO6qHeKm9w== X-Received: by 2002:a7b:c44b:0:b0:45c:b5f7:c6e4 with SMTP id 5b1f17b1804b1-45f21202a1amr79796525e9.35.1757966030718; Mon, 15 Sep 2025 12:53:50 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Sep 2025 12:53:50 -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 v3 0/6] Input: imx6ul_tsc - set glitch threshold by dts property Date: Mon, 15 Sep 2025 21:53:02 +0200 Message-ID: <20250915195335.1710780-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@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 v3: - Remove the final part of the description that refers to implementation details in fsl,imx6ul-tsc.yaml. 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 | 12 ++ .../input/touchscreen/touchscreen.yaml | 4 + .../nxp/imx/imx6ull-engicam-microgea-bmm.dts | 1 + drivers/input/touchscreen/imx6ul_tsc.c | 122 +++++++++++------- 4 files changed, 95 insertions(+), 44 deletions(-) -- 2.43.0 base-commit: f83ec76bf285bea5727f478a68b894f5543ca76e branch: tsc_de_glitch