Skip to contentSkip to conversation

Add support for Samsung Galaxy S20 FE (SM-G780F/r8s) [SoC Exynos990]

PATCH Superseded Sota4Ever 2 participants 4 messages Nov 9, 2024 – Nov 11, 2024

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Sota4Ever

author
#0 lore raw

cover Add support for Samsung Galaxy S20 FE (SM-G780F/r8s) [SoC Exynos990]

Hello :),

I'm a newbie and I started getting interested 1 year ago. Well, that's the beginning,
until I learn more about kernels and the C language, which is important in that.

Well, bluntly, here it is:

That Samsung Galaxy S20 FE device is part of the Exynos990 SoC family, I saw that Igor supported that processor,
I took advantage of it.

It has the same functions of:

* CPU
* pintrl
* gpio-keys
* simple-framebuffer

Just enough to reach a shell in an initramfs.

The preferred way to boot the upstream kernel is by using a shim bootloader, called uniLoader.
Changes: - Simply add dts from S20 FE device

Special thanks to Igor for helping me with that :)

Sota4Ever (2):
dt-bindings: arm: samsung: Add compatible for Samsung Galaxy S20 FE

    (SM-G780F)

arm64: dts: Add initial support for Samsung Galaxy S20 FE (r8s)

 .../bindings/arm/samsung/samsung-boards.yaml  |   1 +
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 arch/arm64/boot/dts/exynos/exynos990-r8s.dts  | 115 ++++++++++++++++++
 3 files changed, 117 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/exynos990-r8s.dts
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/2 dt-bindings: arm: samsung: Add compatible for Samsung Galaxy S20 FE (SM-G780F)

Add binding for the Samsung Galaxy S20 FE (SM-G780F) board, which is based on the Samsung Exynos990 SoC.

---
 .../devicetree/bindings/arm/samsung/samsung-boards.yaml          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +1 -0
index b5ba5ffc3..168e77375 100644
@@ -240,6 +240,7 @@ properties:
         items:
           - enum:
               - samsung,c1s                     # Samsung Galaxy Note20 5G (SM-N981B)
+              - samsung,r8s                     # Samsung Galaxy S20 FE (SM-G780F)
           - const: samsung,exynos990
 
       - description: Exynos Auto v9 based boards
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH v1 1/2] dt-bindings: arm: samsung: Add compatible for Samsung Galaxy S20 FE (SM-G780F)

Quoted 4 lines · On Sat, Nov 09, 2024 at 11:04:01PM +0000, Sota4Ever wrote:

Add binding for the Samsung Galaxy S20 FE (SM-G780F) board, which is based on the Samsung Exynos990 SoC.

I doubt "sota4ever" is an known alias, can you use your name here please?

Quoted 19 lines
---
 .../devicetree/bindings/arm/samsung/samsung-boards.yaml          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +1 -0
index b5ba5ffc3..168e77375 100644
@@ -240,6 +240,7 @@ properties:
         items:
           - enum:
               - samsung,c1s                     # Samsung Galaxy Note20 5G (SM-N981B)
+              - samsung,r8s                     # Samsung Galaxy S20 FE (SM-G780F)
           - const: samsung,exynos990
 
       - description: Exynos Auto v9 based boards
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 2/2 arm64: dts: Add initial support for Samsung Galaxy S20 FE (r8s)

In reply to Sota4Ever

Add initial support for the Samsung Galaxy S20 FE (r8s/SM-G780F) device. Its launch was in 2020 and also based on the Exynos 990 SoC.
It is only configured with 6GB of RAM, although storage options may differ.

This device tree adds support for the following:

- SimpleFB
- 6GB RAM
- Buttons

---
 arch/arm64/boot/dts/exynos/Makefile          |   1 +
 arch/arm64/boot/dts/exynos/exynos990-r8s.dts | 115 +++++++++++++++++++
 2 files changed, 116 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/exynos990-r8s.dts
arch/arm64/boot/dts/exynos/Makefile +1 -0
index 7a934499b..948a2c6cb 100644
@@ -9,5 +9,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
 	exynos850-e850-96.dtb		\
 	exynos8895-dreamlte.dtb		\
 	exynos990-c1s.dtb		\
+	exynos990-r8s.dtb               \
 	exynosautov9-sadk.dtb		\
 	exynosautov920-sadk.dtb
arch/arm64/boot/dts/exynos/exynos990-r8s.dts new file +115 -0

115 lines not on this page · raw message

Signature · 1 line
2.34.1