]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: ti: k3-pinctrl: Enable Schmitt Trigger by default
authorAlexander Sverdlin <alexander.sverdlin@siemens.com>
Tue, 1 Jul 2025 10:54:35 +0000 (12:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:34 +0000 (16:28 +0200)
commit06c3fda2bda81f5104e7eee52d549c9a031df975
treed5553ed1a89a53416041bf1a62ba63fa174cc735
parent2fdddc181262fc48480b04d301ab11b0b4fbf709
arm64: dts: ti: k3-pinctrl: Enable Schmitt Trigger by default

commit 5b272127884bded21576a6ddceca13725a351c63 upstream.

Switch Schmitt Trigger functions for PIN_INPUT* macros by default. This is
HW PoR configuration, the slew rate requirements without ST enabled are
pretty tough for these devices. We've noticed spurious GPIO interrupts even
with noise-free edges but not meeting slew rate requirements (3.3E+6 V/s
for 3.3v LVCMOS).

It's not obvious why one might want to disable the PoR-enabled ST on any
pin. Just enable it by default. As it's not possible to provide OR-able
macros to disable the ST, shall anyone require it, provide a set of
new macros with _NOST suffix.

Fixes: fe49f2d776f7 ("arm64: dts: ti: Use local header for pinctrl register values")
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Link: https://lore.kernel.org/r/20250701105437.3539924-1-alexander.sverdlin@siemens.com
[vigneshr@ti.com: Add Fixes tag]
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/ti/k3-pinctrl.h