Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 0/4] arm64: dts: qcom: Add Samsung Galaxy M52 5G
@ 2026-11-11 15:07 Asdlerto Korry via B4 Relay
  2026-11-11 15:07 ` [PATCH v2 1/4] dt-bindings: arm: " Asdlerto Korry via B4 Relay
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Asdlerto Korry via B4 Relay @ 2026-11-11 15:07 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Kees Cook, Tony Luck,
	Guilherme G. Piccoli, Krzysztof Kozlowski, David Heidelberg,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: linux-arm-msm, devicetree, linux-kernel, oe-linux-nfc, netdev,
	Asdlerto Korry

This series adds initial support for the Samsung Galaxy M52 5G
(SM-M526B, codename m52xq), a smartphone based on the Qualcomm SM7325
SoC.

Tested on next-20261030 with only this series applied: the device boots
to a postmarketOS userspace from UFS. ADSP, MPSS and WPSS come up, WiFi
connects, Venus probes, the microSD card is detected and readable, and
USB peripheral mode works in both plug orientations. The kernel log
shows no errors from the nodes described here. Bluetooth, NFC, IPA
mobile data and the GPU were tested with the same nodes on a 7.1
kernel.

Not included yet: the display panel, touchscreen, cameras, audio, the
fuel gauge/charger and the USB Type-C controller (SM5714). They need
drivers that are not upstream yet. The display works through
simple-framebuffer for now.

Notes:
* The stock ABL picks the DTB by qcom,msm-id/qcom,board-id. These
  properties are left out as required for new SM7325 boards, so users
  add them when packaging the boot image.
* The reserved memory map follows the stock device tree. The removed
  region is larger than on other SM7325 devices (0x5f00000). With the
  common size, the kernel livelocks when it touches the memory the
  hypervisor keeps.
* Several regulators need a fixed voltage or must stay always-on (UFS
  VCC on L7b, the ADSP-managed sensors on L12c). With the stock ranges
  Linux sets the minimum and UFS or the ADSP fail.

Signed-off-by: Asdlerto Korry <korryasdlerto@gmail.com>
---
Changes in v2:
- framebuffer: drop reg and unit address, memory-region is enough (Konrad)
- dt-bindings: nfc: samsung,s3fwrn5: add pvdd-supply; the s3fwrn5 driver
  enables it, so the NFC regulator is no longer always-on (Konrad)
- enable qupv3_id_0, it holds uart7 for Bluetooth (Sashiko)
- reserved memory: drop cdsp_mem/remoteproc_cdsp, the ADSP region covers
  them; replace the overlapping video region with camera_mem (Sashiko)
- Bluetooth: fix the vddrfa1p2/vddrfa2p2 supplies (Sashiko)
- NFC: edge-triggered interrupt (Sashiko)
- raise the minimum voltage of S1b/S7b/S8b to the stock levels, lower
  values starve the LDOs and the touchscreen loses touches
- Link to v1: https://lore.kernel.org/r/20261104-m52xq-dts-v1-0-b198f02912ff@gmail.com

---
Asdlerto Korry (4):
      dt-bindings: arm: qcom: Add Samsung Galaxy M52 5G
      dt-bindings: net: nfc: samsung,s3fwrn5: Add pvdd-supply
      nfc: s3fwrn5: i2c: Enable the pvdd supply
      arm64: dts: qcom: sm7325: Add Samsung Galaxy M52 5G

 Documentation/devicetree/bindings/arm/qcom.yaml    |   1 +
 .../bindings/net/nfc/samsung,s3fwrn5.yaml          |   5 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 arch/arm64/boot/dts/qcom/sm7325-samsung-m52xq.dts  | 839 +++++++++++++++++++++
 drivers/nfc/s3fwrn5/i2c.c                          |   7 +
 5 files changed, 853 insertions(+)
---
base-commit: 7649ba73f9e7e1e04d0b46213e39c79ae09dd55c
change-id: 20261104-m52xq-dts-283ce0fcbc49

Best regards,
-- 
Asdlerto Korry <korryasdlerto@gmail.com>



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

end of thread, other threads:[~2026-11-12 13:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11 15:07 [PATCH v2 0/4] arm64: dts: qcom: Add Samsung Galaxy M52 5G Asdlerto Korry via B4 Relay
2026-11-11 15:07 ` [PATCH v2 1/4] dt-bindings: arm: " Asdlerto Korry via B4 Relay
2026-11-12 11:00   ` Krzysztof Kozlowski
2026-11-11 15:07 ` [PATCH v2 2/4] dt-bindings: net: nfc: samsung,s3fwrn5: Add pvdd-supply Asdlerto Korry via B4 Relay
2026-11-12 11:02   ` Krzysztof Kozlowski
2026-11-12 13:39     ` Asdlerto Korry
2026-11-12 13:46       ` Krzysztof Kozlowski
2026-11-11 15:07 ` [PATCH v2 3/4] nfc: s3fwrn5: i2c: Enable the pvdd supply Asdlerto Korry via B4 Relay
2026-11-12 11:05   ` Krzysztof Kozlowski
2026-11-11 15:07 ` [PATCH v2 4/4] arm64: dts: qcom: sm7325: Add Samsung Galaxy M52 5G Asdlerto Korry via B4 Relay

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