From: David Heidelberg via B4 Relay <devnull+david.ixit.cz@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Richard Acayan <mailingradian@gmail.com>
Cc: Marco Mattiolo <marco.mattiolo@hotmail.it>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
David Heidelberg <david@ixit.cz>
Subject: [PATCH 3/3] arm64: dts: qcom: sdm670-google: Add NFC support
Date: Wed, 02 Sep 2026 22:59:14 +0200 [thread overview]
Message-ID: <20260902-sdm670-sargo-nfc-v1-3-bed1cbbffc46@ixit.cz> (raw)
In-Reply-To: <20260902-sdm670-sargo-nfc-v1-0-bed1cbbffc46@ixit.cz>
From: Richard Acayan <mailingradian@gmail.com>
The NFC driver can detect and read an NFC tag.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Co-developed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
index b4854801a5f5e..5c2613e53679c 100644
--- a/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi
@@ -485,16 +485,35 @@ &gpi_dma1 {
&gpu {
status = "okay";
};
&gpu_zap_shader {
firmware-name = "qcom/sdm670/sargo/a615_zap.mbn";
};
+&i2c3 {
+ clock-frequency = <400000>;
+
+ status = "okay";
+
+ nfc@28 {
+ compatible = "nxp,pn557", "nxp,nxp-nci-i2c";
+ reg = <0x28>;
+
+ interrupts-extended = <&tlmm 44 IRQ_TYPE_EDGE_RISING>;
+
+ enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+ firmware-gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
+
+ pinctrl-0 = <&nfc_default>;
+ pinctrl-names = "default";
+ };
+};
+
&i2c9 {
clock-frequency = <100000>;
status = "okay";
synaptics-rmi4-i2c@20 {
compatible = "syna,rmi4-i2c";
reg = <0x20>;
interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
@@ -686,16 +705,39 @@ ts-irq-pins {
ts-switch-pins {
pins = "gpio135";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-low;
};
};
+
+ nfc_default: nfc-default-state {
+ enable-pins {
+ pins = "gpio12";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
+ firmware-pins {
+ pins = "gpio43";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
+ irq-pins {
+ pins = "gpio44";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+ };
};
&usb_1_hsphy {
vdd-supply = <&vreg_l1b_0p925>;
vdda-pll-supply = <&vreg_l10a_1p8>;
vdda-phy-dpdm-supply = <&vreg_l7b_3p125>;
status = "okay";
--
2.55.0
next prev parent reply other threads:[~2026-09-02 20:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 20:59 [PATCH 0/3] NFC fixes for Pixel 3 / 3 XL and support for Pixel 3a / 3a XL David Heidelberg via B4 Relay
2026-09-02 20:59 ` [PATCH 1/3] arm64: dts: qcom: sdm845-google: Set i2c3 frequency to 400 kHz David Heidelberg via B4 Relay
2026-09-03 6:37 ` Konrad Dybcio
2026-09-02 20:59 ` [PATCH 2/3] arm64: dts: qcom: sdm845-google: Improve NFC pins description David Heidelberg via B4 Relay
2026-09-03 6:38 ` Konrad Dybcio
2026-09-02 20:59 ` David Heidelberg via B4 Relay [this message]
2026-09-03 6:38 ` [PATCH 3/3] arm64: dts: qcom: sdm670-google: Add NFC support Konrad Dybcio
2026-09-03 17:20 ` (subset) [PATCH 0/3] NFC fixes for Pixel 3 / 3 XL and support for Pixel 3a / 3a XL Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260902-sdm670-sargo-nfc-v1-3-bed1cbbffc46@ixit.cz \
--to=devnull+david.ixit.cz@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailingradian@gmail.com \
--cc=marco.mattiolo@hotmail.it \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox