Add Samsung Galaxy A21s support
v2 cover Add Samsung Galaxy A21s support
Hi all,
This is a small patch series which adds support to the Samsung Galaxy A21s. This device is part of the Exynos850 SoC and its device tree is very loosely based on the e850-95 one.
Thomas Turner (2):
dt-bindings: arm: samsung: Add compatible for Samsung Galaxy A21s
(SM-A217F)
arm64: dts: exynos: Add initial support for Samsung Galaxy A21s
(SM-A217F).../bindings/arm/samsung/samsung-boards.yaml | 1 + arch/arm64/boot/dts/exynos/Makefile | 1 + .../arm64/boot/dts/exynos/exynos850-a217f.dts | 194 ++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos850.dtsi | 2 +- 4 files changed, 197 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/exynos/exynos850-a217f.dts
Signature · 1 line
2.47.3
PATCH v2 1/2 dt-bindings: arm: samsung: Add compatible for Samsung Galaxy A21s (SM-A217F)
Add binding for the Samsung Galaxy A21s (SM-A217F) board, which is based on the Samsung Exynos850 SoC.
---
Changes in v2:
- Sort via alphabetical order
.../devicetree/bindings/arm/samsung/samsung-boards.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +1 -0
@@ -232,6 +232,7 @@ properties: - description: Exynos850 based boards items: - enum: + - samsung,a217f # Samsung Galaxy A21s (SM-A217F) - winlink,e850-96 # WinLink E850-96 - const: samsung,exynos850
Signature · 1 line
2.47.3
Krzysztof Kozlowski
maintainerRe: [PATCH v2 1/2] dt-bindings: arm: samsung: Add compatible for Samsung Galaxy A21s (SM-A217F)
Quoted 4 lines · Thomas Turner
Add binding for the Samsung Galaxy A21s (SM-A217F) board, which is based on the Samsung Exynos850 SoC.
Signed-off-by Thomas Turner <[email protected]>
So I completely missed it because you cc-ed other address.
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC (and consider --no-git-fallback argument, so you will not CC people just because they made one commit years ago). It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline) or work on fork of kernel (don't, instead use mainline). Just use b4 and everything should be fine, although remember about 'b4 prep --auto-to-cc' if you added new patches to the patchset.
Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: arm: samsung: Add compatible for Samsung Galaxy A21s (SM-A217F)
In reply to Thomas TurnerQuoted 6 lines · Thomas Turner
Add binding for the Samsung Galaxy A21s (SM-A217F) board, which is based on the Samsung Exynos850 SoC.
Signed-off-by Thomas Turner <[email protected]>---
Quoted 21 lines
Changes in v2:
- Sort via alphabetical order.../devicetree/bindings/arm/samsung/samsung-boards.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +1
-1@@ -232,6 +232,7 @@ properties: - description: Exynos850 based boards items: - enum: + - samsung,a217f # Samsung Galaxy A21s (SM-A217F) - winlink,e850-96 # WinLink E850-96 - const: samsung,exynos850 --2.47.3
PATCH v2 2/2 arm64: dts: exynos: Add initial support for Samsung Galaxy A21s (SM-A217F)
In reply to Thomas TurnerAdd initial support for the Samsung Galaxy A21s (a21s) phone. It was launched in 2020, and it's based on the Exynos 850 SoC. It has multiple RAM configurations: 3GB, 4GB and 6GB.
Since our bootloader does not set up memory nodes beforehand, default to the 3GB variant. Custom bootloaders can be used to initialise other nodes per RAM configuration.
The Exynos DPU clocks required by simple-framebuffer are not kept enabled during boot. Add the DECON, DMA, DPP, PPMU and SSMU DPU clocks to the simple-framebuffer node so simpledrm maintains references to them. Without these clocks, the framebuffer fails to remain operational further into boot.
This device tree adds support for the following:
- SimpleFB
- 3GB RAM
- Buttons
- Ramoops
- MMC
- USB
- Watchdog
---
Changes in v2:
- Re-order properties/nodes to pass dt-check-style --mode strict
arch/arm64/boot/dts/exynos/Makefile | 1 + .../arm64/boot/dts/exynos/exynos850-a217f.dts | 194 ++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos850.dtsi | 2 +- 3 files changed, 196 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/exynos/exynos850-a217f.dts
arch/arm64/boot/dts/exynos/Makefile +1 -0
@@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7870-j7xelte.dtb \ exynos7870-on7xelte.dtb \ exynos7885-jackpotlte.dtb \ + exynos850-a217f.dtb \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ exynos9810-starlte.dtb \
arch/arm64/boot/dts/exynos/exynos850-a217f.dts new file +194 -0
194 lines not on this page · raw message
arch/arm64/boot/dts/exynos/exynos850.dtsi +1 -1
@@ -147,7 +147,7 @@ psci { method = "smc"; }; - timer { + timer: timer { compatible = "arm,armv8-timer"; /* Hypervisor Virtual Timer interrupt is not wired to GIC */ interrupts =
Signature · 1 line
2.47.3
Krzysztof Kozlowski
maintainerRe: [PATCH v2 2/2] arm64: dts: exynos: Add initial support for Samsung Galaxy A21s (SM-A217F)
Quoted 24 lines · Thomas Turner
Add initial support for the Samsung Galaxy A21s (a21s) phone. It was launched in 2020, and it's based on the Exynos 850 SoC. It has multiple RAM configurations: 3GB, 4GB and 6GB.
Since our bootloader does not set up memory nodes beforehand, default to the 3GB variant. Custom bootloaders can be used to initialise other nodes per RAM configuration.
The Exynos DPU clocks required by simple-framebuffer are not kept enabled during boot. Add the DECON, DMA, DPP, PPMU and SSMU DPU clocks to the simple-framebuffer node so simpledrm maintains references to them. Without these clocks, the framebuffer fails to remain operational further into boot.
This device tree adds support for the following:
- SimpleFB
- 3GB RAM
- Buttons
- Ramoops
- MMC
- USB
- Watchdog
Quoted 4 lines
Signed-off-by Thomas Turner <[email protected]>---
Changes in v2:
- Re-order properties/nodes to pass dt-check-style --mode strict
This is based on some old fork... You need to develop on current maintainer's tree and test the same. linux-next usually works fine.
Best regards,
Krzysztof