Skip to contentSkip to conversation

Add Samsung Galaxy A20e support

PATCH New Henri Ommer 1 participant 3 messages Nov 21

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

v2 cover Add Samsung Galaxy A20e support

Hi everyone,

This patch series adds a device tree and a dt-binding for the Samsung Galaxy A20e.

I verified the device boots into a LightDM login.
The device tree was tested with the device tree style checker script, which resulted in no warnings.

Henri Ommer (2):
dt-bindings: arm: samsung: samsung-boards: Add Samsung a20e
arm64: exynos: Add support for Samsung Galaxy A20e

 .../bindings/arm/samsung/samsung-boards.yaml  |   1 +
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 .../arm64/boot/dts/exynos/exynos7885-a20e.dts | 123 ++++++++++++++++++
 3 files changed, 125 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/exynos7885-a20e.dts
Signature · 7 lines
This second version of the patch fixes issues pointed out via sashiko:
- Memory size
- Dt-bindings commit message (binding mentioned twice)
- Remove bootargs
- Correct eMMC slew-rate
Best regards,
Henri
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: samsung: samsung-boards: Add Samsung a20e

Adds devicetree bindings for the Samsung Galaxy A20e (SM-A202F)

---
 .../devicetree/bindings/arm/samsung/samsung-boards.yaml          | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +1 -0
index 6f3e02a63..49e9cfaca 100644
@@ -227,6 +227,7 @@ properties:
       - description: Exynos7885 based boards
         items:
           - enum:
+              - samsung,a20e                    # Samsung Galaxy A20e (2019)
               - samsung,gta3xllte               # Samsung Galaxy Tab A 10.1 (2019, 4G)
               - samsung,jackpotlte              # Samsung Galaxy A8 (2018)
           - const: samsung,exynos7885
Signature · 1 line
2.56.0
#2 lore raw

PATCH v2 2/2 arm64: exynos: Add support for Samsung Galaxy A20e

In reply to Henri Ommer

This initial bringup consists of
- memory
- internal MMC
- GPIO keys (volume and power)

The device boots into LightDM on Nura/postmarketOS

---
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 .../arm64/boot/dts/exynos/exynos7885-a20e.dts | 123 ++++++++++++++++++
 2 files changed, 124 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/exynos7885-a20e.dts
arch/arm64/boot/dts/exynos/Makefile +1 -0
index f1946a95c..f359b5776 100644
@@ -12,6 +12,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \
 	exynos7870-j6lte.dtb		\
 	exynos7870-j7xelte.dtb		\
 	exynos7870-on7xelte.dtb		\
+	exynos7885-a20e.dtb		\
 	exynos7885-gta3xllte.dtb	\
 	exynos7885-jackpotlte.dtb	\
 	exynos850-a217f.dtb		\
arch/arm64/boot/dts/exynos/exynos7885-a20e.dts new file +123 -0

123 lines not on this page · raw message

Signature · 1 line
2.56.0