From patchwork Mon Dec 2 16:21:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13890988 Received: from out-02.smtp.spacemail.com (out-02.smtp.spacemail.com [63.250.43.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A0C218873A; Mon, 2 Dec 2024 16:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=63.250.43.87 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733156546; cv=none; b=U50Q01phTIq6JIcEqIMMoHawcAa/mj43C3qt1PNzMWamgv92NVf4Iqva4aS+yCo1ygEXyLPSW43IiGQDuapA1333puQUCq0V0z2j4Z9IPrftL4lq2NkI+ABz5zP5mwbebrTa6RlVPtmo0b2JSgVPqce2cHkhhEzSX99s+2N7P+c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733156546; c=relaxed/simple; bh=3w6h8OGAMVa5Fzirqv8ni0hUpNILhJLCE0izk9850T4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O90OmugEt9LtSEC/bDFOyxuAwZ6GYyb+ctC2po7bcQBjIHVqVyEuUr6XiWzRvaErCb9ktdFZS8wNZfClzUM/cnigbiBHNrHmUY1skdD7AODDZG6sNuylOAFp4h/AJkm86OHLA5FM4Ua7GQinUqHOWJE1KUYUynP2uGnJzqd++g8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mentallysanemainliners.org; spf=pass smtp.mailfrom=mentallysanemainliners.org; dkim=pass (2048-bit key) header.d=mentallysanemainliners.org header.i=@mentallysanemainliners.org header.b=GKqXwvXs; arc=none smtp.client-ip=63.250.43.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mentallysanemainliners.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mentallysanemainliners.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mentallysanemainliners.org header.i=@mentallysanemainliners.org header.b="GKqXwvXs" Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y28FW22myz4wDF; Mon, 02 Dec 2024 16:22:23 +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 4Y28FM2ZJlz6tkK; Mon, 2 Dec 2024 16:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733156538; bh=3w6h8OGAMVa5Fzirqv8ni0hUpNILhJLCE0izk9850T4=; h=From:To:Cc:Subject:Date:From; b=GKqXwvXs8OEPrp5pgITViH2WJezVnJzxcMQ1WnzmPG5qtQYkDSqTp20KHkbrOwwNh OfndSn9lvOj0mTRXHN05TkIqBbLrR/U3YH3GJZxO4fPiexL/dwcUkHkitu8X2PZz2I 184+5LZIia+gB0ObM2LnWrc6vSIZ4UMv2B520WPr8N9OO8hFWjL/B5ujULMY17IBDl JncLeGEY1hrlj0hyT9tGr6oGHgdYkC+CXSsD5Xr+yTPkkP2hzH60AhfCReQ9KHZ7O8 x/2GmyaPcbh+Ktr1zqlzv2zyQJpBYcfntxvE82tKaY+wK8u9oBNoEcSP1XpTsWxvrH K1Nn80Zq+ua9A== From: Umer Uddin To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Ivaylo Ivanov 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: [RESEND,v3 0/4] Add minimal Samsung Galaxy S20 Series board, SM-G981B and SM-G980F support Date: Mon, 2 Dec 2024 16:21:54 +0000 Message-ID: <20241202162158.5208-1-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 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 + .../dts/exynos/exynos990-hubble-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-hubble-common.dtsi create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s.dts create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1slte.dts