From patchwork Tue Oct 15 21:01:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Belwon X-Patchwork-Id: 13837076 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 5B3D1D1F9CE for ; Tue, 15 Oct 2024 21:05:31 +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=7vwHjx4fT73Oumta6x+iiQnyBY98X2qZZdEmp6pT030=; b=nXQlFhIArGD1YiZ69RpIFk0HZn 7pK51eeYW1yPHG86vXlPs98gdQnASbxwQ82CfZgRkma2aXkGrwlc804sPthaI88q6iGxFUci22ZXa zRB8dcMVO8NE9JbqZQ1v8DY1wIW1+PCEYxyr/y7PIxbjvla67Ukk5/3fspnj2nhpjzfej1d4RrCmL i7EeACdztZ7XeaY73i4nG+ZKvwh87aqct1XBScz3tYEH8WyGEr+lGU2yBjxm9SWAd3fxBaUgKY9W7 6OtKuMMM1jEPTA6m6eAJ2Spwmu9iHK4txnyPN9kHgbYdwpWAws2fFXdrsvDbqacDkwbamk8grlmox mipNtduw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0ojK-00000009Zzg-2B8H; Tue, 15 Oct 2024 21:05:22 +0000 Received: from out-02.smtp.spacemail.com ([63.250.43.87]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0ogS-00000009ZHX-3AyB for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 21:02:27 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XSmkg6Ddtz4wfm; Tue, 15 Oct 2024 21:02:19 +0000 (UTC) Received: from igor-systemproductname.lan (83.8.240.202.ipv4.supernova.orange.pl [83.8.240.202]) (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 4XSmkX2ZRlz8sWP; Tue, 15 Oct 2024 21:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729026134; bh=oFo8Q6ugAd9MvV4AXvtFm4bsZ9qTxjvEoBmwTQDMEwM=; h=From:To:Cc:Subject:Date:From; b=PPw6+L+0UCB4Vb/3QhoCmCb9cD/TLr88rXv9K/zg/0SvIpAWCXUWXGTrmlF19x8Q5 4pr+V4uWisEx59pHeXIux5pkZsaGS4h70EPf4Hr6YbGtgJZ3WMrjoq4eGPoeO/S7Cw pnw76r1oeQrfOfqW6bp+S1GnYaGdnMrh/2mm5T53BQSGb87GFrlc5jrwdqaxY6zOVh XxoMTUhxr+HwzJTFgIBGvlBV3bsrX7uckWEYnuqo1S9O/qSBzoxYzuUjZFO/y6ipxy fSevKkz6loDPzxjSmMhhv3elYD7QGb/UDcxbZWYe79GsxrJZoNM+4THa+ULD3yuVnk f8r+lIqMCo5UQ== From: Igor Belwon To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , David Wronek , Sibi Sankar , Ivaylo Ivanov Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/6] Add minimal Exynos990 SoC and SM-N981B support Date: Tue, 15 Oct 2024 23:01:59 +0200 Message-ID: <20241015210205.963931-1-igor.belwon@mentallysanemainliners.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_140224_935222_034573FB X-CRM114-Status: GOOD ( 17.19 ) 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 Exynos 990 SoC and also initial board support for the Samsung Galaxy Note20 5G (SM-N981B) codenamed c1s. The Exynos 990 SoC is also used in the S20 series, as well as in the Note 20 Ultra phones. Currently the device trees added are for the Exynos 990 SoC and c1s. The device tree has been tested with dtbs_check W=1 and results in no warnings. This initial bringup consists of: * cpus * pinctrl * gpio-keys * simple-framebuffer This is enough to reach a shell in an initramfs. More platform support will be added in the future. 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 2nd patch series: "Add Exynos990 pinctrl and chipid drivers" [1] https://github.com/ivoszbg/uniLoader Changes in v2: - Added acked-by tag by Rob Herring - Fixed two stray newlines in SoC and device DTs - Fixed commit message for the c1s device tree - Changed osc-clock to clock-osc and ordered nodes in SoC DT - Fixed ordering in the gic node in SoC DT - Fixed memory node unit address - Fixed memory node reg properties, to map all available RAM - Moved pinctrl binding commits to the 2nd patch series. Kind regards, Igor Igor Belwon (6): dt-bindings: arm: cpus: Add Samsung Mongoose M5 dt-bindings: hwinfo: exynos-chipid: Add compatible for Exynos 990 chipid dt-bindings: arm: samsung: samsung-boards: Add bindings for Exynos 990 boards soc: samsung: exynos-chipid: Add support for Exynos 990 chipid arm64: dts: exynos: Add initial support for the Exynos 990 SoC arm64: dts: exynos: Add initial support for Samsung Galaxy Note20 5G (c1s) .../devicetree/bindings/arm/cpus.yaml | 1 + .../bindings/arm/samsung/samsung-boards.yaml | 6 + .../hwinfo/samsung,exynos-chipid.yaml | 1 + arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos990-c1s.dts | 66 ++++++ arch/arm64/boot/dts/exynos/exynos990.dtsi | 194 ++++++++++++++++++ drivers/soc/samsung/exynos-chipid.c | 1 + 7 files changed, 270 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-c1s.dts create mode 100644 arch/arm64/boot/dts/exynos/exynos990.dtsi