From patchwork Tue Dec 3 08:03:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13891881 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8D02E6C617 for ; Tue, 3 Dec 2024 08:07:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=kAq7R2kmkfwUUyzbBQcMCmAAG5brvOu8GFYvX8i0n/0=; b=buXLjuxCfQzr10810cyimBzxwK 46uUeW2INNsB0BIAdefPy6Zhcou3WRqTrk2R14WgkFqCgLnzrhwAD/OSs8bbUNozRHHvtQ7FVDUJ4 ps7FhXnX+2nVx3XifNgzOWl5yaDOZwDTS5IacAqSuO2RycURO3ecsW5dP2OwXSlohvf2Ljb8HkXNO uGdKRcnqkmQcGIV42kOR1IsMGKywnm7INh9Y2hSPypjJmkpstZzoq7YdZLNBQ5jjDt8IOk6xPsDHV FXTUe/9oBxz8CbQWBUiIcF9xvl9pKI0qFSN3LiNdIlDoZhzic1Jn75yBcYIZqShUqvgUs0vwapGi7 dxxS2H5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tINw9-00000008dTH-0B6w; Tue, 03 Dec 2024 08:07:13 +0000 Received: from [63.250.43.87] (helo=out-02.smtp.spacemail.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tINst-00000008ciX-1AVn for linux-arm-kernel@lists.infradead.org; Tue, 03 Dec 2024 08:03:52 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y2Y7j4CWLz4w8K; Tue, 03 Dec 2024 08:03:45 +0000 (UTC) Received: from umer-b550pro4.lan (host-213-78-252-153.as13285.net [213.78.252.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.spacemail.com (Postfix) with ESMTPSA id 4Y2Y7Y5TFyz2x99; Tue, 3 Dec 2024 08:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733213020; bh=kcw5+G9rY6xp1Qehwwoa6TUJ3H3B/nYN980UOcXsUw4=; h=From:To:Cc:Subject:Date:From; b=kHyKHnmmBHPMkhySYoYbRoh9R1/ASp/AnQlM9kcbSHIQK+93dH7HqLBzThr/LpfJ8 pt8RBOqCFTR4DXIoDjXXBjEkeW2kiwmm833215Tbg6tL0UJC+ZT3kNLJQNe+3jJsCQ UaoGKIzuNfLYeeqU2umeS60HbgVwysL7n84wKg9FWNcDoCjFNUuO6+fL19/B6BYvsk KlZ/vBRZd93GYgUSoUCGOKynQZE/biB98sXn0BPHyTVSGeNignEkloztyh8BV4qOsW zPxLS0RBwoIt/7WkSFipOp5pBgGD0tnsRyHriXLR5s880wql0wLkn9v/jkTTEF6EwB s9hP56W4xI46w== From: Umer Uddin To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, igor.belwon@mentallysanemainliners.org Subject: [PATCH v4 0/4] Add minimal Samsung Galaxy S20 Series board, SM-G981B and SM-G980F support Date: Tue, 3 Dec 2024 08:03:22 +0000 Message-ID: <20241203080327.4751-1-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241203_000351_385020_E0A840C1 X-CRM114-Status: GOOD ( 17.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. To accomodate this, I've now named the device tree common's matching the codenames (x1s-common). 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 Changes in v4: - Rebase from krzk's kernel tree to accomodate for the merge of r8s - Rename exynos990-hubble-common.dtsi to exynos990-x1s-common.dtsi Changes in v3: - Fix oversight in yaml - Decommonise memory map Changes in v2: - Add Samsung Galaxy S20 into device tree bindings - Add support for Samsung Galaxy S20 as well as the 5G variant now - Fix typo in Samsung Galaxy S20 5G commit message Kind regards, Umer Umer Uddin (4): dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F 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) arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) .../bindings/arm/samsung/samsung-boards.yaml | 2 + arch/arm64/boot/dts/exynos/Makefile | 2 + .../boot/dts/exynos/exynos990-x1s-common.dtsi | 98 +++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos990-x1s.dts | 28 ++++++ .../boot/dts/exynos/exynos990-x1slte.dts | 28 ++++++ 5 files changed, 158 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s.dts create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1slte.dts