From patchwork Thu Oct 17 16:43:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13840368 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 BEB41D3C525 for ; Thu, 17 Oct 2024 16:49: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=AhVFRU7Mfha85elECx+5K9gFasqmzobH1ce18Uqt0JU=; b=Bo6qH1DHt0CNJsoEdB1FMKqdxN sAx9TNfy9/eey/y0cVY9z69oklJN/XwE4PnfwMekl0XyAFtGuoetCeRM7uZEWIANFqVEXExcabhvc 1iYQFb5VF3n8iF1uPiHImDkWOn/17UrF+7kPRv4mdSqKCsyXMEqONa8o0yFC1X+7kbJr2acXC/vjA JINxBnc1ee5n6F6XPbkZgXmsBuZTkt9no3vxrRuHjgx960iB5ckLYuGz3iaG6KnbomBcPfCetfyw6 J95v6a01zS9rTA2eRJ4VLkbrB/Z1W/R32cI+nRJprmj6oFSXQFOvUaVDC3aMBu4oe+AY/AePpeeSz AVuvZ5GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Tgd-0000000FZvb-0vb8; Thu, 17 Oct 2024 16:49:19 +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 1t1TbL-0000000FYLA-3hug for linux-arm-kernel@bombadil.infradead.org; Thu, 17 Oct 2024 16:43: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=AhVFRU7Mfha85elECx+5K9gFasqmzobH1ce18Uqt0JU=; b=aAwHbplfP6+0eocmh2d+yQy2Xt HlC3PrBqBCeESLSviK/dvqaIuMhhGk52LXVR8fr8j+K0wkMBGpo+RhdCDAHo63WhsUzZeBSKwGclT 22rqzOsySlNUsE7sH8UlErKD7tEaOnPAeKB3CkK3+7Os4b1/WTVrGUFc8GFAsSdC0u8yShTtyMQhk AHV9s52JCyP4J5M9VCT0U3AoZ13y1uaa8xe4M852miWX5S6ByCJJSiU9IjOZLrflUsdshqpYB/pQJ l8qfg0eq8/lRzPmrPVyoi4NQnFiRaVOwURagG0autnAyd6APCU8V6NKAVqUWLhNMCGjFVW94FCd5d xqmB82GQ==; 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 1t1TbG-000000079rd-2loo for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:43:50 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XTtvK19RJzGpSv; Thu, 17 Oct 2024 16:43:41 +0000 (UTC) Received: from l-latitude7390.lan (host-80-41-166-50.as13285.net [80.41.166.50]) (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 4XTtv95SKdz6tkM; Thu, 17 Oct 2024 16:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729183416; bh=YKA5oZNA6Y8WRMnaHj84OJT2eyExbepDtXA/B9xr3k0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JhbYUOhl0SEzHuwrqR9Y0tGGntYWScEUxCTbxO1cL8DCTXuLfi6YNNIi3ojtRzZEr NiavFRChgEwNho+DlsiCBHAnLn2tE3aVz12KAshrumf46gh1qCCa9p8AadIxayByXZ 80RfucXLLtFK6lgeDmtBL4dOiBOtGGoS2oEbycpp6BPp9e1XzzhD9zikWPjhy+amv7 72ish6JZh8QOa2M+9FIVJc6ji+hXJzqTXEX6tdvs5lIH3solcEWNba0uP9F4/SPRrU xJjyQqGZpHM2Rcgu/NSY+XDXJMPdV48K38rvM2pWq8e7LEGJFqKHbUhRlJa0qgk0nJ 8h5cdTwY0mzCA== 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 v2 1/4] dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board Date: Thu, 17 Oct 2024 17:43:24 +0100 Message-ID: <20241017164328.17077-2-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017164328.17077-1-umer.uddin@mentallysanemainliners.org> References: <20241017164328.17077-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-20241017_174346_976699_B51A1234 X-CRM114-Status: UNSURE ( 8.70 ) 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 d25a17e69..70a915240 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -234,6 +234,8 @@ properties: items: - enum: - samsung,c1s # Samsung Galaxy Note20 5G (SM-N981B) + - 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 Thu Oct 17 16:43:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13840369 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 535A2D3C525 for ; Thu, 17 Oct 2024 16:52:30 +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=kjSO18U6X9mq8fRP9CVllJ2U2XfumKjf3OPNF2VkhHo=; b=d4i1PSsavlmsgv3/oXSRyBvKmV 2SvyICM+OgS6HDr2H+mLGlM72FxDtJp9uQBWQLm31vEVbXRTarcj5iDov4bJd8DkmWe/sVJwbEVms 4XmPhEgN8eF8SUcUvVJBDbAsUV5C994r1vYT2p9PxcVKWF1zu/g+ZPEmvluFXVNVXIiVPhvQiWMPu LvJa+ikzEyHIsfvHhbuSf6D79suEIjxvr/VCd18jYalNVBFWHRi0eAjEDGUvM5S0g3CUEzKQ2sWZc z0oMKOns92L2rUWrJWluJ5+XD8jR+b2sKkpyQ6/M3xQ+Dmyi+ux/wfuDCHdIywGCP3NNNzfNR0h5o syprziJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1TjT-0000000FabO-44BH; Thu, 17 Oct 2024 16:52:15 +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 1t1TbO-0000000FYLY-1KUX for linux-arm-kernel@bombadil.infradead.org; Thu, 17 Oct 2024 16:43:54 +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=kjSO18U6X9mq8fRP9CVllJ2U2XfumKjf3OPNF2VkhHo=; b=f5p2Z4ISrzHutqUP+6g1128pSz DlhbLqap8NaVM8D/P0d5xBQFpA4RO1Tut3EJwYsG1Grn8Td/nNebldlkPbfq08/1YwugqBUi8SahD IhD7amLzotd3OKmoB+PdWPNOtDr7HW3ZAiBspA3hIE35plsBhm4QT1U8Rs8jS8g4gW8MsBgL9uiDy vyJPaUjcy9ZRjvGYJJczBQCqoPRp10TLFv9TBd08p3I93MFlbmLvUru1Zrn6oUPdjzh42yQRO05T3 j8bei4HBKtMkTxpnEPpOvLpTM+uONNhT0YsHMpgG7VStdXtdzQNjiRNuJd3HgKpve5G/PzWDGIZp2 zp9/Eq5Q==; Received: from out-02.smtp.spacemail.com ([63.250.43.87]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1TbI-000000079rf-3XJN for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:43:53 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XTtvM5zlNz4wgR; Thu, 17 Oct 2024 16:43:43 +0000 (UTC) Received: from l-latitude7390.lan (host-80-41-166-50.as13285.net [80.41.166.50]) (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 4XTtvD356Rz6tkP; Thu, 17 Oct 2024 16:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729183418; bh=jmRMCdEnRZvQBpN/U+vpdq7Q26dSNADyNSxdGo7Ewcg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q5PcmY3hisL4AqxtAAjKzVI3JCGLuyKRk1Y2ogsW3rOFbV2BXPT7bC+SaBZ9O1mIL iACsQD8fkMB1fHlyBsF9RpjsptFOOdjoHb6mY7IbYs7Hpoe5rlCuAVwK4UNx6T6J90 7qGz1630XLbQ6FIHoscvU28oxJeUP8tCqSqFdLp7Z5JKC9BWPavdoxbpKSOd4xlP1y deGe8uDnDX1Vc0rRTJ1fM2nGWzKDrUg5q/p77zLwrLqpYclZ4Gh+9JjMRYFMEgfK78 kH+PhKFpa5SMHAhu6T4qr2hjZajr0x7gt3pyQZg2ACWOLgB+37bJiJbENCZhdj8vNo x34O5IFR3pYIQ== 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 v2 2/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (hubble) Date: Thu, 17 Oct 2024 17:43:25 +0100 Message-ID: <20241017164328.17077-3-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017164328.17077-1-umer.uddin@mentallysanemainliners.org> References: <20241017164328.17077-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-20241017_174349_147460_CBCAE44C X-CRM114-Status: GOOD ( 13.72 ) 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 --- .../dts/exynos/exynos990-hubble-common.dtsi | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi diff --git a/arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi b/arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi new file mode 100644 index 000000000..2c634e4bb --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-hubble-common.dtsi @@ -0,0 +1,109 @@ +// 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"; + }; + }; + + 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>; + }; + + 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 Thu Oct 17 16:43:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13840433 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 94DC2D3C526 for ; Thu, 17 Oct 2024 16:53:58 +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=5tQWpbfywzKsHLDQoo7t6hmrilqPWY6Tc5sBSt/ooDQ=; b=TmPBnWTkc/AdOmn0mYojs09FiJ BiyQdNRcgAjilFfTUoyzBBelb590wxQAo7a2IQxxCWQoPyPxIvFxm5hFD6PNsR1AsKYklFFhjnYi9 SXXvaDumSh72ekNfFBlwey4sTn7l13OpvAdT/6JB5HSxK4XKT+c2AXYbEuuKWmPAjU8TqJjT/ZbND K64vjtG8Q4GQeMt4EfTGmcxUprcrUG2C7Q+/Ec+EZkG44R6p1GvcenMyMSdeeev5iluQ2QDN8zBgJ WHy8qX7Kpp68Oc5TxzpXW9jBnnQ+o61dhvbw5ghXQQ9sUOBlmMiWJ0JOODaxOS9p/FCiSokW9TqEs 2x/UOcBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Tku-0000000Faxy-3uaW; Thu, 17 Oct 2024 16:53:44 +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 1t1TbI-0000000FYK0-2hIp for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:43:54 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XTtvQ3z2mz4wgb; Thu, 17 Oct 2024 16:43:46 +0000 (UTC) Received: from l-latitude7390.lan (host-80-41-166-50.as13285.net [80.41.166.50]) (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 4XTtvH12bkz6tkK; Thu, 17 Oct 2024 16:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729183421; bh=+ctTxFEFzqgLQRCVpY4zseoqPQJk7ohMEUkBFtNFoLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cY193j0w+rLD4qo2x+16/HQaUfXuxKinsJ6w7AgPzRe7F4pLVuvHc3Thf5X9tzUpF pagLJffFLAj52Bbxhl2J+d/6gHjiiDOjfW9TzJhW/mpuYADmcMOpJBjTpZ/PHP0xH7 QbEaf65/K9utBULbZY0WQ0UBQIM2n/OILL7fmWRxHvkNOB6nawwHgT59rwRhWe0cp6 dPzhvIFDlPBPEobRxre1y1+hLig68qftFCFPvGNOmuDNO8e2JytuZN3lPnrWMm+U0U u7ON6AQcEMcX4elLV/lT0VtawN7aFz72A2ThqK0hISUjf/wxzoeoaKohmSeDxznnA1 lcl/ZlGFCkKSA== 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 v2 3/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s) Date: Thu, 17 Oct 2024 17:43:26 +0100 Message-ID: <20241017164328.17077-4-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017164328.17077-1-umer.uddin@mentallysanemainliners.org> References: <20241017164328.17077-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-20241017_094350_213840_3F21EDF6 X-CRM114-Status: GOOD ( 14.62 ) 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 | 23 ++++++++++++++++++++ 2 files changed, 24 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 7a934499b..deb8dc509 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -9,5 +9,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ exynos990-c1s.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..f7b1afd0e --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1s.dts @@ -0,0 +1,23 @@ +// 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-hubble-common.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <2>; + + model = "Samsung Galaxy S20 5G"; + compatible = "samsung,x1s", "samsung,exynos990"; + + memory@9fec00000 { + device_type = "memory"; + reg = <0x9 0xfec00000 0x0 0x01400000>, + <0xa 0x0 0x0 0xfe800000>; + }; +}; From patchwork Thu Oct 17 16:43:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umer Uddin X-Patchwork-Id: 13840559 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 27FF2D3C52C for ; Thu, 17 Oct 2024 18:01: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: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=GWW4w9hkWSyznF3q1PdSFZbRUhQoupg7AzCI1s+IseY=; b=ha7R08Z7rFZ/w8Pe8VV8VD3BBE 601cUgqmxjwO22axznYo9Qr/TILltpUhnodS160LBbmrzleNjH90hbQk7+eLL/reUV8K7r0sXZsdt OBB/dYfQRxzk5VDCDoP1zeJ+SvKel4XW8SVgyW6K0FtNrLqGcKJwZAzb+DEtZQtTIG8fnsc52CT2D KdKD+mdMsp2aPNjcLl1+EJ1OT3xQR9Vx20qhg+yxQvzYNYBQTycd05sEBqg8sVa+pzOpukFVMU5kS 9w0UrMLYwoLKdDxUguy8mwremu4yi0nZwm5Cd4UTJP5Gk8CiP+gqYVsNEYQGaQ6rkvGL3sipNQdfF b5Ymy+Mg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1Uo1-0000000Fnz2-2mmw; Thu, 17 Oct 2024 18:01:06 +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 1t1TbQ-0000000FYMd-2Yyu for linux-arm-kernel@bombadil.infradead.org; Thu, 17 Oct 2024 16:43:56 +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=GWW4w9hkWSyznF3q1PdSFZbRUhQoupg7AzCI1s+IseY=; b=cEoPr/RDqb28lcsjsBPS5LI+Ly tIiBMJz9QFmxXuLxJ6Fcu2M8f6M1bGm4XWu4VDbsdE2RcHetLNW0km7stwm884/cfv0jVQKNxk/VW KRl/ed6O4tzUuQNwnB+jh8ke0UW1cS2DjCabm689wEa70jJtKqA3z4z6JG/UG8lQNS0XMFi/VKL7b OZOTTNlUnEzF3EWCAF191+OJG/pxZEaR/Jrj+ERaW/nJJy0GM+zc77Pk9IfoObpvuDVxHtaiReKGO VPmnW8oA2AwwdFZ0499zCHHhM3oasGcTRwR3jn2KnXfCf01xsiOKWiaElUDU9AOOeq53IeN2q1G7I JJk6g0+g==; Received: from out-02.smtp.spacemail.com ([63.250.43.87]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1TbL-000000079sB-09zD for linux-arm-kernel@lists.infradead.org; Thu, 17 Oct 2024 16:43:55 +0000 Received: from prod-lbout-phx.jellyfish.systems (unknown [198.177.122.3]) by smtp.spacemail.com (Postfix) with ESMTPA id 4XTtvT20h7z4wfk; Thu, 17 Oct 2024 16:43:49 +0000 (UTC) Received: from l-latitude7390.lan (host-80-41-166-50.as13285.net [80.41.166.50]) (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 4XTtvK5rvqz6tkR; Thu, 17 Oct 2024 16:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mentallysanemainliners.org; s=spacemail; t=1729183424; bh=6pRsPnkD7QklEmezrrAWGGBF9feai6FOCBnf7MplZ+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JA+f8Nhi57zIlsmzrqHxs91BODV10lRZWOJ1Z24FKO6xHPeKVNH2/3sBOBu/mJPPn iIOqboeM5p2bJLnuOzB/9MXodXHRrHmmNSqJZJyc8ZyqOPsCqQCIFko/T7ipiUNQy/ dbpDFA2KZoNVbjTiC8jLaeXiIUGi6zWCDOpfYHnkt6E68gH9f8rmachWzn/dxHx57S 8alJj0oMUEpAAnfxMktd+UtArtuuL3WXJ3lakgpGW1rVVYfD3Wc71BCAk/hrLmmD1Y Vci8eCfn0ZSOKyt03tvZZV/Rr3w3ILs0n3ZOSA6MA2962gaCBp0QOihgFp/aO08f9g /LzAkO31gxibQ== 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 v2 4/4] arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte) Date: Thu, 17 Oct 2024 17:43:27 +0100 Message-ID: <20241017164328.17077-5-umer.uddin@mentallysanemainliners.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241017164328.17077-1-umer.uddin@mentallysanemainliners.org> References: <20241017164328.17077-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-20241017_174351_345675_605601E3 X-CRM114-Status: GOOD ( 15.03 ) 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 + arch/arm64/boot/dts/exynos/exynos990-x1slte.dts | 17 +++++++++++++++++ 2 files changed, 18 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 deb8dc509..783807249 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-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..9e6a1a060 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos990-x1slte.dts @@ -0,0 +1,17 @@ +// 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"; +};