From patchwork Sat Oct 26 20:32:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852355 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 F1A90D0C604 for ; Sat, 26 Oct 2024 20:46:42 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FgC/yWGHmE4AGKMxUzujN8ihPZGQwuq5HhMl1Sf1wCU=; b=lYik6bNw8QHWtgxiO3h/UYXHAn 0OPuUOzJsdSDZ97Wta6Ly59fSgsHuSWeafL79fNuCr7muZeXvUoiA7z3p4iZHJU9GoVz+GFXzBELD 6YIShmVheR4vkqn7Hm/PWpXrQ7F8PWQSsNQXbwa1iCy/swxMPqgy0/heFTwJXTz9/lUl+1uW7JrxD kb/JH0SOO5lU9/bCbL/rQFZaurqFKo4Tz+imlwgFueqQGa8ykh99CLMN7b811+kmRUBy2dI6bYmdR FEuhM4Sqr4Qxbt81ZsaOE4/TtGpaCkaabgiHcwy/ohCPLH/XDIQ30bYVpKOMvRaP7N1Nya2S2G+Pw pyJOVVZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4ng7-00000007Dtb-2v7s; Sat, 26 Oct 2024 20:46:31 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nSw-00000007C95-2NEQ for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:32:55 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-53b1fbb8be5so3206887e87.1 for ; Sat, 26 Oct 2024 13:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974773; x=1730579573; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FgC/yWGHmE4AGKMxUzujN8ihPZGQwuq5HhMl1Sf1wCU=; b=XfEPRz8oMS/hYIJ7u2/5usV4S420Bl5sp/J2DsSsimsG0NO9W/dKC7UrLHU+JPbpmg o+FCGy02lOptMNz9gLYVI6QfxVuv6B2OQNFlfZvokZ2xPnn3q55a1pTM7HA4G9lw/MKz YZDVf7s3JBsnayXLe/MK9GKoCE+14IwxGmGANzMfUtXQP5nKLbQRDKY7ODmyN+7z+F/b m4h5ZKcopdzvU5pkZZgAyy55G7dtuRhiCbPuWPBrtMJ9diVHAeJUyVn2yXqE/Fb6fwTm B41+xiKgxc8Fnydr1Ipf/p7PwFQz29posq8+ifIJ1L2d33u6UCGdnR68PyGbgT0J/Rup /Dxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974773; x=1730579573; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FgC/yWGHmE4AGKMxUzujN8ihPZGQwuq5HhMl1Sf1wCU=; b=cpVJI8R4Y6SA66Qkzn2LQRKxH5uy3ww7r/p1TuoIYkbyi8uiQS2p+asokHBJf/PoeY 7kpKyIG2ecTYzwzzZEDvnDhtR+2TdCG9Do3IkkOAQqm/cFyMIHip/Nq3YyzW0fEm5I8F zmascozpVyAnVn/LFseP+jV9A3Bk+LZx5/hQKSyUjIGaZp94wxgsDK7xZ7FDtlJ3VV4L WaruzJ44gr0ve1Pxr5Jf9yyhVwNBOaHB8xmFvN8bptluJYKnuUnwAwKSrYRRF6HrCGwZ qfdxR+Ww+i6E3a846aNl2IY/hWGC6ge1SOD2n+OECoBJaVrVONpOG9d6YseB6I+6J7Kw c+oA== X-Forwarded-Encrypted: i=1; AJvYcCXNkY7eYCHKL1/M+xRi0WtWHO2z2Ipe7UJZyqDc7MIGtEgttOd6mGsPHvv6KRTAUUr4gW/BCSTzbJEpJF689gIv@lists.infradead.org X-Gm-Message-State: AOJu0Yzr0EDJXfTYwxXFd6Ci8bArCzZDOXk/haSIpcatIWqA0k3cl+ox 6j38rvuKhlo+7RlN6n/9kj/zg0Fq0xa6CxSU5ah5aizyQvgAlPwG X-Google-Smtp-Source: AGHT+IFLxbRdaCEjkbzhHVNrBiPqEaPx3e+Cav6SBYUMEISg8VJPQ5muiArk4TMAIABtjOOheplC7g== X-Received: by 2002:a05:6512:b10:b0:53a:1b6:4624 with SMTP id 2adb3069b0e04-53b236a6986mr3415466e87.5.1729974772337; Sat, 26 Oct 2024 13:32:52 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:52 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:32 +0300 Subject: [PATCH v3 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M3 MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-1-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=977; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=UwXq8/s+/ZWgzHv8GxfRHapMvLu4ujsMuyVEiwqZOGw=; b=pEgrZ5Ow4GFlkux1RDET5/Od+ZRKUIB3LBVDU83F8TVAIUJCjWsnr2oMj3M/bUm5C0iUTkEDQ FLN5CFlwbJpCuWSERdsz8d0FR9f4Tb1A7Tmtw1Y8943Lrupob1xPM/+ X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133254_643545_96A60D21 X-CRM114-Status: UNSURE ( 9.39 ) 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 the compatible for Samsung Mongoose M3 CPU core to the schema. Mongoose M3 (codenamed Meerkat) is the big core in Exynos9810 SoC, designed by Samsung. It implements ARMv8.2-A ISA. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index c54d20dd9d7efcbbfe73e5a63fd2f61d1e010d29..2fa7d3513da839ddfb2844628b1249567226a025 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -207,6 +207,7 @@ properties: - qcom,oryon - qcom,scorpion - samsung,mongoose-m2 + - samsung,mongoose-m3 - samsung,mongoose-m5 enable-method: From patchwork Sat Oct 26 20:32:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852357 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 70131D0C604 for ; Sat, 26 Oct 2024 20:48:17 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5RxyOtzTNaPKWcI+VUBDYXPbW1xC12WwCJqtMGjine0=; b=I++MdfgNirjaISaEMEAq7MYKuZ SA2c+6rUa3jVnsbuteQ0hvlS/k8NIQZ5ASpmggEzbcflwbmsva+CK0XdIWCjbpy/M+uC3u0/68Hmb DFIh7CBlfmD/ZhbUNGSYHAvVn8cwQFFeEWl3SrMwTHaM0pq5EvK0bu4QDN8Kj4FzuKUMy2JhfzbOQ ouhAJNKhP4bYFt7INmfbih7L69GCrh7PQOQm/9bA0JFfHOIHLcM1THqoxgvrfVwuA76mlkdMIf5yj kAzlzUY5f2jDlrhSsZ0Ni7bVFFg+XBUf2g14pRi1CQDasQhKMD4WSDZZ6sZBYol9lUXKRIIXJfSck Hk4uFmzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nhg-00000007E33-0RyA; Sat, 26 Oct 2024 20:48:08 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nSx-00000007C9T-3bu7 for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:32:57 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-539f6e1f756so3488344e87.0 for ; Sat, 26 Oct 2024 13:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974774; x=1730579574; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5RxyOtzTNaPKWcI+VUBDYXPbW1xC12WwCJqtMGjine0=; b=OnFNS+ifs3XUfCVF8OousYuUi3Vbr0mZqXyjUL+ZhxZFu05Hukn5aPWpodbgb7YqPh WnTOhKOLnFY95CNOos7/d8ZmOB+Ocoelzy3UYFBmdz/u/e0wlFYNLQfRWsQDZ5inIffu tUb99UiAISJgGEEmp17vJbeegBHyFZ9kqqsb+07M6WwIKrLb3VfuFVZKktg9kJkkxGiL 8JzKXI1IY7bad2cekadJcfl9kdgFaEWeMfwTnC6EY/oy+9gwG9c3Th+M5pZIcyWtPTPQ eZ6hcYDrGF0lkqKkfHN/DGZf3lFZSxzEp4mYmvnLKteMW/6LoVxQzf8isoDbI639U0zY eXyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974774; x=1730579574; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5RxyOtzTNaPKWcI+VUBDYXPbW1xC12WwCJqtMGjine0=; b=nfemfhW9t8pNl2MPA6gQjvm5C53qaEW7iyzeGWNbdwzNF9iakXiyZU6AE0VhycwTch qk1MSKd8WTeGfz2kwvREBQpoy5L+inw9BiyLpcIC2N946/jKDM4/GCkqIKDQwY9hxUrD ZGKveL0LihQr6e0jyfwjFm3F8yXtz26qprs60COxwcEFweMwV1q2DfdP2Vl5jyhx69TY tloTIH21XmcEIus+oThSKKF4cbMZzjIrPZHroSqDL8YgFU9pJPNE0DAtGWEY8JgUp2tE EOM15e3jEPL+BttCqZ4yZwmOrp/+AkpS0FFfPIVM0Ez3LF3gXP4QQYvQsfxfuPWuG2eB 4sXw== X-Forwarded-Encrypted: i=1; AJvYcCUMZUfpOY7XVNJ/dkQ4WuPpTtH/o1ng/l5v1XnG6HPvM5CRJhfwemfP9o+RXyL1a49iWUe0m9VjKEcQgFqMwd3S@lists.infradead.org X-Gm-Message-State: AOJu0YyIfILFSMbIS6i+VEDzUKJd0F812mMGerQy3Aaes5iGpt6OGWwN +5vLA/Y+Gmzfbcf1eRDzp54XzAWiUTYMro+IwTYVak6IbuvX1Rgz X-Google-Smtp-Source: AGHT+IFiuAmfPjlgB/C/2gEPUhMkLfqDRejoEvfIm9rhcA2aU8Ra0zcTZ3+8dY70y76GcxBaBc8BZw== X-Received: by 2002:a05:6512:12d3:b0:539:fb49:c47a with SMTP id 2adb3069b0e04-53b348c38b0mr1707159e87.4.1729974773683; Sat, 26 Oct 2024 13:32:53 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:53 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:33 +0300 Subject: [PATCH v3 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-2-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=1257; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=L3bYZfWAgZW5JNaWDhl/QF4KE7601D4KEfmVId1ELs0=; b=dRSYGEsoUXwVRZD/3jxhOaqXTUZub/HGYwcxzy8l+bUINvG4QBuof/tzu0RzyIco7LwH5IdrZ LKDQOtiIY0aBqWdLPB18QU3D3w6OI344UqMsVux+L0nw9u+iYfoDauJ X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133255_945465_F6549594 X-CRM114-Status: UNSURE ( 9.55 ) 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 the compatible for Samsung Exynos9810 chipid to schema. Exynos9810 is a flagship mobile SoC released in 2018 and used in various Samsung devices, including Samsung Galaxy S9 (SM-G960F), S9 Plus (SM-G965F), and Note 9 (SM-N960F). Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 47a8d98346ebb83a7ea4d11e2fc7fc87df6bc5ad..385aac7161a0db9334a92d78a57a125f23ca1920 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -24,6 +24,7 @@ properties: - enum: - samsung,exynos7885-chipid - samsung,exynos8895-chipid + - samsung,exynos9810-chipid - samsung,exynos990-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid From patchwork Sat Oct 26 20:32:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852358 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 DFD7DD0C604 for ; Sat, 26 Oct 2024 20:49:55 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=v4PSQ1+e6ucZrPf9c7JXGpzaVnXhXC5MY+CSiZgTD00=; b=RMGF1B8XhrtXyZm7k7fWWfjuDB oK9umsSBzfEpRYpGlz4S0ix9H0GDVKM+pZSP7AVJdKreVr84NMFFkteS3kYlR57150gHKPZVLNtq9 q2/qAtDy/0tPRsDNQQ4k6D6rxOdRUQ+T+yCpKuRy5fNUjmE+0SOL5FM+I42s2S/0iLa6ztHeixL43 PwwBONyWDH0BbvlTrJyAHpZKVhM8o27YMEPHj8WGf1hwtMgu0iByr/StRVkll7Bt65p6xtzoWGXpc Tc2yl3TcWhJopwts0df8FdszL8JrCTWrdT2fHOLJI+xsKTOkP2ArmIvCsEzoHh8In2JAheE4bdESr E2rwIf6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4njE-00000007EGK-2S7l; Sat, 26 Oct 2024 20:49:44 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nSz-00000007CAF-39QS for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:32:59 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539f4d8ef66so4312231e87.1 for ; Sat, 26 Oct 2024 13:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974775; x=1730579575; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=v4PSQ1+e6ucZrPf9c7JXGpzaVnXhXC5MY+CSiZgTD00=; b=LvLkFy8WcJGfA40Urgb3pjLIM7uAMBgApMBBuw6K8tH9mqcYMoHZcaoyxdyB3p2E3E M/aFn2i1qgZR7CrvSy896jEKAU9AL0BUmzD9tJjtntR+S2Mx79AMXC1m2ETjeezu7jj2 nUlomO+zJMMg7XTZU3s3IRtSSZ5a/oqS1gyV15w3wAVAoZrDQcgUKrsHm2az2bcQW1+9 qmGZ5LBv8JS3NXF56TY28r8leXAMMcdZ706oexdy4xwMiK9FTyxxWHRUdPJryR6S90J3 jw08GpJ/FtJEny1k/LWUscgJY7pCpLtD7lqbR7zYkZwufOaaGsRUf+tx25NOgH9wPjh8 GsOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974775; x=1730579575; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v4PSQ1+e6ucZrPf9c7JXGpzaVnXhXC5MY+CSiZgTD00=; b=X56UF0E45x8FkIzcjgYEj3GR7RmITIRju7Ti1o8plAl5ptdzPqGGDn8cUP14uRIUDJ ixEv7EJC7xB+Zq2L2Nlm6tacv3RW1qxh/A+jYQWqbsPQQbfOGV5HwEd7Jj0LIEr+Esz3 KrfQw9hplBXtfy8glSg/YI4NPVFjVz+QoQgxNHuHobxVRilRalOkqJ1bwcMAB5JLAzpt nTvU//Nc30VC48sZs5XWI9zSJ3jRJvhFPPNh3uAoSAXdTNkLJfNxrpNRjVURmPNRdh8A gqdecQcgy2N1yyQsT946liXidP2s3KXZYecrQk2bp1ldCABPf91k4m3jbUM1Yc/qr9yU 7epw== X-Forwarded-Encrypted: i=1; AJvYcCXDuW1lOPRiqG7HjNWF1dHPLC+h6NwclAg9rNJ2Nz1i81NwALVfKCRdqlTcsASGJOin4zo6qtiXeq5h39a86OSa@lists.infradead.org X-Gm-Message-State: AOJu0YzG61FfmjVHLXwSmL3YYzQC38xENTjBQBh4kKnr3tZ7531G/4kT McXrfmlSm0xeNI3YyaG5wAYsoBVsRAvKaaecVpiMsv3DaRlvsa/k X-Google-Smtp-Source: AGHT+IGe/U7xw7yCNlVrZkKflCS/QoksZPIgpTjKEK2BqRkydCbpcJIzK6HfwaBb965DKr+e1v5fYQ== X-Received: by 2002:a05:6512:1383:b0:539:a3cd:97ca with SMTP id 2adb3069b0e04-53b34a1b050mr1384179e87.36.1729974775252; Sat, 26 Oct 2024 13:32:55 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:54 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:34 +0300 Subject: [PATCH v3 03/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-3-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=1128; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=QRm1Gv2AA1GFAPmeHv5zxFsdSoDgKKQmqGhsA6AhOnc=; b=HDW1N7iiH21cJLtmEurHMCvgcqcgWvT8OTEhZSo9//vXyw7gqKZHkQXBXRI43H4K1hRsp3UWF 2pLP0DVbPlvBhkSNA9pO2Qo5gsoBtgkSnBUhlu7p131+IutUlluARIp X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133257_821959_D8FBBE0C X-CRM114-Status: UNSURE ( 9.43 ) 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 a compatible for Samsung Exynos9810 pinctrl block to the schema. Exynos9810 has 9 total pin banks and it's similar to other Samsung SoC pinctrl blocks. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 7e6ef8249de6c2eeedfaab0ad6316af135c2ec31..5296a9e4faaec691994cd567bc3805f870aaebf8 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -54,6 +54,7 @@ properties: - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl - samsung,exynos8895-pinctrl + - samsung,exynos9810-pinctrl - samsung,exynos990-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl From patchwork Sat Oct 26 20:32:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852359 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 B1CAED10C06 for ; Sat, 26 Oct 2024 20:51:32 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pfbT6MDiefFz3BliYWZ+loVFrZSj8n+9s/0V0etkG70=; b=zjs17KDJ2RilJTw1k/xXbuqO3T F18EMt2RV9ASm99UtivODhwoUvf2lsL9pznqMjVFWNTW78d5Rr4iGsdfrWp4QEZCoh3TuxkzV3UwB YAY9AmwYVFASKC/gXG4HykOJy07m1GN+8F/VpdrVwja+QU7iOQtHg2eJ5rAxqpRBDUZCzWfi8Okrn Au0uJuxfsJ9R08P2S4b7UExPF0GRulosHDMeE6S9E3PfD8anFMuuSvziSuKttPRjlsAQcvy97jwTM YYZx7fMVhyH8/mNKqzsWD1JY5Hc22NzO+vdPStXUb7qraeisyTKuajfQnyRAXfrLOlUF1I+1pcZdA YDxUyj7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nkp-00000007EOP-099V; Sat, 26 Oct 2024 20:51:23 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT0-00000007CAR-3krf for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:00 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-539f58c68c5so5364922e87.3 for ; Sat, 26 Oct 2024 13:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974777; x=1730579577; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pfbT6MDiefFz3BliYWZ+loVFrZSj8n+9s/0V0etkG70=; b=CtWonxk0Ag8aQ+LTf89xM+z9ZKP2DB8UbsE1YQYpD9y/WEGKsUm/VxfgY2wtqIXCuB taL8bBTrxB5T85Fr6tcXRHz9kUcaIQY4gucxDpzjoEzIB2jEXDZMkfwaYO8fYHeNSVs/ 4mpNtNMfhtEE+kiF/a3NtsttxLUPRvWQOontxmNahtZ/EpY7elfmXJzsWEdSy9eKqQF3 //boH8ECqJle0Wsi+VKBCdJMFXgk9mjeh9QfGm8dGjJHKpjJioWIYllMJOQ5vyw1NL/7 iRkUfbJKI2FcHMs+vwtZDrA0IduPd8BXzYcYjVCf/MLVCogfdcFk2uZ4FQpFKT5kA5xq r3Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974777; x=1730579577; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pfbT6MDiefFz3BliYWZ+loVFrZSj8n+9s/0V0etkG70=; b=KOT68bOuyfjtV65wiezs0/+J/r4eXkpXpCCpmyuKlJf3GC4d4DtnEn6On0Ew9n/LX4 yOlxltSMVxSwt9y46G8kzBThZcGqoMnDgKjinQvig6fzHRli2WEBvITgqsNUG1ddUidu PsxOksxdXlYJgiyfQlFiewrHdbLbDYsJCb2yFbEwuKrbZ5DZJU++QMao9PysjuLck1m+ eibimEBJzhBD6x5TqoHiYHdZLc5YWusib/eN0w0XRns8qhKRB9nJPcOMzx7uaKjYKeCZ sGG5nG1Xr2WxMHgBb7Oy3FZqOocmbhBBXYrfimfPT76nWPlhfWF/yNzekLhgTpu5eYoo k5oA== X-Forwarded-Encrypted: i=1; AJvYcCVsYggXFwYoPaVhKzKupXnguptzJlMj8JnMe/lgYRctGuNKSQbjGkFo9Udskm1HV/ezWXdMmuXvpzFcIfSlLSJt@lists.infradead.org X-Gm-Message-State: AOJu0YyqrsEHUbtBbFIdp+Li/gRA/ELyE+pfmhK3oPlIBMQ9RjgAr1Xy /oDnBlYoJzWGXeLFREwIWHflZbr89MadQDpjNsuJdZDRZmwha7FE X-Google-Smtp-Source: AGHT+IFa2cx+0Db9MPUpvPUybZJma51YVLqGjs037Ljgs+OOjPeRfsff6mJqSA/kPnjStiC9XI1WDA== X-Received: by 2002:a05:6512:33cf:b0:533:c9d:a01f with SMTP id 2adb3069b0e04-53b348ba0bemr2131592e87.4.1729974776404; Sat, 26 Oct 2024 13:32:56 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:56 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:35 +0300 Subject: [PATCH v3 04/10] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-4-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=1230; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=nX/aujPmPzzwxGs4OFiOnvYO/MsiQA4p8l4iwrKD/GI=; b=ulm69Z4o3o1cahCfZW8YV+xutp/R9Nj7er2UZqMzbkJfaINK9TcPgF83sxdHRHBdWexXx7rHG 5GF51DcJR18DQbQcLzdR7sea1bpqyFfBfZD8hlg2oWgkqzFZ2wbgH/a X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133258_969897_0B0D548E X-CRM114-Status: UNSURE ( 9.93 ) 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 the compatible for Samsung Exynos9810 pinctrl eint block to the schema. It is compatible with Exynos850 EINT controller, and doesn't have a dedicated IRQ line. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- .../devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index 565cacadb6be77b1be1a7423f88564dd950c44db..68ed714eb0a178c46228bac142d69bbd6baa6277 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -47,6 +47,7 @@ properties: - items: - enum: - google,gs101-wakeup-eint + - samsung,exynos9810-wakeup-eint - samsung,exynos990-wakeup-eint - samsung,exynosautov9-wakeup-eint - const: samsung,exynos850-wakeup-eint From patchwork Sat Oct 26 20:32:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852360 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 1EA66D10C06 for ; Sat, 26 Oct 2024 20:53:09 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yt0YV3G/Lz+aotZMK2Qv9/6LIC8i2CceAvIskO4P2nY=; b=YSX6w+vMYQ4TwHBkw9FmwLJMNx oq/sbqGBmWS0mcJpX5cLMnlP3XRUMJNByNAUcWHxDxqpbczU1DyHvi2W3B4+7aIZmFf4UZFlBy8af KDAkpHirhB8LrLTraxZSag2Mdfwe+bDRT/GHJsNRFDkZGgYhuwyEh1FYvzAZFCIsJXMZSwEpahCbt t9gAWLyr7Qzc3us52kV3wPbjwCuSlTJGIoRpzMojY3M/7/wmXCVoDEuO9XZCCG8K9UlNNsZXA8CUK 6W61E3yr4v8vng0g5QKF8co7ufBtMcd5d4XHsRKOfplb1/XfkaZKcZ6kUbgn4kfDmMoxe7ipB/UUi fJuD8DAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nmM-00000007EVr-0BKp; Sat, 26 Oct 2024 20:52:58 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT2-00000007CAl-03lj for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:01 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-539fbbadf83so4090084e87.0 for ; Sat, 26 Oct 2024 13:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974778; x=1730579578; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yt0YV3G/Lz+aotZMK2Qv9/6LIC8i2CceAvIskO4P2nY=; b=NtR/qOQDfxP1DNqziuo3C0eysVyLYlxOs0Hjf+SOiCZvnU9KwiA6UdvsfTELhjUef8 rvCRrCZ5iu7RBzF9IzYKcRGVwBL8jeLwBPdQyq2QYioJoXs1KbVfCwzOeky22TovhV84 /5sy8ZjkVWXFEPXv8Kp2CDV/hLx0ylhkgomChkV5N6WqzlL4i6C0Shl6ZPwE9o5wLYmu GSeL4lTubHb75Jb1pLhmgN/yIvkU+DGNUdDw4N62Mhn7fW6QkVmyJsTfWhsRneYEoPaN qnfnAcoNozkWVH40Nucnnni2AHeZRlMP+OjnYawQKgrLbTnyZNxQyCBRwaW7psd3luTC BgNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974778; x=1730579578; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yt0YV3G/Lz+aotZMK2Qv9/6LIC8i2CceAvIskO4P2nY=; b=fnrQaaR3bqSejabCDl7CMMqzpcXzHWOg6vj0FQSrmBU4vjTq10q/0oz7pCmHhnuty6 fTrjRg0LY7xjalzNKdZTunDkJUgg7B7hs0a9djbxZj4YyePwlLgW6hZJFFTjS7ZALrXB Eaae9HGEZRPE2xayZrxuXR97DFaLZ7lmIOc1o//O6e+3YtS/QlNaBjz0sKcBbpDjs4KT kOdQu0PXKOCUbakBmwFtSxWTQzV2yfyDy2ObQI7Y0pqQ1xxG2T7sjgvWyDaZgdy2tn26 nptRXmRDm3Xm8VVPz+lJW1pezq+rSxPO9lRxGf9zBhj99ZYsDSWv5G2dWtrEZsLgkL4u f+HA== X-Forwarded-Encrypted: i=1; AJvYcCXhDwwCWGD2w+E9hG9y1F3CaAtRoUZvj6qJBK0RRIBEu2lTkaHCp+KISUfN0N7LcaA4okcWrtLk0SZuklTqwiZR@lists.infradead.org X-Gm-Message-State: AOJu0Yy4R3uDbQ+iEO/Zl4Y38/AGYE+leoQJUy6ySCISBEgU7mJr9iUi syfVn8pGGsBHPovOWelzVhUvuPLOERHyg1FWfIQZfBWW5tIEqsIs X-Google-Smtp-Source: AGHT+IE94seOWjt2vhWS2tlD1plFCn950iTFoMq3FqH1akUBlIephQUCBaDTJE0ncDjQg1eAFgLidQ== X-Received: by 2002:a05:6512:2304:b0:53a:aea:a9e1 with SMTP id 2adb3069b0e04-53b34a1afd9mr1629513e87.54.1729974777564; Sat, 26 Oct 2024 13:32:57 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:57 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:36 +0300 Subject: [PATCH v3 05/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-5-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=1139; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=BYkuQEvmBOjDeOJiyY2S6irVYNGpBs7FyenLcNADI/8=; b=gh2voepCAWzOdRwEp6EGoiNM1UJuCN8nlQjrzfp0lhXDOIUobIKmQErhH3P2veI/Ysa90ryWQ FExTP4oPA0zDOUyGoTDJAxdOb5rEXpB0kQqefZHS0fIim3KtlfDxzvP X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133300_085458_F47E3EFD X-CRM114-Status: UNSURE ( 9.28 ) 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 compatible for Samsung Exynos9810 PMU to the schema. Like on other devices, it contains various registers related to power management and other vital to SoC functions. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 5c4ba6c65e6926467ff0e90142ad62fbd0b9e1e8..6cdfe7e059a3556dfb872818f1b2649ab6b0e8af 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -54,6 +54,7 @@ properties: - enum: - samsung,exynos7885-pmu - samsung,exynos8895-pmu + - samsung,exynos9810-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu From patchwork Sat Oct 26 20:32:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852350 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 6E039D10C06 for ; Sat, 26 Oct 2024 20:38:44 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4r3f1+NvBb+8lEJPQFzoU+pVWA5C1a/T6mdun4fd2Zs=; b=TM4q4WVpdyD1+tAd9lVwgh6DfN vRrUcLH3+Bfb/wSzrM9GxRz3eozEBJiBpFttsI1K9Nr+rrHkjHxd0YZxdrEpQUbFOIDJ1AR2DuCpn BZNVdUGkM4DOR/2EYHwhZvka6TJhgq2yL0S5RGjLa1hLhO8cNNeN3mH7ZlDgf4kVuuOkGrybv3Rnt z8r6waBSzsLjf+fUOMwyTRLf5dkWEy+osbGzjwN3OLUtqmRpG+0jooB/0gUSOFbLbfCdJtKlcAz2I iv6URhpbPYsJRwjVHUBTZ2V3iL90fHtjJ3t4g8zPwEIgMCLAAFD5PieIDFnvY3Hy+mBK7dEbBJfEI fvzlPHmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nYR-00000007D5i-1nw8; Sat, 26 Oct 2024 20:38:35 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT2-00000007CBE-3RUD for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:01 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-539f72c8fc1so3757415e87.1 for ; Sat, 26 Oct 2024 13:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974779; x=1730579579; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4r3f1+NvBb+8lEJPQFzoU+pVWA5C1a/T6mdun4fd2Zs=; b=ZvrbUlTx1F7pWxzXN0cq3L0UvYCGyyj44LBYEuAH3UnsHufHAkwrvpMV6s7LVX/93e XiRRfkzFeMJzE9pP1mmIPOx8dUn1Uyhp7jJpLHLzdcl0dsKYUX5OlHg8fIDrBHsrqI3i 775V3hQ2HJ5F2dtXtX8oP70LBpK/BfjmcrcHeYFRYM6EVLr3SsiRWvL3zSvPXwT8HM9t /lmxdkQ8WUA8wcodUnAkShLc/9SDM89mpAhifTJqxLnRxraeoRXEM27xwfYp+HvUj243 CVuQjYriz1xq8NRvFFZoldC5ccTL2XmW8FvHs3nmSlW38g/RnP9P09ZKoSuBasqhNyZE gnTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974779; x=1730579579; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4r3f1+NvBb+8lEJPQFzoU+pVWA5C1a/T6mdun4fd2Zs=; b=iUz7JIoU7+cX8y7ypozvs9851HyFJmVFeue1ccGdMgOB7G9IUfkRq5l1StBwwlSx58 xNBcJ4kNlYN6N4AuW2jto80a/saNj/XdQnHUbAJxC0bpx494eSp/M2y2SzF7J+wSeHi4 XRn7tOUd9HQHt9CghGVRG6aiGwcuXFQtGe3uQpsyppqnk/zYWtZpyywaV4vSQ2Xu79tF mh9iH6js8SjVf6+EQJZ4iSmNgGOAvkKdlgatSZ2xDIMWqmCaCOnvGJ8iTFRq9DNG5flH ERZT8/vkqj3/lDk8RpwnN9NEUjQOLXZWagNUgb8VAabgyjfrQbS8iNCnM3+BU866hyGc ZedA== X-Forwarded-Encrypted: i=1; AJvYcCUsGRCRldalOXrpnPKVA73vpfaWG0lTnukpurSpkoMP1vpCoKE5psxCAZNveRvU24AnSprVFvL67YRtTolsugZJ@lists.infradead.org X-Gm-Message-State: AOJu0Ywk+f6BbAWmkZudhuNhlxt+cZml4K8opERD65LN42iHDshuHxKE K8kmfRBzLY08sg8b+RSxt3mqREyU59DRQPUAlb3RVh9G59UavP6B X-Google-Smtp-Source: AGHT+IEJyuv8E67spcRtNlhUzUOZP1zatqqU9Ahx6YEyDR1zWtyanVvxbI07DmW0sueikKHRZE0pWQ== X-Received: by 2002:a05:6512:3e22:b0:539:9490:7257 with SMTP id 2adb3069b0e04-53b348da64fmr1269419e87.30.1729974779092; Sat, 26 Oct 2024 13:32:59 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:32:58 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:37 +0300 Subject: [PATCH v3 06/10] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-6-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=1321; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=tRiFoRgs2wnv5kkwhc9AnOYjzd7mmGEE34XIM9iDvVU=; b=fOUssGGgZXfjE+4gwDNznykMMOmyN0xkbPQepfQuqPXKP/unZ5AjK79B9+9tJdY6GPViWd9vM Z3xP7qy8tO4B+tcbM42JXxzJI8hlQBWeH+PvCefYxcIJ6vg75EJYIas X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133300_893612_E6D81D13 X-CRM114-Status: UNSURE ( 9.24 ) 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 the compatibles for Exynos9810 SoC and samsung,starlte board to the list of boards. Samsung Galaxy S9 (SM-G960F, codenamed starlte) is a mobile phone, released in 2018. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index d25a17e697256f8d868e24bea47d21accd1184ed..b5ba5ffc36d687a6fdbc625e6d95c37a8a2e2b93 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -230,6 +230,12 @@ properties: - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) - const: samsung,exynos8895 + - description: Exynos9810 based boards + items: + - enum: + - samsung,starlte # Samsung Galaxy S9 (SM-G960F) + - const: samsung,exynos9810 + - description: Exynos990 based boards items: - enum: From patchwork Sat Oct 26 20:32:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852351 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 B8822D0C604 for ; Sat, 26 Oct 2024 20:40:22 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b1grSvU5Tn2s3ry5oErdwTQ9/uQCVVjQWC+Dff+1YOQ=; b=buFsP0BafBmuL1cuDpIezsfQUf iMaCPewbdSL7lHtV27Pp73/j0eS5v3xd0NbIkQZL8sIZAJbAjoNpwfQhE1ksJnVK7gJTcJFtHovqQ p9UdFryhAWX97E0igMDFt0zwpWuxPeXn/cunbCP8n3R2TgxQOwXP12h7zD27GlQQavG3nsoaUZtl0 Jh4AOXxCE8xLpAcYCoYQvPs8HjJq+UHAT+LxWXgr5ImyTnWqG+Wmb2IAt8BRU6/PxTEOABmkv68Iy AGJYS4y3mk/7NronB+PSYt3qoaKerl/W9g6fCbrGlq+5lan8IF+ji4Lg4MeNeUWusnVGe5KQL6EoO 3LyRFp8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nZy-00000007DDZ-3XbG; Sat, 26 Oct 2024 20:40:10 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT4-00000007CBs-2ytN for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:04 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-539e59dadebso3769024e87.0 for ; Sat, 26 Oct 2024 13:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974780; x=1730579580; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=b1grSvU5Tn2s3ry5oErdwTQ9/uQCVVjQWC+Dff+1YOQ=; b=EiT4owmC26zlQo+niXxYe06Y/zVZpbe0vPQNwcaya5TQTRKPsH+ZBqaMYY4IoRqy6m sbi3UGDMIrYYnIgjCv8U3nGyniYTwXepeS8HqW4E6CdBgWHZLF1ow7aBGgWrpQu9OiEY U32WdI04rlULDvddRFFeAoESQARbgeJJLFd857IcTPE9nEmMc8Tf++N7fF3QUG4Dt09K UlAmBtlAUHAWOjVBpvGGyW5DaXTBKfgs8EIb9xBRCPgcNHmorKb8oiyFyhjVZEZ3uGB7 Wl7+7yFy9DLFEIxHHoWJNBZB8fpRMpVOTPV40rGg6HR7I28DeBUTYdAApafMVEZE7fpt F0xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974780; x=1730579580; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b1grSvU5Tn2s3ry5oErdwTQ9/uQCVVjQWC+Dff+1YOQ=; b=wSnghXfRpaUKtk+MH1SziEeuvJmBko2nz1tANpKegVo1HYnwhkD5ygxsuB1IyTjeLX wElH3za939kC/anQuMbwa3aD8LqtdPjRqK2rQkGhOqFgXbwBRXJ7izv8n5dRuPJ5nz75 7yaglam+qpQiOyC4SzZaOuTJyMF+NoA3farK5Sr6J2R/Olvj4NdxiSwywCreH73UxKaN teejgSFFeSAoyJfDGQW7zBvPu5sxEN2lvNrhWAw11dAFR4M5dlonqNHVJJ9FaD98K6AF c0tukMwzQjsQ6BcdXUFHMNNXOsxz8cSM1l3QCEcIKPHCeCMUmR3eE8iBugrX1fRvpd0Z jUrw== X-Forwarded-Encrypted: i=1; AJvYcCV7IR4egctK904uy3lyBBCkbOrFjcnlM/AWhBmq4glUdiaL2Lggtr59upXxQJuxH/jQ9QyWLm/9YE3GtjtLw3RY@lists.infradead.org X-Gm-Message-State: AOJu0YxsLdR/VU+Enz203gypFdeMhUiDK+pOU1un8OHILLm/LiuzmkeK imWgM6R3UO9H5m+S6ea9lCSZZaRQTFM/3ZpLeOYj8hkMQH8THOuc X-Google-Smtp-Source: AGHT+IHWZf3xXJWbjclTAVdzqiSi3SC8R16MfNzyEIkT5MszF0E+oAKczTmO03v+bTX0CcurM/WUAw== X-Received: by 2002:a05:6512:1392:b0:536:73b5:d971 with SMTP id 2adb3069b0e04-53b34c5f886mr1377958e87.38.1729974780318; Sat, 26 Oct 2024 13:33:00 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:33:00 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:38 +0300 Subject: [PATCH v3 07/10] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-7-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=938; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=UX/VlaIr9ETHnZFFn3Brzw/0L1791ZTGgYbdKg640mU=; b=MHk0C/fqCvgcyc7O1jK3IuskS2dcJ9ZvFOTuuysMIFpOtlxHJFOoxLb1kpPBG/il7YSBGNHVl 0PYfyTQlzt9CLdXffsjft5doo8Xa7NF3hB5T/jsMfhcuFta/xr1PBeO X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133302_782717_E4008404 X-CRM114-Status: GOOD ( 10.78 ) 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 Exynos 9810 has the product ID of "0xE9810000". Add this ID to the IDs together with the name of the SoC. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 94c7cc0d11e4c6f151336dc6e25495a31cbec02d..23cc20896b85a2da02f36703225a4f62e7538a62 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -59,6 +59,7 @@ static const struct exynos_soc_id { { "EXYNOS7885", 0xE7885000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOS8895", 0xE8895000 }, + { "EXYNOS9810", 0xE9810000 }, { "EXYNOS990", 0xE9830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, From patchwork Sat Oct 26 20:32:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852352 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 45952D10C06 for ; Sat, 26 Oct 2024 20:41:56 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JAqXyJ+sd57/HN5TRgePj1d+VaJoxJ/E5Im16zWHmNY=; b=HNn4mTzKEFmyShCHWzy5oiFBqy BCaFwwczousJ6tD1D1YnjBfUeIYGhzkv2GDAp6oC8UsPl2DFKlg+oIu5Q/II88e9ptJAfRH/wSsTB uGNcTbYz5yAajE/s37lv8CM/MagAd4gl2mIEBVOq9jn2u+xFKb02Ney0hvnPbncUle7zma5bYQVhl O5eHRi7gaMzz3rIg/ZTrhFMTgyHI1UsctCkcJNDdiY+1/xwwsRlRt9OZckAEDW282AKJ0tHj2h5tK mffXvDYgwJrszbHRqFddUQORkNy3QpTcHbMkTgeLKjsdRXHFccks1dgFFutF1zSA0FeYHMomG+4V5 SnzPKcpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nbW-00000007DL5-0CHz; Sat, 26 Oct 2024 20:41:46 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT5-00000007CCE-34Br for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:05 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-539f76a6f0dso2845893e87.1 for ; Sat, 26 Oct 2024 13:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974782; x=1730579582; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JAqXyJ+sd57/HN5TRgePj1d+VaJoxJ/E5Im16zWHmNY=; b=BAzgdotL5uuVTdwxcekWKalZmBrrqdWiMIUQJFt6lz1IKeDGpPhATOlmexWFBnJi9h kM8SWZP8NwXAOfySkqWxA0F+Wf+WQIWeIfAONdm4g8Wg4m7pbRNolQhQsbBWo0O+KFyn /bM6qfe/58sOu96Q6YU0oYkCsxMmN2KXIl5suv/DD25DvqfXzMt2IWbWSTdEPyRnHhnn qZWA3xq3RZFgu48VhZDNbr/tfoSzPTZgKnw7b3zHW9oPnVspFU+kikjzrjGVq4bslmMQ PPSpseHJNHu15FZ3SWPLqTg09Mbfa0ao9hyLwtqE3e4Y2dKsVhjv1w5F08K4u3UnW55y RzHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974782; x=1730579582; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JAqXyJ+sd57/HN5TRgePj1d+VaJoxJ/E5Im16zWHmNY=; b=dWoiLZOl5HJqFRMtLqpNKcXZedmTBzts6c0+EwxV4GY/404Cdfh4A8ZkcMMzQW3c0k SzFRmJjp36PAPdGxvH1GUJCaQTAM+YPTzlBZx0/6vpvQzCjgA2Hq1ai/vjqXgvXgYXHB Y/j6M5S/IPF0T4TkCsFGKot+A7VDWrpcM34YaIneoA9APJWxN2mcvZdelGpoAJ3+sNeO LcGL9svsBdC3s8sGrwdlHggyEBGFjAN2Gx5hgrx1kkEWzJOSusTDMKGJzpXO5QIxF2k3 kaVjWcDLoKPtBPVq9kX3dUduP/7EUEjJ5ueATZiBDLH2llk85hQRjAx2yOwG2gvp63ON z/PA== X-Forwarded-Encrypted: i=1; AJvYcCXV3e/1lHsX0rGtO++RPZRnicS9/FO7d9RQXhL5GJ5osyA/bjUwZuhEnlbiq2Kw0R+Dvd7GGY1iwlilTMbFjtql@lists.infradead.org X-Gm-Message-State: AOJu0YzZ0rCGJLqcSDDCv8hSKpfMf4a930lL2NX1C0sAaqJjobn6FEWe eur6IhuZN93tAmOsVI8vtS4UJiFc0FSMe92nJ7u5hsDMH91ydYja X-Google-Smtp-Source: AGHT+IFPUYrCOBhBYch7XpKYen230Je9Z5xpOKaPCblTTpx9bDmGjGtMDMft0HEPU2hDXiMz8h3IzA== X-Received: by 2002:a05:6512:3e0d:b0:53a:bb7:ed77 with SMTP id 2adb3069b0e04-53b348c6cacmr1278783e87.14.1729974781561; Sat, 26 Oct 2024 13:33:01 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.33.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:33:01 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:39 +0300 Subject: [PATCH v3 08/10] pinctrl: samsung: Add Exynos9810 SoC specific data MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-8-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=9499; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=772kJCnYOtiOBy++PT2wl3V88OlSm4ef4aJGY+fHLYg=; b=F92Ag5kxO4BZPCtvP7uOevuw+TQi4vq4CN6Sbve8uNXX1Mq7JsgnwphEaH1kF2gpBaUBojaBm HfZ0Y4WS4NAAFLEC3xtT+W8l5BOfL1Mw1DYspUFlso00YvjPDz5dmoU X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133303_799731_DD5E3E2B X-CRM114-Status: GOOD ( 13.12 ) 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 Samsung Exynos9810 SoC specific data to enable pinctrl support for platforms based on Exynos9810. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 154 +++++++++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 3 files changed, 157 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index f07c26d374425505019447161150929f7677f91d..3ea7106ce5eae3c21f11790b5a40037042c1d407 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -767,6 +767,160 @@ const struct samsung_pinctrl_of_match_data exynos990_of_data __initconst = { .num_ctrl = ARRAY_SIZE(exynos990_pin_ctrl), }; +/* pin banks of exynos9810 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks0[] __initconst = { + EXYNOS850_PIN_BANK_EINTN(6, 0x000, "etc1"), + EXYNOS850_PIN_BANK_EINTW(8, 0x020, "gpa0", 0x00), + EXYNOS850_PIN_BANK_EINTW(8, 0x040, "gpa1", 0x04), + EXYNOS850_PIN_BANK_EINTW(8, 0x060, "gpa2", 0x08), + EXYNOS850_PIN_BANK_EINTW(8, 0x080, "gpa3", 0x0c), + EXYNOS850_PIN_BANK_EINTN(6, 0x0A0, "gpq0"), + EXYNOS850_PIN_BANK_EINTW(2, 0x0C0, "gpa4", 0x10), +}; + +/* pin banks of exynos9810 pin-controller 1 (AUD) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks1[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(5, 0x000, "gpb0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpb1", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpb2", 0x08), +}; + +/* pin banks of exynos9810 pin-controller 2 (CHUB) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks2[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gph0", 0x00), + EXYNOS850_PIN_BANK_EINTG(5, 0x020, "gph1", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 3 (CMGP) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks3[] __initconst = { + EXYNOS850_PIN_BANK_EINTW(1, 0x000, "gpm0", 0x00), + EXYNOS850_PIN_BANK_EINTW(1, 0x020, "gpm1", 0x04), + EXYNOS850_PIN_BANK_EINTW(1, 0x040, "gpm2", 0x08), + EXYNOS850_PIN_BANK_EINTW(1, 0x060, "gpm3", 0x0C), + EXYNOS850_PIN_BANK_EINTW(1, 0x080, "gpm4", 0x10), + EXYNOS850_PIN_BANK_EINTW(1, 0x0A0, "gpm5", 0x14), + EXYNOS850_PIN_BANK_EINTW(1, 0x0C0, "gpm6", 0x18), + EXYNOS850_PIN_BANK_EINTW(1, 0x0E0, "gpm7", 0x1C), + EXYNOS850_PIN_BANK_EINTW(1, 0x100, "gpm10", 0x20), + EXYNOS850_PIN_BANK_EINTW(1, 0x120, "gpm11", 0x24), + EXYNOS850_PIN_BANK_EINTW(1, 0x140, "gpm12", 0x28), + EXYNOS850_PIN_BANK_EINTW(1, 0x160, "gpm13", 0x2C), + EXYNOS850_PIN_BANK_EINTW(1, 0x180, "gpm14", 0x30), + EXYNOS850_PIN_BANK_EINTW(1, 0x1A0, "gpm15", 0x34), + EXYNOS850_PIN_BANK_EINTW(1, 0x1C0, "gpm16", 0x38), + EXYNOS850_PIN_BANK_EINTW(1, 0x1E0, "gpm17", 0x3C), + EXYNOS850_PIN_BANK_EINTW(1, 0x200, "gpm40", 0x40), + EXYNOS850_PIN_BANK_EINTW(1, 0x220, "gpm41", 0x44), + EXYNOS850_PIN_BANK_EINTW(1, 0x240, "gpm42", 0x48), + EXYNOS850_PIN_BANK_EINTW(1, 0x260, "gpm43", 0x4C), +}; + +/* pin banks of exynos9810 pin-controller 4 (FSYS0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks4[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(2, 0x000, "gpf0", 0x00), +}; + +/* pin banks of exynos9810 pin-controller 5 (FSYS1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks5[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(7, 0x000, "gpf1", 0x00), + EXYNOS850_PIN_BANK_EINTG(6, 0x020, "gpf2", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks6[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp1", 0x04), + EXYNOS850_PIN_BANK_EINTG(8, 0x040, "gpp2", 0x08), + EXYNOS850_PIN_BANK_EINTG(4, 0x060, "gpp3", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpg0", 0x10), + EXYNOS850_PIN_BANK_EINTG(8, 0x0A0, "gpg1", 0x14), + EXYNOS850_PIN_BANK_EINTG(8, 0x0C0, "gpg2", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks7[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp4", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp5", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpp6", 0x08), + EXYNOS850_PIN_BANK_EINTG(8, 0x060, "gpc0", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpc1", 0x10), + EXYNOS850_PIN_BANK_EINTG(4, 0x0A0, "gpd0", 0x14), + EXYNOS850_PIN_BANK_EINTG(7, 0x0C0, "gpg3", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 8 (VTS) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks8[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(3, 0x000, "gpt0", 0x00), +}; + +static const struct samsung_pin_ctrl exynos9810_pin_ctrl[] __initconst = { + { + /* pin-controller instance 0 ALIVE data */ + .pin_banks = exynos9810_pin_banks0, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks0), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 1 AUD data */ + .pin_banks = exynos9810_pin_banks1, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks1), + }, { + /* pin-controller instance 2 CHUB data */ + .pin_banks = exynos9810_pin_banks2, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 3 CMGP data */ + .pin_banks = exynos9810_pin_banks3, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks3), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 4 FSYS0 data */ + .pin_banks = exynos9810_pin_banks4, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 5 FSYS1 data */ + .pin_banks = exynos9810_pin_banks5, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos9810_pin_banks6, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos9810_pin_banks7, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 8 VTS data */ + .pin_banks = exynos9810_pin_banks8, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks8), + }, +}; + +const struct samsung_pinctrl_of_match_data exynos9810_of_data __initconst = { + .ctrl = exynos9810_pin_ctrl, + .num_ctrl = ARRAY_SIZE(exynos9810_pin_ctrl), +}; + /* pin banks of exynosautov9 pin-controller 0 (ALIVE) */ static const struct samsung_pin_bank_data exynosautov9_pin_banks0[] __initconst = { EXYNOS850_PIN_BANK_EINTW(8, 0x000, "gpa0", 0x00), diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 42e40860841bcc94e3c11bf313df792da10ab00b..bbedd980ec67234aad847b757f40af5002b11ebb 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1479,6 +1479,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos850_of_data }, { .compatible = "samsung,exynos8895-pinctrl", .data = &exynos8895_of_data }, + { .compatible = "samsung,exynos9810-pinctrl", + .data = &exynos9810_of_data }, { .compatible = "samsung,exynos990-pinctrl", .data = &exynos990_of_data }, { .compatible = "samsung,exynosautov9-pinctrl", diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h index 615048f945243d4173d40142f1e62c8aeefe5b7e..bb0689d52ea0b4392714fa9bcdcbae8d253c73a1 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.h +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h @@ -385,6 +385,7 @@ extern const struct samsung_pinctrl_of_match_data exynos7_of_data; extern const struct samsung_pinctrl_of_match_data exynos7885_of_data; extern const struct samsung_pinctrl_of_match_data exynos850_of_data; extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; +extern const struct samsung_pinctrl_of_match_data exynos9810_of_data; extern const struct samsung_pinctrl_of_match_data exynos990_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data; From patchwork Sat Oct 26 20:32:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852353 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 08C12D10C06 for ; Sat, 26 Oct 2024 20:43:33 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D8ryoCnQa3x+2wA7PkI8xn3q6VJAS1LIktjHe3r9L6c=; b=3hsjTjVu7xBvC8zqkLkil22V1S srUPoWp/RcIihQovxlwp1JI8iOvIFMyMgaRDQMT1jpEOpBfQ0LrfULWd3UdJcDEUF2BTWSgcBY5qp AngL6QO3kMQIvjVG5MYZm19gijVEHAhUre6oldA5SWIh1tlNCSta2lhQBMDXmarYmbRrDn8KKsuxc 7fY4fXXYxnfkNdqhHTp3QeRVptYmPoFJtoVPFRIGxPEX8HgUJosJtB8MYN9GutMH++8iZqWJ4WNYq lUVf1mCf5W6vSVQecmobxA+eMVpkQdsS6qZb+UWI57Z1BySW1VbDlsRJIk/Pn/SPkg7igHyyhikW6 ak34OCeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nd3-00000007DdM-1XEo; Sat, 26 Oct 2024 20:43:21 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT7-00000007CD0-1mNf for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:07 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-539f7606199so3656034e87.0 for ; Sat, 26 Oct 2024 13:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974783; x=1730579583; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=D8ryoCnQa3x+2wA7PkI8xn3q6VJAS1LIktjHe3r9L6c=; b=Ovy8QAH3czKgvkd0eHJGvPmsxZCzEoueCwbwJ3kNoAF4N5HhIUoWA6h7tTUpf0ZKQM 1KuupKMdEkLzPSUPx7aKVQGjm3YPGXfVkoFHiHCd0gyzUJl70MeAfTU03RQCWmOnQUr4 zT6sYKUZnnyznLkWdqEeGRYiCFzjy/Ek3NPqDQzelwbE5tODMtFmbG1n97bCfOqvFS/C 2UopQIFMI1h6FZMkP6ar3r/xE3OJYGwmTxs59nWL6/g14VIIuycnRD5zUJzB4/n/OGdR P9sW7MJPIr2wcaTMW2iRGC30Cdzjdx8It49f/EWoHbErZtfmqRejHX1hpNstpFpwcz9A H29g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974783; x=1730579583; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D8ryoCnQa3x+2wA7PkI8xn3q6VJAS1LIktjHe3r9L6c=; b=RLtUM4hNto1gAb6fzZTP5L1H97/jRrTbpZiy3AMDmBNT8htnopT7dbaGCCpSeOMe+Y 5ARVadlng3X3mjPNY5MuQ78yLV9DeG3TyjqAfeQ6y9KNmwEigcX2FDJbLSOpVk8/HQPm C14bd9F/3FCm7qUTHnvMMwY5qrhJjpDJG3NGj53wYNUCkvjstOXRRqtbJP6QJUaYIY5g 6qe07ReJC0d16k0ooU194TF+bNzsD6D7l4p8kpuxFTgsS+SrF/06MC6fkPCToPsbIsOF P3yH9cqok5a22/FwCsMaP0rcSuQKUdlmQZMOzXLqu17XQZU1mapAAPEI9vKuvCRAZlDW mi4w== X-Forwarded-Encrypted: i=1; AJvYcCW1fhPN8LOkzI1aT1sRnET4SQvPLHQhMEhG6sSbZf0bdgWfgr2yj4vafp+H5S+ntE8AFmcM2KKWgZDLCcZHa8XC@lists.infradead.org X-Gm-Message-State: AOJu0YyVyTsmdj4j74G8HjYa7elInxTgTYN5ZS8MPda1tUalXTM5ke4T DXzuOCOVaPe/X+a0pjUmXjBzdDmZv9e5FmLKE5qG0dhDBnk/v4MG X-Google-Smtp-Source: AGHT+IEtIse4xT8aMVG/eU3OArzG7FPmxGWUYr486cS5w2ZGzwO25wsD0HtF9t8mQTFdSTy1rN1yEQ== X-Received: by 2002:a05:6512:4017:b0:539:8f4d:a7dd with SMTP id 2adb3069b0e04-53b3491ccb0mr1230370e87.42.1729974783110; Sat, 26 Oct 2024 13:33:03 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:33:02 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:40 +0300 Subject: [PATCH v3 09/10] arm64: dts: exynos: Add Exynos9810 SoC support MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-9-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=18139; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=aNgDMHp8chOHRipjYna59OZmYcyh6ZnmD2z7vDTAOHo=; b=GBX491z24EfZ8M/hYwp44ZE60dn0hSmftXs+odyLfwIK1PD+LvX2Hfd+IudEdNdbAqi0gxP8m Xp03y0CJx7wDg65W5JRAMRIOk/zGsyH6jkvt23d8UjXcmyFC972eiwy X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133305_517915_B544B0B6 X-CRM114-Status: GOOD ( 13.21 ) 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 Exynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others. Add minimal support for this SoC, including basic stuff like: - PSCI for bringing up secondary cores - ARMv8 generic timer - GPIO and pinctrl. The firmware coming with the devices based on this SoC is buggy and doesn't configure CNTFRQ_EL0, as required by spec, so it's needed to hardcode the frequency in the timer node. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 503 +++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos9810.dtsi | 273 +++++++++++ 2 files changed, 776 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..88091bf09e4e91b05801cafe956283984d564449 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi @@ -0,0 +1,503 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung's Exynos 9810 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include "exynos-pinctrl.h" + +&pinctrl_alive { + etc1: etc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa0: gpa0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa1: gpa1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa2: gpa2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa3: gpa3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa4: gpa4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpq0: gpq0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_aud { + gpb0: gpb0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb2: gpb2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_chub { + gph0: gph0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_cmgp { + gpm0: gpm0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm1: gpm1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm2: gpm2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm3: gpm3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm4: gpm4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm5: gpm5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm6: gpm6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm7: gpm7-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm10: gpm10-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm11: gpm11-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm12: gpm12-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm13: gpm13-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm14: gpm14-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm15: gpm15-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm16: gpm16-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm17: gpm17-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm40: gpm40-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm41: gpm41-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm42: gpm42-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm43: gpm43-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; +}; + +&pinctrl_fsys0 { + gpf0: gpf0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys1 { + gpf1: gpf1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf2: gpf2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric0 { + gpg0: gpg0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp0: gpp0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp1: gpp1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp2: gpp2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp3: gpp3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric1 { + gpc0: gpc0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd0: gpd0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg3: gpg3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp4: gpp4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp5: gpp5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp6: gpp6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gpt0: gpt0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/exynos9810.dtsi b/arch/arm64/boot/dts/exynos/exynos9810.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..70b67b2574d5b66eb5fa421a87dd6f4e49f8f54e --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810.dtsi @@ -0,0 +1,273 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Exynos 9810 SoC device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include + +/ { + compatible = "samsung,exynos9810"; + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + aliases { + pinctrl0 = &pinctrl_alive; + pinctrl1 = &pinctrl_aud; + pinctrl2 = &pinctrl_chub; + pinctrl3 = &pinctrl_cmgp; + pinctrl4 = &pinctrl_fsys0; + pinctrl5 = &pinctrl_fsys1; + pinctrl6 = &pinctrl_peric0; + pinctrl7 = &pinctrl_peric1; + pinctrl8 = &pinctrl_vts; + }; + + arm-a55-pmu { + compatible = "arm,cortex-a55-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; + }; + + mongoose-m3-pmu { + compatible = "samsung,mongoose-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x3>; + enable-method = "psci"; + }; + + cpu4: cpu@100 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu5: cpu@101 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x101>; + enable-method = "psci"; + }; + + cpu6: cpu@102 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x102>; + enable-method = "psci"; + }; + + cpu7: cpu@103 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x103>; + enable-method = "psci"; + }; + }; + + oscclk: osc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "oscclk"; + }; + + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_off = <0x84000002>; + cpu_on = <0xc4000003>; + cpu_suspend = <0xc4000001>; + }; + + soc: soc@0 { + compatible = "simple-bus"; + ranges = <0x0 0x0 0x0 0x20000000>; + + #address-cells = <1>; + #size-cells = <1>; + + chipid@10000000 { + compatible = "samsung,exynos9810-chipid", + "samsung,exynos850-chipid"; + reg = <0x10000000 0x100>; + }; + + gic: interrupt-controller@10101000 { + compatible = "arm,gic-400"; + reg = <0x10101000 0x1000>, + <0x10102000 0x1000>, + <0x10104000 0x2000>, + <0x10106000 0x2000>; + #interrupt-cells = <3>; + interrupt-controller; + interrupts = ; + #address-cells = <0>; + #size-cells = <1>; + }; + + pinctrl_peric0: pinctrl@10430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10430000 0x1000>; + interrupts = ; + }; + + pinctrl_peric1: pinctrl@10830000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10830000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11050000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11430000 0x1000>; + interrupts = ; + }; + + pinctrl_vts: pinctrl@13880000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13880000 0x1000>; + }; + + pinctrl_chub: pinctrl@13a80000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13a80000 0x1000>; + interrupts = ; + }; + + pinctrl_alive: pinctrl@14050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14050000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + }; + + pmu_system_controller: system-controller@14060000 { + compatible = "samsung,exynos9810-pmu", + "samsung,exynos7-pmu", "syscon"; + reg = <0x14060000 0x10000>; + }; + + pinctrl_cmgp: pinctrl@14220000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14220000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + }; + + pinctrl_aud: pinctrl@17c60000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x17c60000 0x1000>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + /* Hypervisor Virtual Timer interrupt is not wired to GIC */ + interrupts = , + , + , + ; + /* + * Non-updatable, broken stock Samsung bootloader does not + * configure CNTFRQ_EL0 + */ + clock-frequency = <26000000>; + }; +}; + +#include "exynos9810-pinctrl.dtsi" +#include "arm/samsung/exynos-syscon-restart.dtsi" From patchwork Sat Oct 26 20:32:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13852354 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 2557BD10C06 for ; Sat, 26 Oct 2024 20:45:06 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=J9v0mI+Ns+DJTCrNBVZFsYV5lC9eRlvFzd13MqdQMec=; b=zXNrKVGgwNTJW2qaPyn0YqZaHt go3V3ZVKX6WJ3S5j/2jVoMc6tqjIqw0JfxVsOrJAa8Ny6I0H+x85wrgieMZAqwxbDupxyVrms1Y7/ NElX92PqMSPuMqZ3MbUM+rnB5DicMDCrklmO9SpD+/JM9tcr+INpBPZT3tojEO3L20tB1l4TFqEG+ 1/9/Yoy1zGYySgaf9VsZk85QQPjPvJ0wxuyxFQ+h0uCDQivfX5Y2rCjvhvqeJTRY3+IyHsqaQUjVJ T1Fl4Tpc0ic9eU/ieYWurVycC3uOkZ12nVCbHYh07AFe+HNwLFYk9ErbUlIx0kGWkB+wvMsjWui1f KhD55frQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4nea-00000007Dky-2ySu; Sat, 26 Oct 2024 20:44:56 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4nT8-00000007CD8-0cLe for linux-arm-kernel@lists.infradead.org; Sat, 26 Oct 2024 20:33:08 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-53a007743e7so3701037e87.1 for ; Sat, 26 Oct 2024 13:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729974785; x=1730579585; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=J9v0mI+Ns+DJTCrNBVZFsYV5lC9eRlvFzd13MqdQMec=; b=h9OcsLWCIqA3SAIpR7qi7msFmSYpoCdS6TCQ4qfn6cKETN6jFaGVd6Vvlv0xrelCta ZcR4k/hDhF9BkyONE/fLJKMonJZxOLs+mM9csDUQbB/jU4tlQuLhRr0qBgd35YSk6Tcn Egj1hlrj1X5UN/JOies7oAX98AjcwwAXnLF7p50qIJdhxU223ZzOG6+EGJG1IqtKZvyE Pap2EqGoMggFpWAmsQvBmNc5gy9nu2nICZG570pxl0baVCcyO+AlPo3P/h1ZuatHT3v9 W0UtFjONPCxOvNyF9a2lHTUam+63vF3a4U65nKc3xcABldETzQjuTTSQRI/zLENXftNN soRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729974785; x=1730579585; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J9v0mI+Ns+DJTCrNBVZFsYV5lC9eRlvFzd13MqdQMec=; b=UhyJVUH3kZBPbiMtE8TmmBpK0WmmVX/5Kohx6Og4VjVnkIuJOptbvejCZhhfqJ04lf 3JIyVNn6IMMX6WP/JkcdmTiaGc90p7S4/doOOsyK3kiCVKvPWyDhlHX/+OKfYet2j8yU 0fBNwr+gbsHzbbZ9a9E6lvZIfz/NZAHTRGuz3QemBiGOO3BnoRJ2vnWy/D8TlEtI4BmT k8WvGff2xQU4kjL2FbiZjqKBczulk+U56yqhd+qwnbpY1FhOTX0sbiLy/dWKIlFrJaXg osFxTEHYSxRAyNgBnL6FelI56QsJr0bykKieFoULU0DfwejMm/CB5fj512CtS6Hp5nwq NmcQ== X-Forwarded-Encrypted: i=1; AJvYcCV81X5o4PVJi6BV4SeVCOtuI2Eed+3kvlX/x9Wuyy9XsaWvO18+afUHJKcD1lbDO9zaOuWqkWK/x+lyNcTmchef@lists.infradead.org X-Gm-Message-State: AOJu0YwXxfM4KqtZBEvXNLbs1/8sFAvVcWhQ1O3TKxKtif1XZeHD94+K 77bR3rWGrC9tes6A2cZzkYEL+WCJ2luqbDZZeK9hFpWF5XqRBJvB X-Google-Smtp-Source: AGHT+IEN6zl25mN4QYhMa3yzz7QY8MLMykdlCdSYGBT4wCe4IQe1Qe4LJpwLv4ukolp8PpQz+M4Bmw== X-Received: by 2002:a05:6512:a93:b0:539:f06c:6f1d with SMTP id 2adb3069b0e04-53b34b394f4mr1463608e87.55.1729974784342; Sat, 26 Oct 2024 13:33:04 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c9439sm595872e87.200.2024.10.26.13.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Oct 2024 13:33:04 -0700 (PDT) From: Markuss Broks Date: Sat, 26 Oct 2024 23:32:41 +0300 Subject: [PATCH v3 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F) MIME-Version: 1.0 Message-Id: <20241026-exynos9810-v3-10-b89de9441ea8@gmail.com> References: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> In-Reply-To: <20241026-exynos9810-v3-0-b89de9441ea8@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729974770; l=4449; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=NyNI370iFs3wYVtInWaeRtI1BNk9CEgAHMaiwqvsPHI=; b=7NytSt/uLVQ3JOMiAdvmvF65G4JH2vOs/7vHI6y+3KaS+IJxneuO/txSp+GgPoPYgKHDaOeVs roEJ2IW+v+SDWi/NUNzpLVrbOtfmXclTg09hh3dUE2tpxE56oPLHjps X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241026_133306_442981_3AB72CC7 X-CRM114-Status: GOOD ( 15.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 Samsung Galaxy S9 (SM-G960F), codenamed starlte, is a mobile phone released in 2017. It has 4GB of RAM, 64GB of UFS storage, Exynos9810 SoC and 1440x2960 Super AMOLED display. This initial device tree enables the framebuffer pre-initialised by bootloader and physical buttons of the device, with more support to come in the future. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos9810-starlte.dts | 119 ++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 7a934499b235892eef38cd926905e02f0ce08278..6760b3d59e819fb52bc8cf4dc6877a0b9db9ce47 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ + exynos9810-starlte.dtb \ exynos990-c1s.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts b/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts new file mode 100644 index 0000000000000000000000000000000000000000..44a027f4fa3cd07222a76d70fdcf1ca678c10595 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts @@ -0,0 +1,119 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S9 (starlte/SM-G960F) device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +/dts-v1/; +#include "exynos9810.dtsi" +#include +#include + +/ { + model = "Samsung Galaxy S9 (SM-G960F)"; + compatible = "samsung,starlte", "samsung,exynos9810"; + chassis-type = "handset"; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + compatible = "simple-framebuffer"; + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + width = <1440>; + height = <2960>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_power &key_voldown &key_volup &key_wink>; + 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>; + }; + + /* In stock firmware used for assistant. Map it as a camera button for now */ + wink-key { + label = "Camera"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x0 0xc0000000 0x20000000>, + <0x0 0xe1900000 0x1e700000>; + <0x8 0x80000000 0x80000000>, + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + no-map; + }; + }; +}; + +&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 = ; + }; + + key_wink: key-wink-pins { + samsung,pins = "gpa0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};