From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 6EB462874E0 for ; Mon, 15 Sep 2025 19:53:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757966034; cv=none; b=r/XlLrTo8CsappAjDl5f3a7D0cUJpRFjFX56hWyrSmg74mDArvXZ/EIj7x5X98oUrzQ/e9ORyqXGFWZLO4SvT1BWQOuiSmRb7LqP0e48nluFvfDZcY/epjQg/O7eqFzuVMEFsCmUDiWA1zHV6RUrA1QoajlqVACKsTH/a1JtY/M= 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.48 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-f48.google.com with SMTP id 5b1f17b1804b1-45f2c9799a3so10222215e9.0 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=eTduH0XN2/uOo9hTB5Epsh5T4oNInahojGyZDH6Vk8zpwYgJ742sq5BcNf9pSuHEWq dIW1K3BiDTdr1bU654MPi+rkGWheKTBIkzpTcuYPzL2UISnjloo9cHALHynpQC6N1RRk NQvgK4apIwrJB9iAom1cMSWcRSQ9EQTMBzdageZmPPLxuP6MDcRMGioMRSQ3Tr2rqG1a zZ2ajH81hbjWOD5IlhALkYofD8f+Zf1gqaK3MAC2N1FqrCkLzquBzFyV52NkLDy8gDLw LVz6BD8I3Wu/37VgycWw1xOXAarM2+igf3yeGjsM71DPnqUP0PXKvZtGhrRFun+1N3vP EF7A== X-Forwarded-Encrypted: i=1; AJvYcCU3B/mkdRdHxcAdncYdYeN6hDf9pfEYp/i1y3rgUTZYziaIXlP/4JnBtIQgDnonnyI06r97rAs0iRwP@vger.kernel.org X-Gm-Message-State: AOJu0YwA9GMfrEuRs+AzkSqIoQAJA7pkrgI7zCUqxbha3mp0jhT/u6A2 e9G5jOt9TYELXRvbrMpXGaGW4gzM2A2oEReosQhZEHdQeCh8Mm5k5svvOP5EGSTY7hI= X-Gm-Gg: ASbGncsiWPvp4MITo1mH7JosFBv2rU3KgqrKTNCDPXSs57gS0hFYi+PeCvp6YijI9QZ fBs7c/nHVBmHDIJ+UuRThCLSH35GJin+1jPmScFi7Xymmgk4fEyurTpg9tOkxgBUpFMY+3wHZ6l cUiZ3akL01DZzV3qY0Jdq9hYP3H4FJi0BayozpKTJ1lL5wUU6gkE5OjktpsbQdWeYTQ2usOpQAj QlxJqubynX8vz2rh4v6Fn8TgxfiFy6FSBo20pOF9tyOP3s9BXjBFj7ioxPZ9cCX3MYbvtZsrg3I SKRk8OCOiJqfognvSZK7OsPjW6GVNxvqrU+jgm8VcYMx0iuJUiASP5SB+EWmPOU43hFEpjTimHH ivbI6hLDMn0MkCzezaV28wQ7EnCGdRUmkUBTU+yaKoL0Jp6J4bdByTpYfx7ouwzM= 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: 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 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