public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH QUESTION 0/2] NFC support in Linux (and support for Qualcomm SDM845 devices)
@ 2026-03-22 14:24 David Heidelberg via B4 Relay
  2026-03-22 14:24 ` [PATCH QUESTION 1/2] arm64: dts: qcom: sdm845-oneplus: Enable NFC David Heidelberg via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-03-22 14:24 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Petr Hodina, biemster, netdev, linux-arm-msm, oe-linux-nfc,
	devicetree, linux-kernel, phone-devel, David Heidelberg

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@ixit.cz>
---
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@ixit.cz>



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-23 22:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-22 14:24 [PATCH QUESTION 0/2] NFC support in Linux (and support for Qualcomm SDM845 devices) David Heidelberg via B4 Relay
2026-03-22 14:24 ` [PATCH QUESTION 1/2] arm64: dts: qcom: sdm845-oneplus: Enable NFC David Heidelberg via B4 Relay
2026-03-23 11:35   ` Konrad Dybcio
2026-03-23 11:56   ` Krzysztof Kozlowski
2026-03-22 14:24 ` [PATCH QUESTION 2/2] arm64: dts: qcom: sdm845-shift-axolotl: " David Heidelberg via B4 Relay
2026-03-22 19:48 ` [PATCH QUESTION 0/2] NFC support in Linux (and support for Qualcomm SDM845 devices) Krzysztof Kozlowski
2026-03-23 22:56   ` David Heidelberg
2026-03-23 11:34 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox