]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8250-samsung-common: correct reserved pins
authorEric Gonçalves <ghatto404@gmail.com>
Thu, 16 Oct 2025 20:21:29 +0000 (16:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:40 +0000 (14:02 +0100)
[ Upstream commit 42e56b53a1919dbbd78e140a9f8223f8136ac360 ]

The S20 series has additional reserved pins for the fingerprint sensor,
GPIO 20-23. Correct it by adding them into gpio-reserved-ranges.

Fixes: 6657fe9e9f23 ("arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE")
Signed-off-by: Eric Gonçalves <ghatto404@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251016202129.226449-1-ghatto404@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8250-samsung-common.dtsi

index cf3d917addd828b4a3229bb0a450af33be1ab82a..ef7ea4f72bf99927c69399aba20291132323fddb 100644 (file)
 };
 
 &tlmm {
-       gpio-reserved-ranges = <40 4>; /* I2C (Unused) */
+       gpio-reserved-ranges = <20 4>, /* SPI (fingerprint scanner) */
+                              <40 4>; /* Unused */
 };
 
 &usb_1 {