[PATCH QUESTION 0/2] NFC support in Linux (and support for Qualcomm SDM845 devices)
From: David Heidelberg via B4 Relay
Date: Sun Mar 22 2026 - 10:26:19 EST
There isn't upstream driver.
I'm openining this as a starter. We need a NFC drivers I assume. I tried
quick check, but both of NFC drivers register
nfc: nfc_init: NFC Core ver 0.1
NET: Registered PF_NFC protocol family
but efficiently does nothing. In the See section, there are some ways
how to make NFC work, but rely on patched vendor libs, missing updates
etc.
1. What hardware is present on Snapdragon 845, is there some
documentation? It seems that both sdm845 devices has almost identical
setup, thus it's NFC solution integrated? @Qualcomm
2. What's the right approach to continue? Should we upstream these
definitions and then start developing user-space stack? @netdev (I
see orphaned)
Since looking at NFC mailing list (oe-linux-nfc) and seeing it's pretty
much dead, would be cool to revive it.
Also there is some effort from Arch people [1], but likely without clean
path to mainline.
Can we revieve the NFC effort? I'm offering limited maintanance (in case
people would send patches).
See:
- https://gitlab.com/sdm845-mainline/linux/-/merge_requests/62
- https://github.com/NXPNFCLinux/linux_libnfc-nci/
- https://github.com/biemster/pmos-openbox-conky/blob/main/libnfc-nci.patch
- https://github.com/biemster/pmos-openbox-conky/blob/main/nfctest.patch
- pull request
- full of hacks
- [1] https://github.com/zmr-233/linux-nxp-nfc-fix
Signed-off-by: David Heidelberg <david@xxxxxxx>
---
David Heidelberg (1):
arm64: dts: qcom: sdm845-shift-axolotl: Enable NFC
biemster (1):
arm64: dts: qcom: sdm845-oneplus: Enable NFC
.../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 32 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts | 33 ++++++++++++++++++++++
2 files changed, 65 insertions(+)
---
base-commit: 785f0eb2f85decbe7c1ef9ae922931f0194ffc2e
change-id: 20251118-oneplus-nfc-c00ef1cdfa9b
Best regards,
--
David Heidelberg <david@xxxxxxx>