From patchwork Fri Dec 6 18:46:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897569 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 114FEE77173 for ; Fri, 6 Dec 2024 18:48:01 +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-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4FFKwdu36dVSCfxWPUIZ2u7fpvMo74aah0GmlN+FSs0=; b=u2JhN4DNAUHMkyssAflmp+U8OQ 1WeajWV09EGLhA/Yr8BkjOgFiwVSE+UWGPoMtKEEOgFdY4plOeLUPru9Y82rAibTYA9+FNZcas4qb /onIxFarBZ34nEflrBx/VYKZy5u79WOCCT//7hKKKflLZJbDut8hHQJvNdbjFm1WuXSfgoWWNegSe Xb+whLiAoSd4/i3AxA5fu1CgAuW0TW4JfgwHfaMHGdDe0DqMjBZQjkj9nyd9TR8ACZ0UTBNXJZp5B HqrCeU2nmQ2En0NCXa+CFfiDHd9OX3Fx2lBegeurMuta3OrrYLTQAdMhMEq3yAAlcmcVViN4FiLA7 AmfxNImw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJdMf-00000002TOe-28xq; Fri, 06 Dec 2024 18:47:45 +0000 Received: from sendmail.purelymail.com ([34.202.193.197]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJdLd-00000002TA1-1866 for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 18:46:42 +0000 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=CO+ewPu6hxhOmX+DSiZ97pHVlSW8y+r+3GxOdGG9VfQ8g3aw8DH1/fF5zT8Z3jESECqFFayeFEIdmeqXZ52rHMdGd/NB6kAyWCQdItVaQEFUmesvLJ59ru0xkbXoLTIAjCWCTX11IJKQYNUmNvHex8r1kRG4XZoRx6QQfcEjXtMhCFJWe7/py6NWXRQiZIW5As8fMSj44fxhGzTK/F989rF9zqQVBgK1mlfmypYk3aQ1A/f9oLi+4v892O5Yf8lfIherfErg1ZQf8WpP882gGAwlg+dxWchihr1kmjBdeyYGdQnTxAF5N2S8psCdHHnO+2wiU02FQpO9JXS7nLf6Cw==; s=purelymail2; d=purelymail.com; v=1; bh=WP8InOQ9Bbn59T6AiwUBks4Oi7aCTtKBhK4NRZz+94s=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-arm-kernel@lists.infradead.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1358913524; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 06 Dec 2024 18:46:21 +0000 (UTC) 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 v6 1/4] dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board Date: Fri, 6 Dec 2024 18:46:06 +0000 Message-ID: <20241206184609.2437-2-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> References: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_104641_445493_2772E070 X-CRM114-Status: UNSURE ( 7.36 ) 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 18:46:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897576 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 105E3E77173 for ; Fri, 6 Dec 2024 18:50:03 +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-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hZE1CybMovREXLqVnId3Uwo+vfhO0hUcTJIzGh5EGPY=; b=ASkw/nuP8NkYtmm8558BGR2dbT qr9OjdA8SloDeuf2SXIRdRLKmnNJuZsEzuotgiPj7tI/gmTcjvJ//KZ2ZKe4Gjo1hgZ/8+fv9K/mN 6XTs8rTrABU+CjaGLSloYJ3tQclybbEJ/zjabstZYgDZ10G24J4P2D9ttB0DuFXZava4ujMPqkrdC GZ84FZNHOkBidxQJUDvfjwVUAD/jaLBq6IeGWaH6TScik9ued1oGQpur6nWsiQrtyOoRIdolk5l80 qQwOKKdfwkJp7lHYH97mTBM4skDhHOogVJ1InjtvglPUcc1094KsPBWKOCMyJOF1hWPdhn9NwVM/I g3cgCljQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJdOf-00000002TlC-38A8; Fri, 06 Dec 2024 18:49:49 +0000 Received: from sendmail.purelymail.com ([34.202.193.197]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJdLj-00000002TAr-03fp for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 18:46:48 +0000 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=Bk5bH17mRciK40NrumGYdT+hFeQJO1i6s193yrojWIYn2e1fHbvKjkGf+RLf9rvd1JMf7rWrpd4J3W8Upst53b0baaYfaeI/+73bGn2hhEEuiWSCZ7o3XIRPObGDcZuM2u3/z0CAwy3XvytGWxZCb5BJktVxO1io8hx2uj5sDLMoOeergn22/8NVmy1n12nrSC2eAjaVmwkOwUa6VFjfPV3ysS/6EkIqhPHrA+iZwMYcSXA9UbF2QBzrQoBDKCDrPFtANrb9ljZ3RdF7j0uZVpqCprPlMKtVgV5AsKig40kSWNDG0GhefHOG7mcWHRqaZ0QUjq0M16Yya6St8PWMoA==; s=purelymail2; d=purelymail.com; v=1; bh=hZE1CybMovREXLqVnId3Uwo+vfhO0hUcTJIzGh5EGPY=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-arm-kernel@lists.infradead.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1358913524; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 06 Dec 2024 18:46:23 +0000 (UTC) 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 v6 2/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (hubble) Date: Fri, 6 Dec 2024 18:46:07 +0000 Message-ID: <20241206184609.2437-3-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> References: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_104647_167896_EC7C9DB9 X-CRM114-Status: GOOD ( 11.58 ) 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 18:46:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897577 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 5644EE77173 for ; Fri, 6 Dec 2024 18:51:00 +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-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ex48pbFoUZfZK5wKORDd890wveST47F7x0Fq6ai9PtQ=; b=eFi/dNcvHLFLOhUVNlY58kHO0C KclJjLmyXYtH6iJCyTedme9+c/5JXaiZU1M8Y7sq4WzzYSzAz/PCVMk1HH3AIpmpUqsKROqRU130D JAesDDXWeFloSkxzxR1BeOxN23rMimtfz/65JH4e/R3DlgUf8Py/gohS3RVfzl7/HmSeXQQBiHcsN eY05rlOYGvXLdXrnsfqiwg7ZXzhuZsecTvZU4RDh4Gise8XGeSm/96BOUC4sem3NdsITcXpnB+DsC kLI2A3FFwjddd3cS2g7vj5jlcMZb6r36VDi8N1/DmGCT7Ba1hEMgqRxaDgGPI2fXpDakc9Vkf0bF4 ePSSt1Ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJdPe-00000002TrF-1Uai; Fri, 06 Dec 2024 18:50:50 +0000 Received: from sendmail.purelymail.com ([34.202.193.197]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJdLj-00000002TAs-1Yfm for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 18:46:48 +0000 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=VPBjgus8/Un8Viz/Z7xCqMfaa8uGw6R1L6NnBadhmjeEG2RAOw+zKEU5QZRAMpFagNqc9bkMNffuQbW0z1YbQ4fh6jxesDutIWA+d1wgdxaxDRv2frjJALAuG/UIr6iU6BnLPzxnuF68emEiEUpov4yYITpag2wVhQWNXqW+GXJV0bFCE8Z0jsvLIZEAhnD0GFBWpf8tHcy380QGgiaAKdFzutc/RLhNLOF9xxJdZ/oqU7cLOfoaN0XWhVJT6G/zDRYcHDV9g1Zm9tPaZMZQ6I2906wGuuShoe9nfadPzVv9+tzrvIgJrJxHSF5knzsmtsDBcVBIo1GptEMIDdG/fA==; s=purelymail2; d=purelymail.com; v=1; bh=+9v9v998yOutkpEhufnysfjZ8TgWJVXjzo5R46wA2bg=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-arm-kernel@lists.infradead.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1358913524; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 06 Dec 2024 18:46:24 +0000 (UTC) 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 v6 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Fri, 6 Dec 2024 18:46:08 +0000 Message-ID: <20241206184609.2437-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> References: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_104647_478999_99978AC4 X-CRM114-Status: GOOD ( 12.64 ) 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..fe47aafcd 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 18:46:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13897578 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 D9E76E77173 for ; Fri, 6 Dec 2024 18:52:03 +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-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=k/R4bAawksno7ieAxZVpetadTDV3wqAmgPjH1GgMrAk=; b=ccNsxSKAlN6R5iMfRlMROa7YfE RkNEA8iBs+NINeLJtdzKL3TVoAi1IPS0zctRwe2NfVgO6n8GYAq8aayKh20YMq1fhNDnRQ8gibVFv Oqi6I7jgmBvJ41RmE6oHXBEOGG4nMWY2K+17BV9MMaoJIgh+9iyQd6pzjqA/iST/DpiEF4Oeh3ZrI lxE+zuJyjF2K3aYwsi6zUV/3+D95JNuYoCB+NHtD504ySGDb5PXgwH1oghjK73ZpTN5JRBMOAv37I iN9zkBRJIPsTG18dmEE1gmnodhvS6mye3UddgcJJTZah8qw3LKV9VcU9jaOkSSf7ngJrkRwx/c05R vP//6OjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJdQd-00000002TwJ-45iM; Fri, 06 Dec 2024 18:51:51 +0000 Received: from sendmail.purelymail.com ([34.202.193.197]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJdLm-00000002TBd-2vhC for linux-arm-kernel@lists.infradead.org; Fri, 06 Dec 2024 18:46:51 +0000 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=Omh4Ga+GjcOL80897LjMRz73t/mn3S95A0N+DVf3lwW2R7u9r9qw5XOP5jwEMAiT1htrKEY670BZ9iwT1Sw+co3ygbigCtazoASakzo9kyGYVDrg3Ylqy6+1fZOBEVEptzN+OZOoS4Gaj++CtMvHmwQVFZmBsLcGTXnIAxVRhy9l0CKv84LlkwObBtZ3gPYLjFGu4wFwNRIjpP14xgeiXheqADAjevcKROb7rCoCF1sSK4zSPDHrc7D4cuBsr8Lw9IKzA838GiDU8L2sQBslWJI9ix6oPrdwRCFm/RzMhsO7u9NmG+Dce8fgAnDL02SlGhBdUenjPFm1l58thQGivQ==; s=purelymail2; d=purelymail.com; v=1; bh=q+x1BGdI0w3COyvg4KRrsbK+Ulod4rmOEtx7JLr7qrA=; h=Feedback-ID:Received:From:To:Subject:Date; Feedback-ID: 68229:10037:null:purelymail X-Pm-Original-To: linux-arm-kernel@lists.infradead.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1358913524; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 06 Dec 2024 18:46:26 +0000 (UTC) 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 v6 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Fri, 6 Dec 2024 18:46:09 +0000 Message-ID: <20241206184609.2437-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> References: <20241206184609.2437-1-umer.uddin@mentallysanemainliners.org> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241206_104650_808584_A31C9287 X-CRM114-Status: GOOD ( 12.48 ) 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 + .../boot/dts/exynos/exynos990-x1slte.dts | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-x1slte.dts diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index fe47aafcd..ee73e1a2d 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 diff --git a/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts b/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts new file mode 100644 index 000000000..7bca641e5 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S20 (x1slte/SM-G980F) device tree source + * + * Copyright (c) 2024, Umer Uddin + */ + +/dts-v1/; +#include "exynos990-hubble-common.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <2>; + + model = "Samsung Galaxy S20"; + compatible = "samsung,x1slte", "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 0x1 0x7ec00000>; + }; +};