mbox series

[v1,0/3] Add minimal Samsung Galaxy S20 Series board and SM-G981B support

Message ID 20241016193451.28897-1-umer.uddin@mentallysanemainliners.org (mailing list archive)
Headers show
Series Add minimal Samsung Galaxy S20 Series board and SM-G981B support | expand

Message

Umer Uddin Oct. 16, 2024, 7:34 p.m. UTC
Hi folks,

This series adds initial support for the Samsung Galaxy S20 Series and also
initial board support for the Samsung Galaxy S20 5G (SM-G981B)
codenamed x1s.

The S20 Series feature a lot of similarities in their configuration
and internally Samsung named the common devicetrees in their
downstream kernel 'hubble', please note hubble excludes the
S20 FE series and Note20 series.
The device trees have been tested with dtbs_check W=1
and results in no warnings.

This initial bringup consists of:
 * pinctrl
 * gpio-keys
 * simple-framebuffer

This is enough to reach a shell in an initramfs. More platform support  
will be added in the future.

Just like SM-N981B, the preferred way to boot the upstream kernel is     
by using a shim bootloader, called uniLoader [1], which works around     
some issues with the stock, non-replacable Samsung S-LK bootloader.   
For example, the stock bootloader leaves the decon trigger control
unset, which causes the framebuffer not to refresh.

Device functionality depends on the patch series from Igor Belwon:
"Add minimal Exynos990 SoC and SM-N981B support"

[1] https://github.com/ivoszbg/uniLoader

Umer Uddin (3):
  dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B
    board
  arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series
    boards (hubble)
  arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G
    (x1s)

 .../bindings/arm/samsung/samsung-boards.yaml  |   1 +
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 .../dts/exynos/exynos990-hubble-common.dtsi   | 109 ++++++++++++++++++
 arch/arm64/boot/dts/exynos/exynos990-x1s.dts  |  23 ++++
 4 files changed, 134 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi
 create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s.dts