From patchwork Wed Oct 23 22:36: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: 13848051 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 01642D0BB46 for ; Wed, 23 Oct 2024 22:41:26 +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=bO/K5p2U79DXHc4kK88A/9gpCaRB2v4NPByU1GBG/GA=; b=fCY/VNsfwdN+6r7AI9Jm31Rejk GC4UUF3EVf0jLOlBWx6CdPPaX/P256dtmmdZyxlyvO9Y/GH8S0FC8VgB+NJJg93oKpI2l9RQgFGeZ GVnl4d5naxgYOUxfChqdLxSZQJynmFQwTM7cwXEXj4Rb2iCnIIKN10BB9Y6Ckv6x/ssQpbbSRK3Hf izamFIXuuXuJvRdPOUrPKwLQg5q6DTF+ddYdG72MNhHskm8PFZjdyphJvt4crWIDzgQ+/zmW6jbFj rRAolqh4N3+5pf4qhn9At4xkugpsX7RZXHceybthoISo64rlMOUKpbmXJ83yBDUywWO+vAw9ZJ6JT UpROPznA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3k2V-0000000G7yY-3Rra; Wed, 23 Oct 2024 22:41:15 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jya-0000000G6vN-2WSX for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:14 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5c984352742so305834a12.1 for ; Wed, 23 Oct 2024 15:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723031; x=1730327831; 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=bO/K5p2U79DXHc4kK88A/9gpCaRB2v4NPByU1GBG/GA=; b=BEiD/JD9Kuakk329xUcwTXgB/NJ4fSJAIHtIazjYP2S3ucJcotmAO7+MG027bvDuFO qrZzZvlAgBqmMZERN9O6TC+RyfMRER7/AusdemU60cSzugsTfuCasnZYSu4ClX5lGTXw r67OU3jMUSN9Iye1GlCxn2r93YpNGdCctcfxcXVODrb/pD1Uj+9jc0fkqCxkhQ2shTc/ 74kqyMkAvuBiBLyUg0O6VLksZu/+USfZEp1VgnTa4uIKMgd8lClDcM+fjBdGCajI2TAW CtktOqQG9gbV+B1krPEzZYrDVTY6Of5M+DPwipEAToEUdoKY6ytfgErT1KvakZdkjpVK TXQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723031; x=1730327831; 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=bO/K5p2U79DXHc4kK88A/9gpCaRB2v4NPByU1GBG/GA=; b=LghESnjwmnkbvhvzCQa6lWu5tMobFxLE4BNm0bPSC28jJmgUdXrqMIU61TNIYcrWdi I63edR5q2mayNsamoWLl7OSiQFpw15OKbiKUxrsgBymAGZ8MZ4+V6AhGtW7WH2ULPTT8 lTqYOj7Bic/6O584gzzyCRkx/GFOWJ4n/J0lDJEWtdi0IExqR/pVgyrbuDUR6bQ1qV9q mxGxdmW2AK03upWsU1SIbhlYor4LScued5ykQ3kLCN3NEsfHzUmSo/05n927n2mukFvb AvKWTALrzxd1eveiDzdTn4EJivqeCFnHw/L6eTP9Wmerr4zWDiYN9CRRdCPl1bWM7MMk n7Aw== X-Forwarded-Encrypted: i=1; AJvYcCXCEe0V3QweRHmCwfcavgIlCsmH8TLN/hJu9skGypGY633PvLnf3eD50jhhVkVMZLQmUJ5l39ON8k6QtkwbFRB5@lists.infradead.org X-Gm-Message-State: AOJu0YxLFwuKiARwdfhsY+rwZMXSp7as4oj/AhNL3gFgL8VBdq9Rza76 7PoxbWu0PCQtK9bb/cOFsCvNMmDh7J9lzIvQDa9H+pI1rtXAqiI9KXuRi9heFec= X-Google-Smtp-Source: AGHT+IHZ+CYrvvrmQ3EnjgCZuEiiFDsrR82CvffNC6GtUW3LFHdSI6lk1bq+RP4M7Wm7F7Ps69Xeow== X-Received: by 2002:a05:6402:1d54:b0:5c2:1910:8e9 with SMTP id 4fb4d7f45d1cf-5cb8b1d4805mr3609100a12.36.1729723030569; Wed, 23 Oct 2024 15:37:10 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:10 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:32 +0300 Subject: [PATCH 01/12] dt-bindings: arm: cpus: Add Samsung Mongoose M3 MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-1-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=802; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=cpG1Nx29J0gY4AO1qRA6fivGN9PyoSNxFoCRX2mvL9M=; b=m5ysXeGvP3WFcvSyvufc5GtOAnXmpcUQhaI+zq4ak1zxFK7mGCZlwPuAqgREGIBz9XATuLsvs YLA1xWVCU0yCGIxbYyFJDit4Mi82TVZOPXKQXwpSMMVtI24cnw4/+jI 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-20241023_153712_704618_36EE2238 X-CRM114-Status: UNSURE ( 9.95 ) 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. Co-authored-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 Wed Oct 23 22:36: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: 13848065 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 ED94AD0BB46 for ; Wed, 23 Oct 2024 22:42:57 +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=QbIIsZZ9TdX0oWXf8pQROsVaLwB4+pSHbj6T28fJF/8=; b=jquw9zyiROQSC6h+QLT8rkTdcb IMWZk9ushpW151zlqnBSqAT3mGSbc0Po9K/MO73F7TnBvjaea/8JPpJLwbHh9cnCVFvMh32oFJG75 FaiCqHt+W9khOIZv8KLXL+Z7oiblU/rIwG8NZuHOgOfrbHVPTOoHG+A1Qo4PERFW88xn56CWi3eE4 pZ5iB99r1Ozr0dD91LTYiURyChcLGDqEbTfcI320J6M918OvX4oInHJfWBz525QyKQMwdiYoge8nh k2tNeJIChztSePz1S3ifweI0DNp/fVJqtHY6NO0a/96rUO7TjMcpxNTg8dudviLVy8iH1FTJktbTY Jw+1dI8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3k40-0000000G8Fd-3cuV; Wed, 23 Oct 2024 22:42:48 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyf-0000000G6wB-2er7 for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:18 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5c937b5169cso474831a12.1 for ; Wed, 23 Oct 2024 15:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723036; x=1730327836; 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=QbIIsZZ9TdX0oWXf8pQROsVaLwB4+pSHbj6T28fJF/8=; b=SDQKYAPOU9JY+fziL3e4ximgQkm6Cmg1Mpk0MJ6FkOC94lVdksceGBUDAudQtyfpkN ff3WEcHCz+bSKJEIieIXDcMUKl9AVFvTxoGG7arg4EtNB7Csr7d3h0/Q2dFGataNwZYS MT3jEwe64xKL9qDjA+9rGHWtXvK1BzvDTCN8yGCqVcnlg87ijw9s5ye8a9zPaacm+T7O 85VQsnHdl9Bo/4+6wxKCjHSMP8G9kR9VB8qnoafxt2vGLVq3Uqb5TkiovyJ37D/vz9eq VF5yFTO5L9L0l2ldOhPOMMjngB1IeBgKC2NXh6zMOIwMcRQYZWZOrjxWyN71Qwia0LQW tx8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723036; x=1730327836; 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=QbIIsZZ9TdX0oWXf8pQROsVaLwB4+pSHbj6T28fJF/8=; b=Y2y426c2+SRpbqu6zSehyrRlFiVbpSzTz2LwmGJawj9GMYW3ertQ0Y+nt7A9xZKhwc 1X/RnLseArMBnRHMSaK7A1yJAEEJ3E/pR6YKm164yzIiJytDCLu8Vi/XaM9KqMZar3C/ jW5/mf2JXibcZeY8e8wK59D+dQMnIhIpFUAuqZiZwy8kJLvmmHOZnT5e8qw4HVTuoUdE DP/J6YbIwvXR38r7lH/YgExyfRqSm8NnZft/TsAR3sPIUqTZGNTyi3kPBaZqFfopDWpG NUkLYFjg0YeGgM1ET9ng38Ei16IsQCgr2Csp9SQyvOuHKoPN3NMaKkj1pYbV+eNmZiF0 KhkQ== X-Forwarded-Encrypted: i=1; AJvYcCV5Xp5Xh/GACyLJPM5X9FZ+CE4EDDSr53jJXOMRpGR4accX3fa3ueRC/I3lCUcJIdcGWTp/IBAO/sWUHCsSNi5Y@lists.infradead.org X-Gm-Message-State: AOJu0YxKFLu2HtFmqAsGvdp1EJDSJ+LAUoaBRhX8lkSPKbaijjzJzWWn RZ5Mx64Ad0JJtOpPOQGY/6P6rFEwRGzcV6OF3KcZl5kPB4EzEXWW X-Google-Smtp-Source: AGHT+IE4iE8RupOHGaicMpOPwSO0o90dUKkcJw+YgGb1yq5Z1RRoBU8m3VeF2FnJvx5BDI6kySbmzw== X-Received: by 2002:a05:6402:378e:b0:5cb:83c0:dd69 with SMTP id 4fb4d7f45d1cf-5cba204f9a1mr25409a12.12.1729723035695; Wed, 23 Oct 2024 15:37:15 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:15 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:33 +0300 Subject: [PATCH 02/12] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-2-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=1025; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=eegFh3p7v2cDf+inlqxOGvk4hoeYKqgh34JbZw/w8nI=; b=xZPPKOrxbtOyuJz/f7kwAfQvm5ahcxHo46m8pMr1CGweVvc1+tFT56z8xFY4ARW40FQxh/pGm 7bzG9rdzGZbBitxltfJL1lqhlydx7uiHJhw7tiN1n/ooUpjiZO/478B 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-20241023_153717_707633_61D7AF19 X-CRM114-Status: UNSURE ( 9.54 ) 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. Co-authored-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 Wed Oct 23 22:36: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: 13848066 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 5F0C5D0BB46 for ; Wed, 23 Oct 2024 22:44: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=Qei8CZo1xxgUYcxPxXdEFDFdaNhWVZB63aMBYnQ5ovE=; b=OsUKvv2jO7vfRk0NXxagZxO4UP tOtFfeSupNJjiB0XafTSz++uvKzJsrtvqcA3AFwJkkwgVQ1OUjLayuOnIxHIXjt+OBqgY5Exf/XsT p+4UC/d4pM9L1myOAv7TLB6iONC8wXAzWumahAyynrZFS6m4x0Zdx223k7vU5p+skKrxLwM1K0oU+ WZpAwmRrYECzG7+lLc3UfVjcL+abV9gzZzxyFyODyg/dxOBSJvtBx93EfMPXSHHHC5LwvQ9+UlnHp ajl2SAYIODyrcHpfSsJKt0zfZbpmG7ulij1eY81gnoSdnwkgoLlFPnrtcfSIV+Aav39RMvoYXGnIn nuayVD8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3k5W-0000000G8az-06Cm; Wed, 23 Oct 2024 22:44:22 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyh-0000000G6wO-1ha6 for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:20 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5cb6ca2a776so330394a12.0 for ; Wed, 23 Oct 2024 15:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723037; x=1730327837; 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=Qei8CZo1xxgUYcxPxXdEFDFdaNhWVZB63aMBYnQ5ovE=; b=RfhpoBaErHdRbXLcEa+eRrGBkMZ1M60ez1piJBbJfqSy8mioPqTj69wTFgvRqUtuzu VlXfL82s1Cr398KUfgzwIB5msWTYdMUmZerG8mbe2gIlkEynDVzZVqcZ03FbY6uNmRRc IAYY0G/BIYnNtQNNcixKv6FJYSutzelh74NYIUcCoswjqGPxaffeR5fBEII6l8LNQHWA NzTgV1OfK9Qc923RuMsaDvtZAQ7vcdrwAyWzQBX83yVEf4lra1AbleUdmkO0fYf7l++C tRbB5tSzPgqsUeJpYn2ToagrmfzBQ1wmuaz9KYBC0TtF3UveWPe9UENY4s5oyJpKdgB6 LU4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723037; x=1730327837; 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=Qei8CZo1xxgUYcxPxXdEFDFdaNhWVZB63aMBYnQ5ovE=; b=MgRDSRMvMTf1rywfdN6oXTIYAOXdKotsiGbDeRaptPpcTnUl6r40gHwpNgLBGQ3+zk EhZ0z+6CjphcWWQsAi4YSMNA04DxV2ye6gJm05URaBZcCPPlULYSW1Arkj/PXB5QQN1R xIDLtTImPWAM7VZCG0A6ZW315PN9F+KtMDgZH9+tlDEl5vy1c8epvHkBv5D1ouZaBo8S FPI1lBrr09GVUjcrDTmziCKMS2dPJMBszS1pyx3Su45QZ5NIOgB1DX6AQVgCxFvb9Muy j33ukUx21zFtkVY37+AwF4CyQIIKv9Nz6o7yaFmg+ZZ20ItyS2bQxdOYIu9QYD/03UMK 2AkQ== X-Forwarded-Encrypted: i=1; AJvYcCVAiCBHRtB9V+Y8lVBRJOYleOiQPmwr4MgSwsNZ0pd5x1ArkqBUhhjR+u7dS64O0bsm+DJdgKemryi7LZFm8zB2@lists.infradead.org X-Gm-Message-State: AOJu0YybUMAjiQZ2janWc8qPzcegbyX2pOo2VDAVtJxROIAEttxNIyEy r3V7pljZcb2FqAH38RJGRlKv8DIdha/W6RoJBirnOpBmYQIgC3Ci X-Google-Smtp-Source: AGHT+IG2MlYAKZYlvMe94SbaRQkSxgeMpGIF4mteKz7fCGGulUtwUDypDLWpSOzDNJGwBfuhu3Nq7A== X-Received: by 2002:a05:6402:2788:b0:5c9:55a8:7e86 with SMTP id 4fb4d7f45d1cf-5cb8ac7c2a8mr3706827a12.8.1729723037252; Wed, 23 Oct 2024 15:37:17 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:16 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:34 +0300 Subject: [PATCH 03/12] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-3-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=983; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=LDj646sRIM7Uye6b5RdWFtzBwFtKPZZl8lkysYdid7U=; b=kAEwpnMzOkTdaSE6neAoTeGyL1pqXstKKu3mWHnIj+Prn+7oSd5P+8qcN1ITXA5RZhJnuVEtn DL6spYCeW5aCQiu4WwNWXNJl631Z+tASjaRpY0AYdcJ1+E8VMM9GZfS 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-20241023_153719_478531_C8144485 X-CRM114-Status: UNSURE ( 9.73 ) 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. Co-authored-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 Wed Oct 23 22:36: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: 13848067 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 8225CD0BB46 for ; Wed, 23 Oct 2024 22:46:25 +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=UqsIVZZa/U0N6/VUDWdRU6ufmGmH+Nhcx+B/uA68Obs=; b=hM5jK5KVG9MawI7p+goAI/MxAa et2s239vCbM+mmhE8UaFnuD9qGZK5cdCWeVuhCmRIHrl8Z6trmhebOEIkqOMCHssFjPaOlneGNVcE POjCFxH0/PQeAzp+nUloNegKmkXLfek7428HEcN0PxBg7skyxVe4CQy7A5mGIYZix4lUZrSUmf4Tc 1JlHnAE0PDzDTKikoiVrQELHCh1AEP1/ienxXHXxuHviFwKFG/4/CRRViGlTrAoFX+cJhegbdHPYI wt2FIk+ttgqwdiQ8k6Q7sM/wfNcyrNyC9hzrVQIjhEiUtLVOzwYHZmnLK1fSRgeAln0JyvTsLdFnp xXwaK7fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3k7M-0000000G9QO-1KmV; Wed, 23 Oct 2024 22:46:16 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyi-0000000G6wX-05nC for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:21 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-5c94c4ad9d8so324180a12.2 for ; Wed, 23 Oct 2024 15:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723039; x=1730327839; 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=UqsIVZZa/U0N6/VUDWdRU6ufmGmH+Nhcx+B/uA68Obs=; b=SerA3IzyLmgdBDqNnUZr1xhGZqBYfcYKS6WfJ1qR+8SkhVh1obBIfjzUrA4mEY1vJX yB5XxUgwnSu7rPv6va/p+WpTB0y5tHhmUbDS2ozdwThdL57Vo7Y0uEVIpQwxdSIa5FBq ohSBPbE+fTJ+bZTeu+o6nj9FkcVfb0bhZYlFt3UHcRKHQykVX5pLHA7IcJXqY18L1AiR sTrgep3/RcoIl9gIISg0tQGypCUvu8cvn9DnO8rQBqOstyMZOjwkBv1B1Cx3a3rr4Dob /YbfXWPwcKnJGojE2Su+rNEjoQTA0bVGZjgUS7cEIe6QrYREsgP2ZkHRtu9Qm/EHjrcn tkbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723039; x=1730327839; 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=UqsIVZZa/U0N6/VUDWdRU6ufmGmH+Nhcx+B/uA68Obs=; b=j+mJbTTQ/6yfFP5uk/xvt2ap27EXff+OXAeD2lFvX5M5Kl6GSqnaXiivWrjKPz5wqz o9OpU98AkveFv2Vby99Qz6D5DQLsz1xG0UAspmOJlSiew7S+U4JykE5ZADXW9q6xH9xl ojOFrSS4A8s0i3zpbDLpA37jYnvxRPVUPfuLV+lWRpbz0iaQJDBr1JuLqRqoVmrwsKR9 TY5r1lbksqFFhzll1hjeKrIvHpVZq27ViRv67vnarl5kdMGUVLltJ2fs871x9D89qfpC tvZiuZLLup+jtbrRfw2OLPIHAlSSHbDg/js8Gege5nlBCamP+iddgDmLYA7vv6aD5qFG 7jZQ== X-Forwarded-Encrypted: i=1; AJvYcCWJ5hM4/Ze1jUzJ3qh3Eb6vyP94Zm36yauIu0pxShRxjzMyTzBqMYGRaGUuRXP1wADZvo7PRnH26yhjRkZETCgz@lists.infradead.org X-Gm-Message-State: AOJu0YwtPQNbdFXS8lRHYMKHS49k2QhJKvqxlB/Dhpx7ceyoC27SMqW0 d2FzMgbyiW4OsgYLBDfrlDkelp20kh/N0gx6dTGQWXtmOVIG7R1L X-Google-Smtp-Source: AGHT+IEoQzCmWtUmspfTlIND7cTu5IdZanZZbCzIh7COe/LtmuTSwHdea/4nRvUfCfZcZ5SxWklmIg== X-Received: by 2002:a05:6402:13cc:b0:5c5:b9bb:c65a with SMTP id 4fb4d7f45d1cf-5cb8ac2d6fbmr3132944a12.1.1729723038599; Wed, 23 Oct 2024 15:37:18 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:18 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:35 +0300 Subject: [PATCH 04/12] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-4-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=1084; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=7H6VJtJFgWBJwnqC87mXAK1t9DhYQWbUHewXwVI/pEw=; b=erQFkuiY537nV6Oskge00QJ7SJyLbWLjp1lUt6Nm7JR+k8rWGNo+DDdqiqpzjcdfDxjYE5EIZ a8f4+kWVObYBxotF6PFP4rax7mUZrBhtLprZ9O7ZdGo7DcSehtKE+sS 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-20241023_153720_096171_349E2792 X-CRM114-Status: UNSURE ( 9.49 ) 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. Co-authored-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 Wed Oct 23 22:36: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: 13848076 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 E3D1CD0BB47 for ; Wed, 23 Oct 2024 22:48: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=cXtQqg3yJgLl+HjnpahR8I/TE+d9AkhS+y+OvbC+UXk=; b=opywfDHPJDPFuCxj5d5/JSSfsU N/MQfid598uWk6/oPGr01qMxpDLsw2p6xbwTCzbfzt1uAS6TmO14TDHyxgVTIJC+a6IkoVvPG0xG0 HIieJzT8Y9SX/6QjC9JwzDYwFJOq7rg4qnqFa32Y5dp+YdS7AxDbLu19V4c+Hjh1TFJT3X9k2Upkw AXzlaCnTMEa5HB16WnnIDBOI/F3RALn286phD2CkIae2MyBsQcph+icX00g+SEFWbr+/J8z0V4DUQ LaKqvY9ZK2yJqIGyIGJUFQVHYN+2Sb/atzb3KPxPC0LwZaivYl5gFYi7rNFK55hAxyqMx1pA7k+aB 6YP2R0Cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3k8x-0000000G9nC-1bfZ; Wed, 23 Oct 2024 22:47:55 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyk-0000000G6xJ-3AyV for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:24 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-37ed7eb07a4so149035f8f.2 for ; Wed, 23 Oct 2024 15:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723040; x=1730327840; 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=cXtQqg3yJgLl+HjnpahR8I/TE+d9AkhS+y+OvbC+UXk=; b=CK59CH2Pl1ukhSyCv7sIgWN1eWymBpnsyHShqv3VfcwDmLn9SlJDOKckE8Fnxyjye8 LORBnZuAYK1daQg+/gVpSFqDMhylW9SADU7OOdLnWGNGMSYA/eTIyq192XRSOynX88iJ fVBlafbN1zy/0n/pwM26v7H3P1RZDzJpG1akySqOJHDqBW5kj12jUvB5ffCjHtb4c+dZ muiWVXpIdGqRqlzkqfc6MPkRU4CXp8mSc1xPxROzx4K55hp7qqK2yw+IvLj+Y8QBYkC/ ktRxcgMam2hoYJj+vMjebsrXXgUghE58/oROIyJfMYO50lGK7y8pvwgOZncXTdRf/s+j cIkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723040; x=1730327840; 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=cXtQqg3yJgLl+HjnpahR8I/TE+d9AkhS+y+OvbC+UXk=; b=lrTsFV1bQ92zMu2WlkoeX5RDcjc3m43XnyV3U8j3qKKLbD6w3kCNCAHOrE6iGc9uBo 8zCu419mHH+1RK5rp9j5oaTT1+Buq1d8bj/cF7gLjKLFuEvl33Uq7mIgcLML0BwXqGVG 9mqwc/7SDLo7L3ORR0MXaf9FrHqe1SkXxgYi44wDeE0ivLuvT8yDRBFeCZflMbFGmaCS NFu5RuUIxXX/T/QY2IbziTfUI5SNTw1/b7XVEdp8pQzyZvXyECjLFBpnBMYoxayM4upQ sC7icm3Cq2bbJZZug/wVJ+z2svCmTEG7PAYa9KZr6zyEMLZUFEAyMYdneGeMIm7EF1IO uwSw== X-Forwarded-Encrypted: i=1; AJvYcCXOw/r4KXbQhsftKR2hQAFRqyPT+ywH4sU+tg6KumwtXT+rzzb6N8nSM+upbqcMPH5POOvAcKlNf1Mm6J8MFOQo@lists.infradead.org X-Gm-Message-State: AOJu0YwS/vZvl64ZBmowDZL2aS2OEUuBLi01VEig/LL/tyZBMlXvTkE/ DaNy829F/zhLJNrsiTK59arQrN51cdroejtrhU7YGgMSzXW07pbh X-Google-Smtp-Source: AGHT+IEv1LT3aXWNGlfQxfdfR1++WDJp/zgt5i4LxTmGAfPafps4VrBKGIrMxV1xd9yfdRIJxSyeHQ== X-Received: by 2002:a5d:46c6:0:b0:37d:2d45:b3d4 with SMTP id ffacd0b85a97d-37efcf8530fmr2600249f8f.52.1729723040279; Wed, 23 Oct 2024 15:37:20 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:19 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:36 +0300 Subject: [PATCH 05/12] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-5-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=966; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=PQY2vvSVvdmqQTK8ZrI+efD1G2TGl0x3uNfjf2Z5EVY=; b=OH1oLPoXvG7knPESg/Z3HUVLfSYDzQCUOPxLstHrQyyXHOQDNxEkrMjK/EUc/OUpMOVfIWGQK 90hki70VyyjDgdWkuFx3nYxNtPuJU7T0Bh+EtRjfAuB4uV79nhP89My 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-20241023_153722_831860_3B078726 X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible for Samsung Exynos9810 PMU to the schema. Co-authored-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 Wed Oct 23 22:36: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: 13848077 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 BBF15D0BB47 for ; Wed, 23 Oct 2024 22:49:39 +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=OWmtqH5N2P1BU0MprmjFDoO+HGgjxkNsdCcT7wh2gr4=; b=FHHTD/TAbqVFVT+mNN/oqCkMpB TVgoo8ZRJu4thn+cTHU5hyHRhLY808TkgScR3gRm4RhKc0TDy2AZ6nSEITPfgJpgmK/sOtvTIN8YN aMvR19evMDe2WBmkeMvfchT0bkvvKsXZsClBq2rI4UyLHaafkJHUTy8oCU2gL/Hmh71cGtvjtG/UJ OXztP0JK6nkvvbM8QGVErpjl8WqQM2xmMqNSVd+R8DO65sNrtrhKiYnDhE/MJ2RE48lkphnaLdEG6 pkC77HdLfwpwNPV4DAtp+7CzP9g9l05VJuti0KAbDiVdcKtygaVOzBqPJ0IJ2E39OEw2AmORADCIU vgsYmtWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kAS-0000000GA0O-2VAL; Wed, 23 Oct 2024 22:49:28 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyl-0000000G6xP-3Idy for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:25 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5c9454f3bfaso245877a12.2 for ; Wed, 23 Oct 2024 15:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723042; x=1730327842; 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=OWmtqH5N2P1BU0MprmjFDoO+HGgjxkNsdCcT7wh2gr4=; b=judEBZuogzdp3ySmHxQeTZcQtxIOv/fEpA0DCEbV7fCo5WuVANcUEuhsgSi4Vizara fA2EvUBqNrMH3U6yeeS1G6zAfU7WIYofucBFmI3IJOp9rXfV+tO5fPkMgq/WWRDxWYAB ZIuoyMV/rsllM06St6Trdlpbl9XJ29ZfhS2P18sjilEMK7VzCxtx4eNshXvIgydAi01e hwCdH1RJEcIEJ2zEC7+HyAEjw8LKEuN132oWEfOvppg+q7Zfu8uipcO/Qbe+dQhA3iLK CGna8a8jcH6QChqo44Q31DrSu7W6s6e1VVVfYy322/FS1FnIMDzMSRwOLdGHsn8YMjlh ZdpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723042; x=1730327842; 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=OWmtqH5N2P1BU0MprmjFDoO+HGgjxkNsdCcT7wh2gr4=; b=gy60pl4xLup6gbVM+ZvG4Kz4V/VxF8ZL8fWxF6y7ueHvZFv7Is+5lLSO9N4tOU6qMo vVby367VOQ8Jom+WWO++KSzNAsK20jrNxsOPhO7I+ISIz7gH0aYX61/HSiQBvZiXgKwh 7sDzQtl3iFmbn89bwww77gU6cBTiFs5BjfjEutAvaSUjfWcwLvt7wrfVYl4c881sQc3G dd77seZ32hTIjgiZ1aRMMavj9Qe080FXmpZE8/yZSQGWWEfJxWfFVl6qDA957rjbiPCP hnNUy8wC5ipy+KjQ+EeuVuvFsJW2NK3qNEz5xJK8kJr+vQucIsgfufZIll3N9ZZHdBEI L5Rw== X-Forwarded-Encrypted: i=1; AJvYcCVCtWDE/OstIxEC91zUQlvjEkqtjWHN13LqxxMS5PQuUWuoargP4Kd855dvI1kCoyUhGVlN5pB+XMcvczuCtnRf@lists.infradead.org X-Gm-Message-State: AOJu0YyEFrNXrsm2ypMEAFCd4wYNSil+16PK9YQKUowmvBeTMeel0AB7 uz6F7T0Q06RaSGuqty1bDe+vA4zHz0ZrKgbCwcHA5l9yrsy3u1s5 X-Google-Smtp-Source: AGHT+IFzgo2JsQ869WZYlAgaH+b7Atn/Vy2II8EQ4rEQzpHOsgtaGvwMKQGxGaJKoqZmvNgB6r9Vzg== X-Received: by 2002:a05:6402:1e92:b0:5c8:9f3e:1419 with SMTP id 4fb4d7f45d1cf-5cb8ae70636mr3554294a12.5.1729723041789; Wed, 23 Oct 2024 15:37:21 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:21 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:37 +0300 Subject: [PATCH 06/12] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-6-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=1179; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=mDrRM2vw6yzIeJi/+7tORTimRHVKBC8rcLZLB3YC2lk=; b=dlXnErUtfJ/958tawHUHA0uCxWUUQJON3A0WPPEbbxCfpUTu6mkRraEbrWIh4MRKibiMhRJLq QLl7xL0FdHHCMI24G3+dDBIhfnL9b134SuVfqVs7zsmZS9MSk79W3ZL 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-20241023_153723_866219_B12F66A6 X-CRM114-Status: UNSURE ( 9.42 ) 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. Co-authored-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 Wed Oct 23 22:36: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: 13848078 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 B1A53D0BB47 for ; Wed, 23 Oct 2024 22:51:11 +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=RSBkWGpVe2U/Z9O5WeF9k+f5OatGtFBj22iPtlufGf8=; b=mfWTFVwknHrCcyyFt2slK2CSt0 7IvioLvva42TE2n5+FoH+kpFTYCjNzhu8gLjlQjBNcc8CKtHGPy8DPzTeI4PEgGHhGHDQREwH9ycY +U2iD4Yx4RXIidW3QXR4PowZxfHfaa6JJV74OhT4D3KxUZkrtiAnHpki1yvqqHNyiT/6ITs02S1Q/ BE6Ucyog39OBTcy2Fp9wygaQUgqHe0roHi6dQ/y6JZNAq32/D0URsMT3xtvY5jdHOzj0ryb2FtbVO S2ETJ2RTIJAjkbGZeMNbZ3jQp9nSUUuAwd46Jy+CBeTZUM9ATha4JuulX2MTW6PAvdeN7UNk4h3uR qT9C1wUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kBw-0000000GA8h-31qq; Wed, 23 Oct 2024 22:51:00 +0000 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyn-0000000G6xu-0wlW for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:26 +0000 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2fb5740a03bso2633901fa.1 for ; Wed, 23 Oct 2024 15:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723043; x=1730327843; 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=RSBkWGpVe2U/Z9O5WeF9k+f5OatGtFBj22iPtlufGf8=; b=dks4Fu6OkuQYTLGWTstV24VnRWcw05Wx9g7B9CvC/EY+ncDrSaBl2V1xJtMMrd5vkD 00N6rpOEf+3vL/n2Szw0mLcIySymVw+fTnN83/UulSCp0pclXqiQPbwpxOKobEO+mV8H Car9HNZCVDNo9zd7B5Yl7geAuuwX/MKRiDEXle0+wN/P61TQ6RaZyzYSZklfLGx+xNG1 SAJ9dpu1YDZGQeiks49tMo3hiPXV64Bn0q+zWpn1TawSoAQLC5IFp2qeYjSbNWyVRNLC VR87hBbEi3LkdarUObZLjCVHbmTYtPE2oIG7h9n/R3V6rLjR9Q1LS87PU5YjB4jTPZ0y vPCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723043; x=1730327843; 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=RSBkWGpVe2U/Z9O5WeF9k+f5OatGtFBj22iPtlufGf8=; b=VoF5PZcezmqbclZv91EKDK46+C6TZ7rqW49BBio9cu11w8q7h34hvdaLgFeilA84Cu oWns4MSCxUNX2hjjrryXz5MYvrRj5jkwn8CcXWtDyd6yy7xXbddhlEAiRJH4bc1e9Oba Ldomzrr7e5v5hVwL1Pj+Ao827JZpMF913uTti4Dl6DW/HS02NihMVHPWWnER8L0XbC9V 9d2/Vi67gVev9/rwiUwWHCaRjTJrQMT4jLr/aWOC7JFGEB8GDimMQ52F+4Y/eLoqbKTY E+jpATzl5qq/UkQn9x/FI74sQOQa2i02jMrRm/Zg2LRziIDtp/vkxeG4tOxgUEaPKuBk zN7g== X-Forwarded-Encrypted: i=1; AJvYcCWtRYzoVItw2w/YKrWppJsGY+VelTVP9dWijX/Swvr2TWdtl+QLAHJgDa7Mcm5Ol4gLGYWuua8gqZFKLDgLRX0r@lists.infradead.org X-Gm-Message-State: AOJu0YzV4Daea31m8qT3h5UZo8nuYnAYUnstx0lEA78RfE0/lANlOT36 cVFGHo7QPWlti3aVtF7yioVKQLzXawUmUxP+7yE7S+hc/iKTLbkx+mPKP9vnJ7c= X-Google-Smtp-Source: AGHT+IGjZMd7lNPSesBB4Tmg01Ndbwt3X3of4Q9ZQW1OG2xoTjgCMA0LpUoOoNcxpDKIH/SJlp8O9g== X-Received: by 2002:a2e:4609:0:b0:2fb:522c:7ee2 with SMTP id 38308e7fff4ca-2fc9d3939bbmr19813691fa.21.1729723042928; Wed, 23 Oct 2024 15:37:22 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:22 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:38 +0300 Subject: [PATCH 07/12] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-7-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=851; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=BfTwb75S2Hpyd9jfrJaq805t3UYzBkYWxGTpfUT2r8E=; b=LGLRAfnRMhJak84IWvBl+vHwIuNHJwU3Q21jyQ5Gtp1q1WY5CiQvm55D1fRhgNvskr6O0Xj6M G8tMiF3WTA8DWPz0QM5awsEsoiJ9w0LLKjnPmpo9A8Up2IOuQaSy5h0 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-20241023_153725_305533_F451C992 X-CRM114-Status: GOOD ( 10.23 ) 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 the Samsung Mongoose CPU PMU to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml index 528544d0a1614c9f9bddaafa8dac4782d09ac7e9..a148ff54f2b8a92fa3fcfa78c1bcc525dba1c6dd 100644 --- a/Documentation/devicetree/bindings/arm/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/pmu.yaml @@ -74,6 +74,7 @@ properties: - qcom,krait-pmu - qcom,scorpion-pmu - qcom,scorpion-mp-pmu + - samsung,mongoose-pmu interrupts: # Don't know how many CPUs, so no constraints to specify From patchwork Wed Oct 23 22:36: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: 13848079 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 28855D0BB46 for ; Wed, 23 Oct 2024 22:52:43 +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=k2XM3Jplq8/EbJJC1OO1W3bzQVXel65Gy7KIsJ85dgQ=; b=lXlckfc8g5eTktQhO3f+/kCu6K 6kIcyErCYIvBb5PJ3eOlyfSj8iNxIJqNY1bTwG5JlrbV7n4FWZOCBrY6q0cvxvTOWPeRwFnvGnffb XhwV5t9YULFgRCFt8EdSJmkXpaeI1cGs4783yDPV39+DwUCVdgf6xxAL6VN4N5lScMD/9XOqStum5 Fj/6Qhznc9lb49N15XXDIeri6xvGy2w4lyBob5oSXboFwv8H+w/dooYMQl21lmT383eVBx1RvHCDS ov2DOkPIq5lOp5JtGQ7DHY5m+N7d33/Zgpa2J+ZcDv5Vffd9U0i4rfVc6FaS2oFFJmo1Jmnt5N4/b Ao2r3ZcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kDR-0000000GAFV-2Sv8; Wed, 23 Oct 2024 22:52:33 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyo-0000000G6yM-2BAY for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:27 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5c9404c0d50so275287a12.3 for ; Wed, 23 Oct 2024 15:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723044; x=1730327844; 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=k2XM3Jplq8/EbJJC1OO1W3bzQVXel65Gy7KIsJ85dgQ=; b=d/b6YeLIp+e8Mbk9l8jreZ+cldZ748cV8jEMQRW36iFOVljdzWcW4sjFSnlV9WfS+8 cyjr76eX8cZ0n3U9VRiN5B6TPAE8JdRnZBC5RLyq0MkPaNN9qeUNrT0NMD+woUop3Fad iWulwkx/89KZ4uIEolV2QVAtBYu6WIJWZBRbd9Wlx3klkAKUeKfkScKFekeiMm/4W7kw fTnR/lZMG4VtDEz3fq6PrTXTiKIcua9depz8+xyanchZIrFi5nhO2UiHR4we0zk3Oymm Rkb5dU/Zir0huf4b7eEq4qWhtPbEYu53yGjCKzHM2WW4S/lEBLhu92KcHpyKbl+AIPuF Q6hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723044; x=1730327844; 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=k2XM3Jplq8/EbJJC1OO1W3bzQVXel65Gy7KIsJ85dgQ=; b=WYi0Lrw5V0ntr+6N5swOXEs1P0n9x5cGpIG+5X5C02dq2Zi8oS7zu46BkbjdjFGKto TnXzTRac8jlhrB0De63y1PIWsyFMvBvsIF9upzJCV4d1TLEo89vfBzakk5vm12sWop39 p0c+RVXof/VAUZBkkDWmsb7ngh+5FUb/nw1JITit/SkWHJaMpJCl59NJbbHFaV1Doy6C iX09hyfH75T/7xOXI3jbnpZEXKc1kUQVdjTEU7aFm2vSRNHhamm5duYKJ/dgpGVXm97b dieqNRWtRnoX/X+R2xwwUbyD5oiPqhW7M3gkI2IxOPpBGQP771Fs5TnPwsAs0BmNtZx5 37fA== X-Forwarded-Encrypted: i=1; AJvYcCWQFDvEBgq01KUDeKsoc6yf1V+ap8mI16xWkTqMrQZIvXRB2icss3yHs0XP4QBcRtcUwiAa8guybij+uLCVkLhS@lists.infradead.org X-Gm-Message-State: AOJu0YzcSkZyvmt3kLxgNF0h3Odu2sSMmXojPwg7WBkR9tU7tQMG/mfO VDYRZ0PKRpa/9VGJPRq/hxdJabCmx/xkLuRoiqGH3sUOlAr7TOiT X-Google-Smtp-Source: AGHT+IGGOKlIqWKq/XzZ1d3yP1+cqdDO1i0NcdTYIW30vhzrfZLkX8Xf2wVVNdiDv/YUTtBY0MXIHw== X-Received: by 2002:a05:6402:1ec8:b0:5cb:9968:b4de with SMTP id 4fb4d7f45d1cf-5cb9968b667mr889645a12.22.1729723044407; Wed, 23 Oct 2024 15:37:24 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:24 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:39 +0300 Subject: [PATCH 08/12] perf: arm_pmuv3: Add support for Samsung Mongoose PMU MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-8-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=1343; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=nQQbu4onLgjxpUEL6v69QQSst4e5z7h+LcPxyX3sihU=; b=sg4+SVEsg+HRJRfFMRpU/sHqKpBVGugHB3ed5T9oUx8+nJ0XJggdevDa4myRkuSz1SfL+yGP6 WR8EB+pYycNBDNOjXtsYSb3DW4MUeJ2XsnRkiExliTJTmN5cEUBU2xc 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-20241023_153726_607822_DA076886 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Samsung Mongoose CPU core PMU. This just adds the names and links to DT compatible strings. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/perf/arm_pmuv3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c index 0afe02f879b45a8600b9cea1bfd88e6a68096a67..9eb5603e1dda18c4bdd2745304737932a27fde8a 100644 --- a/drivers/perf/arm_pmuv3.c +++ b/drivers/perf/arm_pmuv3.c @@ -1364,6 +1364,8 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae) PMUV3_INIT_SIMPLE(armv8_nvidia_carmel) PMUV3_INIT_SIMPLE(armv8_nvidia_denver) +PMUV3_INIT_SIMPLE(armv8_samsung_mongoose) + PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event) PMUV3_INIT_MAP_EVENT(armv8_cortex_a53, armv8_a53_map_event) PMUV3_INIT_MAP_EVENT(armv8_cortex_a57, armv8_a57_map_event) @@ -1409,6 +1411,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = { {.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init}, {.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init}, {.compatible = "nvidia,denver-pmu", .data = armv8_nvidia_denver_pmu_init}, + {.compatible = "samsung,mongoose-pmu", .data = armv8_samsung_mongoose_pmu_init}, {}, }; From patchwork Wed Oct 23 22:36: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: 13848080 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 E195ED0BB48 for ; Wed, 23 Oct 2024 22:54:16 +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=Jy3J14myK2azS2Bw+TGbV6O6B2X8yTfWnYRpx0z+kQI=; b=dXSDxwXNSKtHnG640s+zhLRsJJ w6Kh2MAPvxb2eIgeE6ZQziHe3WzHsX41jJgjjYVo1U98QCn15ty5wfrpNPwGEZUJRLVaDfWT5/0+9 pLhRMSRkelJkqUO8jRfXP9wVc82Q6FfRsgRESWUK6AGc0Qkq0MdR23kcfhhK4qI8Hehsl734BEVDe 7v5xSOtHLCy/v5VFnQNM99z32BUpr4QL4FleZ0pTb2T/B8Hk+53kS0NB/fwxpjzR44ylw370LJM6Q xPgMNqAFNngx70CTznWKgX6MRcVji0Y82YGEULlJsZKDpO959QKWjW9vwj9oHzeIdKbQA/L9P33XB VsK7zVaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kEv-0000000GAM6-3V28; Wed, 23 Oct 2024 22:54:05 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyq-0000000G6zE-03n5 for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:29 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5c9404c0d50so275312a12.3 for ; Wed, 23 Oct 2024 15:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723046; x=1730327846; 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=Jy3J14myK2azS2Bw+TGbV6O6B2X8yTfWnYRpx0z+kQI=; b=NHrBJGgCQKEic3F55psqI9CATfMYjfFnm4EA4H26CCd77IM2W7OUpU8s4QhgV6aPGV qDhOlORGSSQ8x/K2rG0yoZJxIl9oDdAVgc+6ISULon+wBhUWPfkHCIL7dcuCsmEOvYum P/mt3UQTI8n+5E9MmJg6GRE9D8vObNrsBpUbbm4HQJD2Y3e0Sc8NHoDgcMsDUi7K9DmE 0PyWc1fG0eVAl4miydGOoF7rFVZrnycDt2Gacm1UlN/9B/gKIDwTqnJe+GXiFxg0PadU BmtDceZs1kW1iYnP0Ao2G2fI4nmRGayYeOWtSG0yIEOEh1VZvTlIRPbuSnBxmUBmexYU Rb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723046; x=1730327846; 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=Jy3J14myK2azS2Bw+TGbV6O6B2X8yTfWnYRpx0z+kQI=; b=EHy76iqZnlZM2QA/HW2hhKRlbvyBR75L2A5uFYkZ9XXZDKbQ5/+2D3/hzeDERATn0S gKsUfFIzuCcX5p8y/YJIfI1olXw799pSheij+cwwMJubj4EHjD+AZkSz5Tx/aj4xsNkd vM8jMy7aGN030hpFGPYJ4Xt2h1hphAj2uwzVvhic78xAI3rlcyfJwHRlo3m8Kh+6n1Gy 7bX7zrlfdEdj/x/lfIAe4/UVXPE4w5/p0CenCBmf4Y9RUVc3NHXp4YGjrnHByt/lInhC XA3YScCJr7/cDU3oC2x86AXn7qEivedK+To0tQH1UZ1E/OIs1+fJf9YA/se7+ib2oawE Bl0w== X-Forwarded-Encrypted: i=1; AJvYcCXcIK6W/kJsqqCA/sPypl+U6yEmQ4wmfGONzbN6YlAqdprFCuK/FnnLXDfMmw2ILxB/oPeLTp991LsI1/tCuu5d@lists.infradead.org X-Gm-Message-State: AOJu0Yx9HDnAem59a3DCaCJhV2fMKpOCqbTlFCK/30CPGKx/KlX9GUob kZaDB2wn0n4fHpiM9oxORzbffoqn7vmmIZ5ehnvMKZnS51sEZt9l X-Google-Smtp-Source: AGHT+IGBz17FxrPN/rCHV/WwziIBuQiIF5Ruh+1l6Pbr+Er47DLsPPDKhznyybTHabaFp3fkM6oRVw== X-Received: by 2002:a05:6402:2086:b0:5cb:674f:b0fc with SMTP id 4fb4d7f45d1cf-5cb8af74aa6mr3518069a12.23.1729723046065; Wed, 23 Oct 2024 15:37:26 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:25 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:40 +0300 Subject: [PATCH 09/12] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-9-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=882; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=PUZweYcqklViBmb8uZ/IJuwwHuTmJtgh5ndkO4UYJyg=; b=aA65zLsbn/4MPOMDsOlrN9HRxwQ62r9xMLoPkCXZlYFt12trsIitbpJJEy9YAUBoQHqpYyUog +MZ9ldEdyVkCIZ/kDvOl6e9ll/aKott3kKtcXOIRwAbErCVivTpWmAP 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-20241023_153728_088530_C598B3FD X-CRM114-Status: GOOD ( 10.84 ) 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-authored-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 Wed Oct 23 22:36: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: 13848081 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 DCFC9D0BB47 for ; Wed, 23 Oct 2024 22:55:49 +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=Ml4tZn5HyFNzt6Y4nPtF9skfxOEWkeIh9z2SY/9hfwo=; b=wKz9rnvAueaZbOEh/tpENVG3gs 4KUojLfXoCwnCknCx/6yEwu3BKEyZtfOe4TGRwYaxIcJi+3ngQ4Q8o0kqT/3qv9ZY+HiW+PFhceUb /CNav/Egbx5xmSqXT/8FITLvF1mNn+QZIi1CNXm50k/AW8cA2Rzmr9nNuGwcyizW+c2KZBSauEuGi KL1OraI/D0fT26Vo1ul9QsNr6eO0sQ2vRfRbysgYdxsuxQjAqZ2i2YlmB2hbc6woXk/TWQvZrqCJv SRNJ3ZeRAfT7Emf9/rLN0ApBUe9r2QGlnq8sh62s84Pvs1wTvi9LQetGPIGJ5ZktAG7dCPqwcYG1d nRXO3SKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kGR-0000000GAZH-0Gzx; Wed, 23 Oct 2024 22:55:39 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyr-0000000G705-2Hgz for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:30 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5c9404c0d50so275324a12.3 for ; Wed, 23 Oct 2024 15:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723047; x=1730327847; 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=Ml4tZn5HyFNzt6Y4nPtF9skfxOEWkeIh9z2SY/9hfwo=; b=Z3L1dFYkrcW/q+R8sye8OZWztC8bs0mkrvrDs+xouEub9XF/QcvcH6Awd9lrTacVH2 YJHrvuPwxKzyEXZpMBgCo1eD9D1vYkZvwabBmOaUVblRVyk47Sw6BWFEijlnOrXpKBhR Wi456jIqQojmgXbEVDzueAZpwNhMQSA7G1TtynP7cV/7EsM61ddorn3BfjsclXfsAlCU leiJvQavvcTq/5e8L8AXAQhmkxeKpdF6wgz7HjhsMnTJMeHNazhysRZOVbGqZMB0JBV7 gAQqUweNAJz1lldfj8+NsszDTOnbaF4QvxF0yRP38OK0McyjxZFIaEqMl8GhQkHXei4b hEEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723047; x=1730327847; 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=Ml4tZn5HyFNzt6Y4nPtF9skfxOEWkeIh9z2SY/9hfwo=; b=RKvCmqaI5AarbYXsRnBPklUw501KaYlt/IOeLWmxTXb0ohrBglgt1cIuHy5IC6b1mk MPxHkVoJBbrk364GFFFKPmd98YP+itqfsqw/+K8D8fKRaSn7hXaN8027CEt9W/Sd3uQi Z4wTTz2zD7k7v2+5p8k5G/cyzKnVeFpTz2blgKLF6ehIquOZtJ6XOfpjhinPakVacEWU Yh0WA00mWXL2DNH2WtUxJEqnw2ALobJs29jt2y93/Gly3rT9j52kBsX/09HE3HWcLGrT JDPkfSH3xLyBMoNF09oajtDFxZ95qhWdqbIrK+rxZ8Kj6d37C2xK591nIfbPFy4TYERv Ob6g== X-Forwarded-Encrypted: i=1; AJvYcCX/Dq0wjbQbDAB79AfCnEf5Jz7zKMrB/vnfYUrs0xbwGSENNPh+XS+9fRPz5rauT7KN21X7RrLaZ35vlzAcQa3F@lists.infradead.org X-Gm-Message-State: AOJu0YxWZIHnevG9FSCMusgfcchBSX734tJjU98096o9aDseKmYvmQ4l 3XyrZkVahlWsIhbiSYT00rMVkvH0rZbD9WGRDuthc4fcn4I35J01 X-Google-Smtp-Source: AGHT+IG0mGC3boq+yTYuzDWOTAPZG8zjt7VmG0RpKlJyko8TFMCPKrosNA9CRKTqttYLcKKQeTeHdg== X-Received: by 2002:a05:6402:51d1:b0:5c5:b90a:5b78 with SMTP id 4fb4d7f45d1cf-5cb8ac6369cmr3977928a12.5.1729723047434; Wed, 23 Oct 2024 15:37:27 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:27 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:41 +0300 Subject: [PATCH 10/12] pinctrl: samsung: Add Exynos9810 SoC specific data MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-10-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=9443; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=TiIPfYt0RbveUi7nl+E5H8W22i+gt+I/IW+gTN3LGVI=; b=ys8MFnZ47aYyWibdD8vyNhiwzfo6GJsmFHH20zw/a2X4b0ROVXgiywHp54YMkmloTSnA0m4GO yF/2tcu80qiCaMA67AdrXUwIY0/pEjLfKtWNBjsnhXnHHiooLtbRLjH 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-20241023_153729_631251_83F1B673 X-CRM114-Status: GOOD ( 13.23 ) 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-authored-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 Wed Oct 23 22:36:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848082 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 5B159D0BB47 for ; Wed, 23 Oct 2024 22:57:26 +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=T9chmuT/vKLKQdVfIL+EQ8SZ7ebuPtCv574MaCNhlcg=; b=cEvrU3ZNI3/dGnUz2xw/vLrrA3 9y4b/s7eKvnKy9MUPBgcg4X/Uq+C0k3M7sFWTeQhBw5q9TBy/IhSct5weAtDjgMQHrJm1IUNepXvs QM289+DKmYa02CVyQSBc29YMQyqTcW2SGrUqxd1ZsadEFbp6TZ4JMgORndlIMPJyMq9MtyNvzKGYU v33jIrnW+UQUz1gtmHVn6nqfWREHop/duDUorJ9Z+RD2P1Kyy2ffM3Co4nmusKQGULDG1KTWOrVlV aiq5opRFnRsDvMC1HMPjgJwx8/N+XnhFuqJNxvxcbpY6NefInkIjs5xTGLIFXJZJI/WX0WvRpcJNx kQ2OmaOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kHw-0000000GAiI-1zwq; Wed, 23 Oct 2024 22:57:12 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jys-0000000G70W-38tc for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:32 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a9a977d6cc7so12376666b.3 for ; Wed, 23 Oct 2024 15:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723049; x=1730327849; 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=T9chmuT/vKLKQdVfIL+EQ8SZ7ebuPtCv574MaCNhlcg=; b=QwmZDn+D8Wh6domtUjKk4SoK9IybTwQxlh6k6O9jNGEmxbrjF+5Ki1nnabIPtgeYPq iMCwQ7fTFCiO7GomZpgP0grzBh+uT5EY8349nonwVvmW+T7HGjXBZwZ+OLEMoeUCd8Lh TIBOHCvT8ZLUi7WCg2+u7uduXys2oqLJFXVH1ZBrnpeHO5YXGGt07ampmHLfiaruKpGy l3gno957g5we3dJ5AOJNpjEbsjeDCBTVOT+UmflnLBv1RjoKBeLXBn1vZYwwRYcyOqne 1031rVEru/7bqMPFmIG08MLSCCE84lnuarhXKQif6wG5+9tiIgVQ2vKDqnn+grqCAgwZ wRmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723049; x=1730327849; 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=T9chmuT/vKLKQdVfIL+EQ8SZ7ebuPtCv574MaCNhlcg=; b=VP3OSjsASiEnjLe6qLwglZEAkpMMSbjN/GmDzfO4h5helwed5ucdLaIn9XS3JYERwN e3xE53orNiOx2OIaWQRSQWhEIN912/T8tdK1NY2BLjqdmwIJ31P/dAZvDnsO5/iTX9gb YXnzcJlB653n/5l4xUwY0+c1SRqRQzf5L8JIZyrY8UFgRf0w3jxYAkL4IrOdBWACD7yH EMQWf3OKYqhHYJM5mh3wW8xEOq6gvEWrOpbBSs/Ac1kw5kqqxlptjYsltZR5LOy1lR2t kWw1pPW8WvTfz29EUfzPR88jYvItL0EjXc3ZYAlr4EqZlwStk9+2cGKDPXj/9ELDue86 lnhg== X-Forwarded-Encrypted: i=1; AJvYcCXmhTppZQFNbuQNn8dta3UW4lQIKdnZog0xPMBIZcmmxKzh/DEUbstH6XwVUc/5k7VDtvfFsGmPL2JI87Ax/SFi@lists.infradead.org X-Gm-Message-State: AOJu0YyIdQi2azjy7d2/JB6V7sohEIWwvZXwsbO0gqW7kRoh87zn1uLx tuEEArcpaGiiWHbPzKgwfTBhLEEM7rOWAJLgmzDqCX1yXxAOlRU1 X-Google-Smtp-Source: AGHT+IGl8ptG0uCUSA78la4JHwnH4oexwQBBw1YPefr1OV3s3eTTLU6SjIPZv5Od3pd7upxz4rkAbQ== X-Received: by 2002:a05:6402:1956:b0:5c8:8290:47bf with SMTP id 4fb4d7f45d1cf-5cb8b1ea74amr4424820a12.21.1729723048510; Wed, 23 Oct 2024 15:37:28 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:28 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:42 +0300 Subject: [PATCH 11/12] arm64: dts: exynos: Add Exynos9810 SoC support MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-11-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=18067; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=DPQAdMpvhO16lf8cOxmVyWDMW4huIk5F+FeYrjtAGWc=; b=ZQHwsV14L0RyMQSdQh6YlWMNft8r5QkV8L4SAknirLNPkFmj4pM0JG3RUWRUf6zqMBtLq8juL f792pwjO0CuCjibszaX76iY8ETWzt0+1ISrva5THZ42Oo6pvBsQKqWX 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-20241023_153730_850052_51CDA5A9 X-CRM114-Status: GOOD ( 13.60 ) 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-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 525 +++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos9810.dtsi | 256 ++++++++++ 2 files changed, 781 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..4b2ee59dc7241b0ec31c99fd909d1c5e25aa77e0 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi @@ -0,0 +1,525 @@ +// 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 { + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + + 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 { + interrupts = ; + + 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 { + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + + 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 { + interrupts = ; + + gpf0: gpf0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys1 { + interrupts = ; + + 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 { + interrupts = ; + + 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>; + }; + + 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>; + }; +}; + +&pinctrl_peric1 { + interrupts = ; + + 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>; + }; + + 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>; + }; +}; + +&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..e8f5ae913e1a9e11fe14e2d4a5d0940415cd3ada --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810.dtsi @@ -0,0 +1,256 @@ +// 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>; + }; + + pinctrl_peric1: pinctrl@10830000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10830000 0x1000>; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11050000 0x1000>; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11430000 0x1000>; + }; + + pinctrl_vts: pinctrl@13880000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13880000 0x1000>; + }; + + pinctrl_chub: pinctrl@13a80000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13a80000 0x1000>; + }; + + pinctrl_alive: pinctrl@14050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14050000 0x1000>; + }; + + 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>; + }; + + 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 Wed Oct 23 22:36:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848091 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 27124D0BB47 for ; Wed, 23 Oct 2024 22:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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=AX+cZKl5XEc3DMRwSLMsFqqUE19e2NM6vk+Aym6iSqQ=; b=lPV6ncd1rN1IyowKfv5zL7UbqD vzKx81drhqFvT9tRCVePCBwO5Gl49Hw9ItiH+M9kmodPEk/VMThLsF1piT8xx+5RPQ0LkHcowt5FC 54EcBgf8C3cwsUno8wywqrXK9RmUChdSyx/dqGH/mYrh2UZRRFGHcMbUrLqy1TkSnxkEoH/dI51RQ dSGrWLGeQ13VMElQfTeY5SdXiAPDwbP6T3xnQFKglJ9uwX9aXuUi6QCN8jdk5N/g3QXLj47hor7LB ghL4GoG8xGUWtGGLj1BBjYDcEj8Q2OpjHgcvOh/8ZJQ3x7FP0k2zU83vtL5TvbFeF+IQP7Vx+WaIu txE8+P8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3kJW-0000000GB4h-480d; Wed, 23 Oct 2024 22:58:51 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3jyu-0000000G71B-15hw for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 22:37:33 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a9a0c40849cso32198566b.3 for ; Wed, 23 Oct 2024 15:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723050; x=1730327850; 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=AX+cZKl5XEc3DMRwSLMsFqqUE19e2NM6vk+Aym6iSqQ=; b=mnyJsbJBRxsU+0uza8t+Akg/+bvtBe4I9ik6aaX9p0ixDsBwI9QP7JxzQ9sA0OsmyQ +cS4cW+hA8hbQzcZRjDgWwj5AEV0dCTsaTM9YBtZceDshdeT9HhjWF1yLBkpYhPVvGHJ yJHCmuD7QMJiAq/Iw9q7Q9sm/juqIYhS6DXD/pETQeB+h7qsPywHQ0dRly6Y1Qa8dWBT Kzv+nPp5ceEATpyX85d+mEeQYlDT6y83kcWcc9X8RoD13cc/UfXJBRhDCLpkZ4quo4ra cbxfUpOIJOuuDhvtaDX34dGGzUpMICB3S8PUyUqs8ZQUnoY5dMKsuJ9vkSfXymY19Xdy Xwkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723050; x=1730327850; 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=AX+cZKl5XEc3DMRwSLMsFqqUE19e2NM6vk+Aym6iSqQ=; b=CE8ONfTk2KLidSTGriz2D2eaHTeLARG2O9QBf5GuvShW2vyx+w1tKkEpAI2BsSQhYn cLtofLdHwavqqaM0TI2l5TyAnj2vaTadia2bRHEFq0bKOGlEj1vaODI7FzeoJ0BDNhWo 4A5NS5o4Fd8ast0SRQcXzs/XmwAbTGEY36UvsCxe5/s5B1OXD/EjZluR/rGAVhDKwXRe a7Aq/4UC2K0o9n8tDTX1QTOzFX15972ES+oT84ySwNuA7+GELXljZevtXrD3HGuSS1E+ d3nvwaXeu/Z+tnsvP79lzsqumgyjimkA6B0aveQx6uSo3UGy7bSBqkLU3mlq/fUxazfF gqtA== X-Forwarded-Encrypted: i=1; AJvYcCUYAcgibwJd4pM2+ZQbWaNSFlW9EfSaluyEphZwgjcwB/eGagIB1HIKs40KtpOtya13mxFiaA4TKq5onPj6eSoe@lists.infradead.org X-Gm-Message-State: AOJu0YyRxkvDkDjShYcE/b5DxQLgoSy+/ikzC6HEOJ39Q6dLBAkoAcUV eIAtrwdMMc3aKPrtoEJ/b8zKCgNaBowGv38tAcr4lG/y34QalpB3trtdp5ubhts= X-Google-Smtp-Source: AGHT+IEz7HfZTewz5b+n8ON3omkJnOW3c4z1DCw0FOB98fFAPZeutFcm1+iZOYPfU9psjdpc68Nk/w== X-Received: by 2002:a17:907:2d8c:b0:a99:f8a2:cd8f with SMTP id a640c23a62f3a-a9abf9682bemr399570466b.64.1729723050129; Wed, 23 Oct 2024 15:37:30 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:29 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:43 +0300 Subject: [PATCH 12/12] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F) MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-12-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@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=1729723025; l=4396; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=uGxvRrGiZ9uLBWYdiZjpDfcJUgUDjLtTL5MMaS3Y99c=; b=qPBGU4g4UzTmbyW8K01GZbAhJ3thwrS3nfygRW+CZyRP6QN6HO9I+K97XuAksgJIsecePUf7I rEf03pG5egjBT1CsyGfHrc9Ut5Fp/ZIomu0fA2F+mFTrWbl3/YBjz9p 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-20241023_153732_348619_8D8B741D X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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-authored-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..f3a1910402b8d686dd7bd156a691ec541e10ad08 --- /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"; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x8 0x80000000 0x80000000>, + <0x0 0xc0000000 0x20000000>, + <0x0 0xe1900000 0x1e700000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_voldown &key_volup &key_bixby &key_power>; + pinctrl-names = "default"; + + /* In stock firmware used for assistant. Map it as a camera button for now */ + bixby-key { + label = "Bixby"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + }; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_bixby: key-bixby-pins { + samsung,pins = "gpa0-6"; + 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_voldown: key-voldown-pins { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_power: key-power-pins { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};