From patchwork Fri Dec 6 15:41:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897326 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 AABCAE77173 for ; Fri, 6 Dec 2024 15:47:38 +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:References:In-Reply-To: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:List-Owner; bh=nG8WRDsS3aQLEGs7GtSj1/lBtlITADxa8Usay8tA1ek=; b=p0fLrDiym18rTW1dVg22IlyjVW HVu9C01gmCVuFi00A/56kGe/rs+Q2frSSCID7MTKARSr+Q1MYl9atqTPqEqdsGB4jCwWssq8cZzLq xvq28hlGTffUeJ+KkRr5gOzKiyZzO27WUF/SaRVYgEFwUvF2w2XIroRwtWHggmOAYHlxvTLAlM5IU /4G/MPtJ9+fHEf4RzESGRuB8tVfHGy1U4ZhsAPzZugkESzH5tDdCTX+SSLvWSh4rSU7rF9apbvSGD QL2AluueD+vRX08g0ILC2nqP0SPqqmHPQkQgMF8zQGp3Z0Ffs/5/lvkIwuHwEMxjF/iWSfmyoXb+y 0TQqy/zQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJaYA-000000022a7-3qnj; Fri, 06 Dec 2024 15:47:26 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJaTj-000000021S9-0BFf for linux-arm-kernel@bombadil.infradead.org; Fri, 06 Dec 2024 15:42:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=nG8WRDsS3aQLEGs7GtSj1/lBtlITADxa8Usay8tA1ek=; b=duU70AWxmeLVY9+oNeVbrwtmkE 7KMvRSPV99qgH3OzE+ytixBN58kvxhzIZP3vCZGWj+MqWByre4ekP2p8mG2wVdxkR6ccGBK1UCY51 l/cGBtifycDcULzkv+1smK47NEXkUP3TV7pP85LDIcgZgzuCmV0qjkvCZhLuqaA3f3Q2UOyOjCE1J NFSF50RTXZbs9m2m8/Kj4LvxiNUx/B3uusxuECTVA3MVgzh7lPH6cCVyZasSIqdtjkA+fO2uZ68Dz i4xY5v3yhmzgQpWxduE+56phMIvH0+fwU+nze0pvu3q6NeddVF+sQuud/TdIsJcylj3EXPQnQ2b5Y 0IfxU6VA==; Received: from out-03.smtp.spacemail.com ([63.250.43.88]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJaTf-000000037AY-39lP for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 15:42:49 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y4b9D08PSzGp5w; Fri, 06 Dec 2024 15:42:08 +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 4Y4b935nmqz2x9V; Fri, 6 Dec 2024 15:41:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733499722; bh=bNG16fxeZRe7PkHUfBJcI8c38q4ij6t/20saRuOZksI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W/tu/SBlJVeaT4mkkNWhgF5c/o6VzRuP/s+sDUPj+gON2iQ6m/P72+IGfpfMs24k/ Y/OFfvyCD+nvme1cjG3PAILhsoY35LtlKzaA+iDUsGLNwxpd6VMpgjSGy9TKisg8Ue 2w/SRa77iflGb8woA2AnDl7CAub+4Eb7leZppH45w7doJFYxtExiYpoCppE5+oxl5x IXg8XMKAzx6TAdXMznus2aL6DGkygcsPmeXhEsnCCzzrqvfLCckn0PCw3oT+8XpzUj dm16NYxyt80TJMAHWqD6W6mD2KkmuwI5EEXFWDU7Ld9UjDkKzBOCdb8ZGZQGiz6urI POE6KD9gQ+WpA== 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 v5 1/4] dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board Date: Fri, 6 Dec 2024 15:41:46 +0000 Message-ID: <20241206154149.4271-2-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> References: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_154248_114682_0F75D61C X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. 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 Add devicetree bindings for Samsung Galaxy S20 5G and Samsung Galaxy S20 board. Signed-off-by: Umer Uddin --- .../devicetree/bindings/arm/samsung/samsung-boards.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index 168e77375..fab29f95d 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -241,6 +241,8 @@ properties: - enum: - samsung,c1s # Samsung Galaxy Note20 5G (SM-N981B) - samsung,r8s # Samsung Galaxy S20 FE (SM-G780F) + - samsung,x1s # Samsung Galaxy S20 5G (SM-G981B) + - samsung,x1slte # Samsung Galaxy S20 (SM-G980F) - const: samsung,exynos990 - description: Exynos Auto v9 based boards From patchwork Fri Dec 6 15:41:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897323 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 E37DBE77173 for ; Fri, 6 Dec 2024 15:44: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:References:In-Reply-To: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:List-Owner; bh=HE7mi4emr50jEpqtObN38wFodAKJOCr2oYhlGDwmbxc=; b=jRlRyFwF5PIL5N8GUL1tBoZ9E4 h5PT/savJkLe40AbvjfpMCaPM4qiwdfoNNjmS0MWyKGfv+xfEVktjMtZ5bNsw4TedIDkvzFE9gVVm IQNS/XRJzDhbdxt8DMQ1UYBJEXRcwcLmx9YsnirXQ/vOM9dIloBLtCAOrrbuHTafmDMcRKWuW4HtJ xTtQQwekrnZkQoVon50reJUctJR9k672vLvhH4vZw3QQhXzzAVMO6MFYfc6aEfplI64Brhn+xlm2u /o3hMrbyXghqWid+kdOz5Vi9H9h2dT5u9BWnZV5NpxJf7LX9LG297sVO9iRsFc6LCFF8ZowLVuEuv +20n3rCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJaVC-000000021sK-05lB; Fri, 06 Dec 2024 15:44:22 +0000 Received: from out-03.smtp.spacemail.com ([63.250.43.88]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJaT8-000000021Dj-1yjg for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 15:42:16 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y4b9H6Fs7zGp3w; Fri, 06 Dec 2024 15:42:11 +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 4Y4b972sbQz2x9K; Fri, 6 Dec 2024 15:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733499726; bh=2vHYtlzccOz/AoVEwW4kXIY0ycA8Zvt+Xs9cHXRdiJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mAYq4u5bF9m8DT/YECg03J/MSL6xyK1iAzF7LTJkjF0OZN8qVCloEf+5KLYTnLy1Z Nwqf8nF7fuGXTi9KT/WSadHbcfJNx6/gUgnMColDtYwTwja0KNxVrogSbduF6Ts0ak AJwPrCZskOIrWatIIWWkexRHPwrndE62EEXVLcLnSbsU/BY4aYnw3Gd9bZxGYT3C1k GhdYYHCNinCjvhyci4zrN32mb44E94LqDrYqmQ32HyLGYGVsNSGymqfk2/5CuvFg7G mCvY236YgoB97+EJfbpzEUxsCnxy9qIXv23UdiVD6Xk+RtWmJUj3hu/zHd9M1jMNor 8IkIkWluBBf/g== 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 v5 2/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (hubble) Date: Fri, 6 Dec 2024 15:41:47 +0000 Message-ID: <20241206154149.4271-3-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> References: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_074214_560012_18ED9D10 X-CRM114-Status: GOOD ( 13.11 ) 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 Add initial support for the Samsung Galaxy S20 Series (hubble) phones. They were launched in 2020, and are based on the Exynos 990 SoC. The devices have multiple RAM configurations, starting from 8GB going all the way up to 16GB for the S20 Ultra devices. This device tree adds support for the following: - SimpleFB - 8GB RAM (Any more will be mapped in device trees) - Buttons Signed-off-by: Umer Uddin --- .../boot/dts/exynos/exynos990-x1s-common.dtsi | 98 +++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi b/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi new file mode 100644 index 000000000..55fa8e9e0 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s-common.dtsi @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 Series device tree source + * + * Copyright (c) 2024, Umer Uddin + */ + +/dts-v1/; +#include "exynos990.dtsi" +#include +#include +#include + +/ { + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer0: framebuffer@f1000000 { + compatible = "simple-framebuffer"; + reg = <0 0xf1000000 0 (1440 * 3200 * 4)>; + width = <1440>; + height = <3200>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + cont_splash_mem: framebuffer@f1000000 { + reg = <0 0xf1000000 0 0x1194000>; + no-map; + }; + + abox_reserved: audio@f7fb0000 { + reg = <0 0xf7fb0000 0 0x2a50000>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_power &key_voldown &key_volup>; + pinctrl-names = "default"; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_power: key-power-pins { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown-pins { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_volup: key-volup-pins { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +}; From patchwork Fri Dec 6 15:41:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897324 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 24969E77173 for ; Fri, 6 Dec 2024 15:45:36 +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:References:In-Reply-To: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:List-Owner; bh=CcMJF6tpagZXKocreCoIPgPKTotbVUfP+/+QhLqe4xI=; b=HeI88sv8cstV7q7rFB2lNb8av/ eWkCZXIdIb01N7J60TafSTpzAqG0JtdMAomZQM0UiOR3bbErcVm1hV1DKpNvqFBzg/wGVVje1wzYF 2G6FcEMGHMJiIIqdanxxJbbTCx6baFHt+mJC8gVRVpVehIzBaZDOKRtaoggT9zFSSB98qX8eDNS2w 0vCk7LZzszhs5sTdXx6mz53ApYIaV+Idcw7XH1ajyafQNR3ucbg0OGaa2KwTQWjtgv5MvED35CDPN /1uIVMv1FdGAyX5pxegfVOHuLi1aM0Z0AZNQQn8ZOwUFzdphWlZ574e/A2bcEA2S0rC7SBTnp1IIG cYGPOxug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJaWB-0000000228b-2at1; Fri, 06 Dec 2024 15:45:23 +0000 Received: from out-03.smtp.spacemail.com ([63.250.43.88]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJaTA-000000021FD-0Qfc for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 15:42:17 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y4b9M3ZSdzGpQW; Fri, 06 Dec 2024 15:42:15 +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 4Y4b9C24g6z2x9S; Fri, 6 Dec 2024 15:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733499730; bh=I5rwc22XhHRrVS/E0oCuQftbLgpv946zwdd+raigOWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kinDeRL8NiStWWuMDgQOZnEMkprkHGFTmJhW42Ohsx3F1Ta5+ty4IwdwU5+zJNrJI q4O5KYqbvxOK6nJHhdCP5vFrqCkzmkdGXFVgDdrvWWL5WHh1yBElSTxxPfYzdheJx8 n/KMMMf8++MJijiueBncRaqSxK2SNEEbUEVa4Lrusf8YkxB/dobVw92wP6yFbD3go6 JX7X0gRCuIWrMJECBQB0mm+EZE09xnIColj2YWPvcAXEwKFOwozfUe9PERMW2Da2mj 4ZAKAa6OkR1TZHAYay1jhSMSUVMzSMmVe1aiK66qJQkOXUfFkdINQ+LN81DJAeO63O gQdkfCr23jyyw== 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 v5 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Fri, 6 Dec 2024 15:41:48 +0000 Message-ID: <20241206154149.4271-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> References: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_074216_157191_E9EB9864 X-CRM114-Status: GOOD ( 14.39 ) 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 Add initial support for the Samsung Galaxy S20 5G (x1s/SM-G981B) phone. It was launched in 2020, and it's based on the Exynos 990 SoC. It has only one configuration with 12GB of RAM and 128GB of UFS 3.0 storage. This device tree adds support for the following: - SimpleFB - 12GB RAM - Buttons Signed-off-by: Umer Uddin --- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos990-x1s.dts | 28 ++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1s.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 948a2c6cb..7dbecd367 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -10,5 +10,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos8895-dreamlte.dtb \ exynos990-c1s.dtb \ exynos990-r8s.dtb \ + exynos990-x1s.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1s.dts b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts new file mode 100644 index 000000000..1ae881015 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 5G (x1s/SM-G981B) device tree source + * + * Copyright (c) 2024, Umer Uddin + */ + +/dts-v1/; +#include "exynos990-x1s-common.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <2>; + + model = "Samsung Galaxy S20 5G"; + compatible = "samsung,x1s", "samsung,exynos990"; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x3ab00000>, + /* Memory hole */ + <0x0 0xc1200000 0x0 0x1ee00000>, + /* Memory hole */ + <0x0 0xe1900000 0x0 0x1e700000>, + /* Memory hole */ + <0x8 0x80000000 0x2 0x7e800000>; + }; +}; From patchwork Fri Dec 6 15:41:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897325 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 CE406E77173 for ; Fri, 6 Dec 2024 15:46:34 +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:References:In-Reply-To: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:List-Owner; bh=BK3k0wQzG+wcJVdDJqI7qwgPPyd8dQa8qdUmnM7Xaf0=; b=w/K9yF7AtXrXaixO7nywlwxgMh Ar9y+7488bru8H4Cwo1dJ+BJYOSwZBHlYIT68z1A5H5FCARrILq3G5enb8ZiOvnLzJzmyM7chOJkw qDL1TG9iQmAliOB8Fd1UsK4ASt/GhN3K1jWM7vArpx2qHXzOUEDo2M7f+gpc6r1/SZUw8deFRAiHW rujLERSOgYTCnDjign8x2Gx3jxG4eCQdxMNynyUjiydaVOIJ2UAAQhtxiuh7vfAfAN2begaTxEaTR eCoGhOvMEySGFrnOYszgGbKh5aZRCptA4nLG/BAnPocMwOzCrHhqkikESRLR8AyE7wFQFN85iX+Cw w+v5zH5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJaXB-000000022MS-1LDO; Fri, 06 Dec 2024 15:46:25 +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 1tJaTY-000000021OJ-2133 for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 15:42:41 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4Y4b9p0W60z4wJ9; Fri, 06 Dec 2024 15:42:38 +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 4Y4b9G6CG3z2x9V; Fri, 6 Dec 2024 15:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1733499733; bh=5TvZ7eh62szwn05oK/fVvj0pJfDk/MAb0mJhBHtI5i8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EVjeK6DJdkfLl8bWBj/CHbVzI8oMoUE8Bnqvp5cpFBSwqdvlz8Y/8b8hQIYGVRq5E /RHMQntGwudwHi4ieF2PdHTcbBLDUBZsxrgCm5RK6qXMwxM46ygSNC3dq+k4yjDuve 5gpxcxTnULqaLtR9w9fwlTAxHDN7pbzVCyrA5nZfiPPIoc2inluIlsh9R0edwemnB2 o00A8HUwYSqLBz/ik+mQcv6gWSERHeW7jcx/tarGtdD7lvSEVAOiSZDytXXa3KVQe+ W+y3N/U381Mk3Y8h7lCEQ5WJwGbGYDoPfiltqmglF7vWafzv9xshmGdqJy48xXFqQh xpnQJuspbPKAg== 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 v5 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Fri, 6 Dec 2024 15:41:49 +0000 Message-ID: <20241206154149.4271-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> References: <20241206154149.4271-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_074240_535918_D65F931D X-CRM114-Status: GOOD ( 10.24 ) 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 Add initial support for the Samsung Galaxy S20 (x1slte/SM-G980F) phone. It was launched in 2020, and it's based on the Exynos 990 SoC. It has only one configuration with 8GB of RAM and 128GB of UFS 3.0 storage. This device tree adds support for the following: - SimpleFB - 8GB RAM - Buttons Signed-off-by: Umer Uddin --- arch/arm64/boot/dts/exynos/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 7dbecd367..3405d9e82 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -11,5 +11,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos990-c1s.dtb \ exynos990-r8s.dtb \ exynos990-x1s.dtb \ + exynos990-x1slte.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb