Skip to contentSkip to conversation

arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE

PATCH Applied Eric Gonçalves 4 participants 8 messages Aug 15, 2025 – Sep 1, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE

Add new device tree and binding for the Samsung Galaxy S20 FE
4G/5G phone (SM-G980/SM-G981B)
It features 6GB/8GB of RAM, 128GB/256GB UFS and also has 4G/5G variants.
For now, this device tree covers those variants as they have the same codename and RAM is assigned from the bootloader.

Best regards,
Eric

Eric Gonçalves (2):
dt-bindings: arm: qcom: document r8q board binding
arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE

 .../devicetree/bindings/arm/qcom.yaml         |  1 +
 arch/arm64/boot/dts/qcom/Makefile             |  1 +
 .../boot/dts/qcom/sm8250-samsung-r8q.dts      | 47 +++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts
Signature · 1 line
2.50.1
#1 lore raw

PATCH 1/2 dt-bindings: arm: qcom: document r8q board binding

Add binding for the Samsung Galaxy S20 FE 4G/5G (SM-G980/SM-G981B) board,
codenamed R8Q,
which is based on the Qualcomm Snapdragon 865 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index ae43b3556580..607eee7a1794 100644
@@ -1076,6 +1076,7 @@ properties:
               - qcom,qrb5165-rb5
               - qcom,sm8250-hdk
               - qcom,sm8250-mtp
+              - samsung,r8q
               - sony,pdx203-generic
               - sony,pdx206-generic
               - xiaomi,elish
Signature · 1 line
2.50.1
maintainer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH v1 1/2] dt-bindings: arm: qcom: document r8q board binding

Quoted 9 lines · Eric Gonçalves

Add binding for the Samsung Galaxy S20 FE 4G/5G (SM-G980/SM-G981B) board,
codenamed R8Q,
which is based on the Qualcomm Snapdragon 865 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
#3 lore raw

PATCH 2/2 arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE

In reply to Eric Gonçalves

Add new device support for the Samsung Galaxy S20 FE 4G/5G
(SM-G980/SM-G981B) phone

What works:
- SimpleFB
- Pstore/ramoops

---
 arch/arm64/boot/dts/qcom/Makefile             |  1 +
 .../boot/dts/qcom/sm8250-samsung-r8q.dts      | 47 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 4bfa926b6a08..5ac6aab51a9d 100644
@@ -275,6 +275,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= sm8150-sony-xperia-kumano-bahamut.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8150-sony-xperia-kumano-griffin.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-hdk.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-mtp.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-samsung-r8q.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-sony-xperia-edo-pdx203.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-sony-xperia-edo-pdx206.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm8250-xiaomi-elish-boe.dtb
arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
2.50.1
#4 lore raw
Quoted 6 lines · Eric Gonçalves

Add new device support for the Samsung Galaxy S20 FE 4G/5G
(SM-G980/SM-G981B) phone

What works:
- SimpleFB
- Pstore/ramoops

While the patch is correct, are there any obstacles in enabling more devices on the phone? I'd say, buttons, remoteprocs, PCI and USB peripherals should be low hanging fruits. If you can read pmic_array from debugfs/qcom_socinfo, then you should be able to identify PMICs and add corresponding regulators too.

Quoted 6 lines
---
 arch/arm64/boot/dts/qcom/Makefile             |  1 +
 .../boot/dts/qcom/sm8250-samsung-r8q.dts      | 47 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts
Signature · 2 lines
With best wishes
Dmitry
#5 lore raw
Quoted 8 lines · Dmitry Baryshkov
Quoted 6 lines · Eric Gonçalves

Add new device support for the Samsung Galaxy S20 FE 4G/5G
(SM-G980/SM-G981B) phone

What works:
- SimpleFB
- Pstore/ramoops

Quoted 13 lines

While the patch is correct, are there any obstacles in enabling more devices on the phone? I'd say, buttons, remoteprocs, PCI and USB peripherals should be low hanging fruits. If you can read pmic_array from debugfs/qcom_socinfo, then you should be able to identify PMICs and add corresponding regulators too.

Quoted 6 lines
---
 arch/arm64/boot/dts/qcom/Makefile             |  1 +
 .../boot/dts/qcom/sm8250-samsung-r8q.dts      | 47 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts

Hello Dmitry,

Recently my device's battery stopped responding and I was not able to work on the DT any further, so I decided to upstream what I already have so far. Thanks for the feedback, I'll include more features on future patches.

Best regards,
Eric

Reviewed-by
#6 lore raw
Quoted 24 lines · Eric Gonçalves
Quoted 8 lines · Dmitry Baryshkov
Quoted 6 lines · Eric Gonçalves

Add new device support for the Samsung Galaxy S20 FE 4G/5G
(SM-G980/SM-G981B) phone

What works:
- SimpleFB
- Pstore/ramoops

Quoted 13 lines

While the patch is correct, are there any obstacles in enabling more devices on the phone? I'd say, buttons, remoteprocs, PCI and USB peripherals should be low hanging fruits. If you can read pmic_array from debugfs/qcom_socinfo, then you should be able to identify PMICs and add corresponding regulators too.

Quoted 6 lines
---
 arch/arm64/boot/dts/qcom/Makefile             |  1 +
 .../boot/dts/qcom/sm8250-samsung-r8q.dts      | 47 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/sm8250-samsung-r8q.dts
Quoted 7 lines

Hello Dmitry,

Recently my device's battery stopped responding and I was not able to work on the DT any further, so I decided to upstream what I already have so far. Thanks for the feedback, I'll include more features on future patches.

Thanks!

For this patch:

Signature · 2 lines
With best wishes
Dmitry
maintainer Applied
#7 lore raw
In reply to Eric Gonçalves
Quoted 10 lines · Eric Gonçalves

Add new device tree and binding for the Samsung Galaxy S20 FE
4G/5G phone (SM-G980/SM-G981B)
It features 6GB/8GB of RAM, 128GB/256GB UFS and also has 4G/5G variants.
For now, this device tree covers those variants as they have the same codename and RAM is assigned from the bootloader.

Best regards,
Eric

[...]

Applied, thanks!

[1/2] dt-bindings: arm: qcom: document r8q board binding

      commit: 5fa902fb5716f419915fdb11c6b7e62f5ba7d14f
[2/2] arm64: dts: qcom: add initial support for Samsung Galaxy S20 FE
      commit: 6657fe9e9f23b1c61d0bcc14a3af732f92fdc19b

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>