Skip to contentSkip to conversation

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

PATCH Applied Sota4Ever 3 participants 5 messages Nov 14, 2024 – Dec 2, 2024

Subsystems (2)
lore
Share & tools
lore

Sota4Ever

author
#0 lore raw

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

From: Denzeel Oliva <[email protected]>

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 :)

Changes in v2:
- Change author name

Changes in v3:
- Adjusted value <0x08 0x80000000 0x0 0x0c000000> to <0x8 0x80000000 0x0 0xc0000000>
Honestly I was wrong in the parameter and the other one is not necessary to put another "0"

Denzeel Oliva (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 v3 1/2 dt-bindings: arm: samsung: Add compatible for Samsung Galaxy S20 FE (SM-G780F)

From: Denzeel Oliva <[email protected]>

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
maintainer Acked-by on v3 1/2
#2 lore raw

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

Quoted 10 lines · On Thu, 14 Nov 2024 14:36:35 +0000, Sota4Ever wrote:

From: Denzeel Oliva <[email protected]>

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(+)
author
#3 lore raw

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

In reply to Sota4Ever

From: Denzeel Oliva <[email protected]>

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
#4 lore raw
In reply to Sota4Ever
Quoted 10 lines · On Thu, 14 Nov 2024 14:36:34 +0000, Sota4Ever wrote:

From: Denzeel Oliva <[email protected]>

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.

[...]

Applied, thanks!

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

      https://git.kernel.org/krzk/linux/c/9163693d368f00c02fb8a07beabe2c2f18fe0a32
[2/2] arm64: dts: Add initial support for Samsung Galaxy S20 FE (r8s)
      https://git.kernel.org/krzk/linux/c/706119fbbdff2f95a62d1665fb4234ebe4e9392c

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>