From patchwork Fri Oct 25 11:24:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850552 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 75F4CD0C601 for ; Fri, 25 Oct 2024 11:40: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=n31FK91HeIKxLr9ZjvHM0e9Nu8fhYX7UDQp+Ji5Y1y8=; b=1PLnAuzIWZxg7bp0diVPLIRjF+ 9RiF8xXvYkHKPA83VL/P5TDmq7xZxz9aC/UhDB4zaVOsyYvjYEM/Sdn6nSZskA6LcpeoVxz572ZE2 HigQi5TsqNITb9PRiax1io4cmL245luYjllWutyoC0iTND2c/cv2oSoHojMJCELSMlXjk6eJgvoj5 YXHKg/l2Hnl0qPolVKIqPSIG/M7bjMARGFby8AqJ0PdoKDGPSm0ta6GPd5v90uW21SQ/veKcFUW6z 8HAfLGnX/QjdEQ0uAiLKlNLya0XbOE1jvNR0GrGblWF0gIG+SfS6JEjnSzhJtYkOXFBpG6kKzrTTG YaMD/nCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Ifa-00000003XKl-17cz; Fri, 25 Oct 2024 11:39:54 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRL-00000003UxL-44Ru for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:13 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5366fd6fdf1so2702014e87.0 for ; Fri, 25 Oct 2024 04:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855510; x=1730460310; 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=n31FK91HeIKxLr9ZjvHM0e9Nu8fhYX7UDQp+Ji5Y1y8=; b=HOs+0wf8Uv2fyTvze+PuVJkZWV+W3ntbogzKM/FE7LUSrFqHi92y10JLGCBxNKdztI 8kcOSi+ydbKp3Q7jAPBMPTcZfICSGaf2yuKcCBhBl8PcgMDyvH/Y9xf+2hXZxY3UPW8h UMvfmboOdJh8oIehovhf3AEY0+KMajeNKcTf/4EVY2zbTn9BcjYP+K8zlLcaxPba0p8V /JKZQ+PaQq2WD+ll3q7Xs+Y6xYYdaZjoAkoOekYieKV93zjD9lpiNDIQeFFS4AaGG+hL hvQ20yvYri/Ruo2iPtWbJsZAswnY5WkaM9Lx5LDUSmXbzv2CuSFFpmMBCYKjkpXjC3sy emxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855510; x=1730460310; 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=n31FK91HeIKxLr9ZjvHM0e9Nu8fhYX7UDQp+Ji5Y1y8=; b=oGX54jBQpNkfvHInjvLy9k8+jU4foctCovPPaAjFgLTCAineeqLYcopOd69u62K8U3 o2jMm66feIP24bIzPMA5THOJBf+CZfLrnCtT2AkX4zXWCoKurYZorkED0MEISyb6QsvP elegB0fC6m0j640PSGZlWQirlEjs7K3p0dmpdwMGWbGCw3AtfBVOcG0C+A2aT8dJW7xA RoDrzswLgkeh+/JMBu+TwyCr8UkJBR+RZ+fkGaZgKpyWOjCJ9wElfwga8NBmkia3Lnjt Nm/EZu7A2FNkxbN+cUlBXnPUF/4c9I1NuQ35SODwNC7y7V3YXvwWPc5mT1RlmoOEPeK0 jcVA== X-Forwarded-Encrypted: i=1; AJvYcCVMoSq1yfMfxa602TarbK8vl7QYVwg1q9S9Y5MdbqDcqYSI5mQvwWc4GbuSXqmOuAoUh8g8PfOOljc7QHwslDfx@lists.infradead.org X-Gm-Message-State: AOJu0YxDnDkZUqhJ1Iqxd8D0W4XTqwO5OeCfZpyfrUmO7Ftdqp5CKv4h Ln7Jns9eikL3sYvBrb9pHg65GIqGl5TnNevvcilIUdyrbvTlWmz2 X-Google-Smtp-Source: AGHT+IGB+97DmUjhobKZtZFZKzO3erQP6XakxXAE4z2q3ZIafndHZtXyuxWp4pz/XPYWWQEkKJdH9w== X-Received: by 2002:a05:6512:33cd:b0:539:fd1b:baf5 with SMTP id 2adb3069b0e04-53b23df678emr3299322e87.16.1729855510200; Fri, 25 Oct 2024 04:25:10 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:09 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:48 +0300 Subject: [PATCH v2 01/12] dt-bindings: arm: cpus: Add Samsung Mongoose M3 MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-1-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=860; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=5q28gk3qAfUZIRDnybYg994BnJdNE3X1MHgLAQpU+/A=; b=Mr4netPYKpH6mR1BDJd56vc/yQdBg713KYkd0ZBApqwxS/yGyh2wVv0xoF9ubCKtmjhdFkhR5 sHyDJeN19I9DLa713fffVjFx9WQFyZloOuwhaKHfjI1alVY3GKX9tjg 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-20241025_042512_107655_1F4425D2 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the compatible for Samsung Mongoose M3 CPU core to the schema. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index c54d20dd9d7efcbbfe73e5a63fd2f61d1e010d29..2fa7d3513da839ddfb2844628b1249567226a025 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -207,6 +207,7 @@ properties: - qcom,oryon - qcom,scorpion - samsung,mongoose-m2 + - samsung,mongoose-m3 - samsung,mongoose-m5 enable-method: From patchwork Fri Oct 25 11:24:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850553 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 4DF06D0C601 for ; Fri, 25 Oct 2024 11:41:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/HNnYCMWwNqSncdK5XICNLGGS6qqpAsQS7/caik9gL8=; b=CGnTdnjiSpNkzFldqVoZSxhVby jekepXqmCNCqaEg+qkTLc85EfihRpfxY6+Yr36d7DmEtYECdTobjBXnsj2u38FpuckLsc0WPzoW8Z n48ndOP4muaZM8CbDBeY7Hxffx/2BusZmUkLxEdeYz7Djzz3N4f3YUBMYEhhSGxzdo0ivvTw1enV8 dvirhWYlo9b3TOWV4KUfRW66HupQEBdnaxSgqIYbJbVh3Vtdvws0E8/0IKF6VvlRt6jUTErmP0XGJ 3X2xLrF0/6MFi1T59dl2s0MRgZcz/g1VemMC8FVSapzpleo5z2cw1L3xJn1k680GNfGtPosr/mSCz iO+XPdFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Ih7-00000003XYi-0oNl; Fri, 25 Oct 2024 11:41:29 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRN-00000003Uxn-1dV1 for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:15 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-539e6c754bdso1764377e87.2 for ; Fri, 25 Oct 2024 04:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855512; x=1730460312; 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=/HNnYCMWwNqSncdK5XICNLGGS6qqpAsQS7/caik9gL8=; b=kMqI3VCCta8//W9hfVMupLwzzxdU1EihzhgJUXzaA0auliGO/+2yJpvesnpz/wvG+H rRpqgKU9Qb0yap7Lfm3OdgGxsaKJg/GwXDJLKp1CiIN3M07wPTfhLx3h/21bP/Rus0lC O8q4xUA7IumugfTR0OTgSp6/ko3nHKb2SR9t/vd8a+kJxZtScleFDw4fJV097D2Goxd9 7qvJG8CzH6RMFT/nPFenjnm1v/fEqJRL8+HCLAoAugG9zmHSji9GlioIZq5+jJFi/QSj +DdTqkTyo39S47EFceUqctYsPjUeroeoOoYoHVgyVKo0UoNeqLApO1/bbd+yOiElxNtS xhvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855512; x=1730460312; 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=/HNnYCMWwNqSncdK5XICNLGGS6qqpAsQS7/caik9gL8=; b=NqgQqvLDkrWxj7dbN0PnIfdvsV8Rlifii7shb8GdHYd3mZVtw0jVh9nsGC6kUEaL7h AD6HQcpyOBFG7H3M0w+PiX3z6kX1Y/EQTsrNPdeYROC7qr+DLilKPnymtProN/poCe4u IF7ukOKWOtR0jTsga2yPyRfXarumsMSR/+q9RcO/mCtBCqB9eor/ccf1SJf3bHIacerk ThjDSOYmJjEY86Q4DAWoINLKCn78DPO49bNj52kFAqF77RNKN6hZnroilSa1RFy9238t jQl9Jflbf43SgYcACpTWa+TqpsvYW+HodrJzb6ommFzfTc891b2JJ1xMMZgWOGRhVFXZ 6h1w== X-Forwarded-Encrypted: i=1; AJvYcCWx7dZFuus2F7J0maznPkBS9NpPhsIkhiKqrKVRQPDInXmiOc5ZXiE018jwudVN2BuP6uF3KUBhMx0x7bV37TgN@lists.infradead.org X-Gm-Message-State: AOJu0Yyw8Hg90kEV5VylZyVW/Ylus1v65DRuMhl5MQHLAkjCOZ7+IbfE nAM8ZtgRRMdCrgcA32E9sVrMWc7gUFx39GM387EXyoP+bBdhBaDd X-Google-Smtp-Source: AGHT+IGWhx14LNtltdJxbSM1OwgnZgVxVGD3zuhki3CqEUZoL2D9f/SDtBAiMVIL9e/v9p5gAgVqgw== X-Received: by 2002:a05:6512:3d0e:b0:539:f7ab:e161 with SMTP id 2adb3069b0e04-53b1a391e86mr5184359e87.45.1729855511426; Fri, 25 Oct 2024 04:25:11 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:11 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:49 +0300 Subject: [PATCH v2 02/12] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-2-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1083; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=e0pUeZhnaxoOJxI70AFSXGBv66qAJ/ODZ80pJS01hrw=; b=sQmGok87n+es/tJA9th7JWqP4Nbe8occLtRJWndKkoWz1YPWdc5GUzrS6sxN43GcJj7SXodIq RLrVmYnnu5HA8KY70kpPWkTvJauKR56ZvAGF4ak34wFnAgZSirOtDrN 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-20241025_042513_630020_5553B610 X-CRM114-Status: UNSURE ( 9.78 ) 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-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 47a8d98346ebb83a7ea4d11e2fc7fc87df6bc5ad..385aac7161a0db9334a92d78a57a125f23ca1920 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -24,6 +24,7 @@ properties: - enum: - samsung,exynos7885-chipid - samsung,exynos8895-chipid + - samsung,exynos9810-chipid - samsung,exynos990-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid From patchwork Fri Oct 25 11:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850562 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 7DB71D0C600 for ; Fri, 25 Oct 2024 11:43:18 +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=Rq3hiE5NWT6GmSCtEliWrqDO8oFD5BU4/6ZWd5GCBSc=; b=C1ayqHT8dBhnhHgBCZeCMGcrsn J2kcxd9mJAu2L0tUThN/ht7AtqWL/4ZYKU+W+zZPCKsVVf+qwqVG0geJIs+yzvL4tFSgjix2CgF9Z wWUNn4Pu6V3g3s8pmZ/EmV2rRxk4fH6h5qDd0PajUQbgo6dYMmpAABCU9GcLT6Y51OqV52dnMbSaS ZtorTkTFoy/RVVeDaYAPAuYJhK5KSzjt63eMGfKQxRR+Ev+wlMi0E4xCn3fExVKE3CafPmf7BzdBF FcUlCSH91QfbN2fqOGebTs8K7z6zDbSGN7Cc+TIh+tqpu9jbB2VeDHTkpY5GCYKA+AwH2KMnFBP1G 1Kw9F02A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Iif-00000003Xuz-1WJ2; Fri, 25 Oct 2024 11:43:05 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRP-00000003Uxx-1Wkg for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:16 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-53b13ea6b78so3199416e87.2 for ; Fri, 25 Oct 2024 04:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855513; x=1730460313; 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=Rq3hiE5NWT6GmSCtEliWrqDO8oFD5BU4/6ZWd5GCBSc=; b=CTs4+gqQJYE7rryg8S6luBjd0dpcLk8FXqzbgXp1FASuElRSuSFEBgaXV5fv9s15kd BlJDz/ud+sAgw9B88aNSTfwbqWEP1Zfm+8Hgn/pznAxL2ZuP3lCyE8wVLFkkXTf9OhZ5 N+OLsJIrP8nKZDq/cga9tH5qygnAbdMrk/TJokxbgNhXbSrqibq5QA17X55WjbVWgbbK 7Su1Baw+WwgcJVGMwINLnJZBQPfZJHqgzUw3RwXLzsdYGGmidLsUEWEU7uM4drhqOUV1 E6Qhdyb/WtWc4huPbNxWg3AJU+ZMzbe5SL1Tq7sBxw/QCeZjPP6UfsE+5oQvc07e3TyJ MMSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855513; x=1730460313; 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=Rq3hiE5NWT6GmSCtEliWrqDO8oFD5BU4/6ZWd5GCBSc=; b=UOqe20TBsnG+uSysyFxcKdpeGvXL0jbh+02GGVCSIREQdu6M5mu1M0eouzyEqnwQjj YTiCQaQV2gMXf3AkhDoKP3oGEXUNGuyIG5ePxqu42d/Fu2w37HKCJBOLLgX2L9X2J3ZR 9ZFgR2LtcnWGi4w33tZ7SsGkeJB/wHi0qOqC1hlwYUfGlXZOHgBw/WU3tZJZoPJTy+0o eb0d6//Gsokeqyolh9VsAnOLNid2hO/lQH7uJGeSNNF6IjJs0RffuzU+Mc3WCjttJCXu 6MtGtgUCJ/YksrMkD5awf5bnmrqlS6ojwDVvl8D/gOrg89txkyf/etxW+JLo2PnxKXpH nQBA== X-Forwarded-Encrypted: i=1; AJvYcCXfhRBcqOGjxxjBjyxKzmL5Fkfd3W9IklzaO5DHKhVj2qvqF26iInClTkmB1FqorQA5sbVLY1kocO1wBehpBf3V@lists.infradead.org X-Gm-Message-State: AOJu0YwFgG4TAbkGVjPlMLKQEkomDAPj1Z3/RiOQUMKD4CBunb5rXVgk 9cWUH/ErxlKUxgcy8rtbRxsEsHK0ro1UoPWhdwaDpHssoPuY5bdc X-Google-Smtp-Source: AGHT+IFRRU3fNnzxh5RyfMXe5uw/ibOQCtbNygyevVciL04O2/qAsYZUB5c62adLaw3ixad+jFJ92g== X-Received: by 2002:a05:6512:3993:b0:539:89a8:600f with SMTP id 2adb3069b0e04-53b1a33d250mr8904868e87.23.1729855512554; Fri, 25 Oct 2024 04:25:12 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:12 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:50 +0300 Subject: [PATCH v2 03/12] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-3-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1041; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=J11BKakW41EeIWO3xm1R87buOc94o8CAHWbow97U0+Y=; b=8Q9xi5rnFYrKFAl6oJ5fQ+KHXAWj47BsMmvGMPCB1rygrMfgVWqg5ms3ZfQ63+gekZHuUx7a0 6+3aVw+80HHCkghT86ZdZWoLr66AZEUcf6SAOm0EOT7l+QpFFlg4UMZ 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-20241025_042515_444383_9849ADA9 X-CRM114-Status: UNSURE ( 9.97 ) 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-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 7e6ef8249de6c2eeedfaab0ad6316af135c2ec31..5296a9e4faaec691994cd567bc3805f870aaebf8 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -54,6 +54,7 @@ properties: - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl - samsung,exynos8895-pinctrl + - samsung,exynos9810-pinctrl - samsung,exynos990-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl From patchwork Fri Oct 25 11:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850563 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 A9D23D0C601 for ; Fri, 25 Oct 2024 11:44:54 +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=CBspKlYH+nN4eI/HU4r3dQSnTCqsjAVwwkRAWiGEGfQ=; b=WPOJ8l7BbKpFrLYHXNzl4EiBcS 3iUxdcmuwTDcOgvZsjn5uDoNBPglpKFc5nQLSEOVb7hQFoZZKI8kdmIV0sG6zOeSvElV81R/c9BDG QlPX/oj/4VdD5YIsKDXuu8suBfTZ+nCp50EvQHTS7EBxRSZ+Pro35nBuweZvANbD+LLKB4bJPBvrJ vBfAbUYkWnnIt8WvPVdcqJcZywJtF58jH2/krsPJeKCRmNELFsA35cm30PVoqYL9nieAeKtAJIwNW UpPZGLCXXUrsGlo3yJP43JHuHyP9UCzawihYLsyTyqCl9zDVJ9Oe6JWShFSZ5cO72oWkalR4anbiR 2L0fuK/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4IkC-00000003YCN-1OuM; Fri, 25 Oct 2024 11:44:40 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRQ-00000003UyL-1GyC for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:17 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-539f53973fdso1612628e87.1 for ; Fri, 25 Oct 2024 04:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855514; x=1730460314; 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=CBspKlYH+nN4eI/HU4r3dQSnTCqsjAVwwkRAWiGEGfQ=; b=NyJguz85IsXnTMvCJ0Q+i6gC4QFq4iyjmGYBJD9lSHfG8LuqSSsCDPnrCKwrEUOqCz eRlWNLoTc2obt+VS2GMo9ImQPgMXtzRZoeBZ2bRE4mOVE7DI0ar0qiKO1b0kMeAaLr91 DKVU6flr4CERKOwd4r6vKHSyf5016Pnu3uNimeGbJqZu3l3DR3wI6+NTZiLA3s1N1isJ wb6Rt5OeM2YlJ8lxyR4Icb3z3u1eMO/5ano+g5Y4QLkmhljzWlCaEcRAQrhY0jFqKqBh juLVfX6atZ/GB5Ytuid1+woVaoBROHDzWfPYtiiX/BZxWeXX1/pheMVrqa5RSOaLnBC3 klbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855514; x=1730460314; 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=CBspKlYH+nN4eI/HU4r3dQSnTCqsjAVwwkRAWiGEGfQ=; b=nG198mH48ES+iA+rItfj330P0FV5omMvOCHRoK8O2TDIfTqDjBcm+m8qZP6TV139yh VJWUSbdCkAj4BRh5RQ/r61+kX0ADm7TSoH1TtBPMh340SJj0xgxRy5T7FGKo5NBCM7Js B14dJ6CSjAVNzOhkmRn1y2lCVjRloblbQvOd3NExq7lYBv63cJ4T2kDN7O2UYe2Be1KP /CdmawgMe/AarAHPOXAWdY+MP52ogB9psYfutELCDV0sLwtX51fNOTsZPgAQ7VI7cY37 mb95dUp8u6T6E0aYkXDlSL/c6uvOYysnIhDE4Y0Xfp5KEotCEFibWTqt8DHG5tLp6qKz 4z+g== X-Forwarded-Encrypted: i=1; AJvYcCXR7g0OaBmb46ZYcHln+mJDVFKyk2srScRkixLhH3NdzAa0NhIgdTLwb7OSzGfwFMGno95VDgO7RbMFK2QeiWlq@lists.infradead.org X-Gm-Message-State: AOJu0YwXfP1U8FLkUynIgL37oRdIO+mITDuK9oxC4BsZ5L/qtfCmOKHP z2Q7UIpg7fXnZWiMjvKV8p4L3OZ80YfsLtWSZ8SYGEiIA1Ewd00e X-Google-Smtp-Source: AGHT+IH7aD0bikl6FQMGLNd7VofETGubF8sLbJJ8xzo9F6OJTAdG/SoIoBlpl6PgXjVQzoxxi24rqw== X-Received: by 2002:a05:6512:230b:b0:539:eec0:20de with SMTP id 2adb3069b0e04-53b236dc96emr1633454e87.10.1729855513818; Fri, 25 Oct 2024 04:25:13 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:13 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:51 +0300 Subject: [PATCH v2 04/12] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-4-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1142; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=anfc4pv3kBFwMUC6+boo1nr/Fl+OcGuNSaeW1M8DaGc=; b=RN0biJqpKerXFY2hT9SMKUf1B954dfTnBJCZk//sc7T/EYhl/mogqBMxMnDQf63uuf6f+l4XM Z8JM17GPDkfD3Lk8H8da8XqD/ZpvNEoUoCSKFR3Oj8zbQJTEt94iY8M 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-20241025_042516_376177_074DE1B7 X-CRM114-Status: UNSURE ( 9.83 ) 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-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- .../devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index 565cacadb6be77b1be1a7423f88564dd950c44db..68ed714eb0a178c46228bac142d69bbd6baa6277 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -47,6 +47,7 @@ properties: - items: - enum: - google,gs101-wakeup-eint + - samsung,exynos9810-wakeup-eint - samsung,exynos990-wakeup-eint - samsung,exynosautov9-wakeup-eint - const: samsung,exynos850-wakeup-eint From patchwork Fri Oct 25 11:24:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850564 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 017B8D0C600 for ; Fri, 25 Oct 2024 11:46:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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=TSabGdTbzEgQbgybkjpgFSAHGH2meyPUW5UiWyeG4/s=; b=kpVU39I2r+fX4dPUD6JpqS6VXF 0BBVCWYMFfwXuna2/d579JUfpSUd2xeqZ9tHweb5BiPGDUonUI2q4+NmQ8ngFxcde88FFFVlJS+ba QMIybukvMT6gdI3JyHzfg+9cMlNN3Zd8mPov/Kg3FsaU+o/zc2WJDMPEHFm0DmW6ELbYekHfYmz7t 6CEXDFV9P10xk4Vm3K/dyDT/xAuGWkcNdbTdfW4jZrRBKhV1S02QkxyQ2cj8BYHxAmaknMEIglyEO WjCWiZPDsbPgBZ+VPBi0ZtmDy6MEjCp2Qzc4Lf+3ZOBcxgSMG0oS1EjeJI1SU7pOqz6/YhKmYWrTT BGk5dKtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Ilj-00000003YOS-2uVP; Fri, 25 Oct 2024 11:46:15 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRQ-00000003Uyd-2z5O for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:17 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539f4d8ef84so2464306e87.0 for ; Fri, 25 Oct 2024 04:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855515; x=1730460315; 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=TSabGdTbzEgQbgybkjpgFSAHGH2meyPUW5UiWyeG4/s=; b=W0TiE6i7vBXjuzsokxofcBuSq0kPK6SF+ERCxK0uosPQit7x9GKl251NG5sVV0KHCT bTNZUK9pMf50HRYR78u7NHcmmPkZi9LuB44gp7ikEZ8nIHJZts0QJwp+rV+UlijRXz3L L/Qm3MN+d/I5au+Pz7t596y1eyzRmZp4awGXPjGLb2pPF6IyOdmwhhOAnTfBwyOmaGUb 9nDO8Wke3Q1RCbdFY+8IDyv1zlsLJEl5c3GfOwseq0gv8cr5VHQach2FjNVuhnt/1OxS IBWWVfgoPejzlt35K6oe0FPeRh+MZ1CjYWCMZjf+6UHLTpQBmfRpyzm3UbNqcZ/vgX7N u/XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855515; x=1730460315; 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=TSabGdTbzEgQbgybkjpgFSAHGH2meyPUW5UiWyeG4/s=; b=XwxjKA9zMJlF9RDA6HiLGswt1FkToa4Hy1f7jMn0sBAkKCnH90UWMcAFpZJJNOChkG WtcERMUqm50hoQKKwLPhka2EOWqZ9ciCa09h0Cjzp7fAPr50qvBHL9P+X11kGus6n6r9 vEZkO1rUpFGlvUAiIuJg3B1Hmb927zyj7qlTz+dzrMJGGoa2Zkn+Kt73lzRyN9ktUQ1t 8x2+4w/t7MJceOqFFV/mHIW2btJ3Xs1gqskQ/61JaTK7Z5p070YSvGGjCo1MAGc9VWM3 HF7cOWyAJbYt7xjNatdFvd4/pYuRW4cEsciSNolR8AdiISiDsoti4WMUIxvEoTtHZqG+ gPpw== X-Forwarded-Encrypted: i=1; AJvYcCU5E8Hk1lx2dmrGTivQASR6dbtmhgwLImC/WdDUilzgLsVxWqDRkSlDqiphaso8fMr2XVQwYYlOU4PCF673mXhj@lists.infradead.org X-Gm-Message-State: AOJu0Yw3z5xz/fo+ZwuuYqa59MEqIXu7WSl+83XBElEh6Xcu2t47kPC2 NgZedgn3r5YOp3jJbD9jMEhOP/TV/P7lnUWkOwC+Abisc8KVwFsc X-Google-Smtp-Source: AGHT+IFHcY7K1d4XSIRST6P1VbBbCeEZWecXl3lY04vcFn99wdvMSzSEVua+IVJCLBhrwEA8tjlE6w== X-Received: by 2002:a05:6512:3c98:b0:539:ee04:2321 with SMTP id 2adb3069b0e04-53b1a34901amr4980825e87.33.1729855514959; Fri, 25 Oct 2024 04:25:14 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:14 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:52 +0300 Subject: [PATCH v2 05/12] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-5-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1024; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=xkm6m1i7s0SD+Mojc2S/i0Db8Qi+817SjtThULB3wpo=; b=21f+huUrG9w9oknHmtiwK3XoY/Q6yrjyTsZrvrrSb7fEVgnOXWWtlAJUmguq/tyDNYfKUO/tm /V5LCY7q/7sDSLXDv18ab3ubQ3hTZNIN0YkuNT0LNXZLwe98t7KIA66 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-20241025_042516_817368_0D67007E X-CRM114-Status: UNSURE ( 9.69 ) 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-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 5c4ba6c65e6926467ff0e90142ad62fbd0b9e1e8..6cdfe7e059a3556dfb872818f1b2649ab6b0e8af 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -54,6 +54,7 @@ properties: - enum: - samsung,exynos7885-pmu - samsung,exynos8895-pmu + - samsung,exynos9810-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu From patchwork Fri Oct 25 11:24:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850572 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 C0617D0C601 for ; Fri, 25 Oct 2024 11:48:04 +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=dq/rBsz2NNFRmkY6+lVKp+BodwGY3KG6DCpN92vktQ8=; b=hl5XvBJkqwioE8udN/BK5+u0AO /2ZG5Lg4NZ39EIoH8DISVNjhdWTNHisPQMiJbbPai30CWr5gdll+k1ZH0iaQpW7nkScPzhyJx9hqV oWcLkpzEcVAGJunYiI4Ef6J3JfAsK63+SdeIQtPr9Nb1s/Ay0AOLKJtgLId6MB5QMeDlA2p5C3jXQ iJFBK58ATBQhYtwVQj4MCVHmZbBn0VXxwQ7Uyh+HPpj0TbXqj6SF1BF4ARIWt0vfgI5lMeE1NZ0uC ci8S8R5tT19SanBBRPtTrK+szCTKBpoQul1VfEVpYQxzLH1TtSifBg18aLBicuYm2cwrYEV44LthG HNnzLg/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4InI-00000003Yn7-03wx; Fri, 25 Oct 2024 11:47:52 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRS-00000003UzR-2jOu for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:19 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2fabb837ddbso29975531fa.1 for ; Fri, 25 Oct 2024 04:25:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855516; x=1730460316; 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=dq/rBsz2NNFRmkY6+lVKp+BodwGY3KG6DCpN92vktQ8=; b=YJsVkAhT8UUh4wHtKLNM8QthNEjOSCar4VdqceovesX2hY6KzET/QYuIGxOQg5UsLQ wkXKv74hdvJgf3rFBQu0IrHlwMpRSCGkxatHzTe721wuFTr3RmPWE3xbqLAe65WMFsT4 QrarRo7TEaVOF/o0QJQuPXZbta+mHDWU3TOt9lKMxyvq2/QqgrJCbaQymZyjC31rT19k d1n9zAwCbx3I6WJSG1wjX9w9ILwVfIsufolywf3eL+EqIw1Zg5TdSnqVZ2aQvhbQc8WP UWJNQMcp6k2zbif4bT3N9nts0tYIB8UASd9/ZsA9c96o3u6DnnkvBvv+IzNFLdFrbs0Y n9wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855516; x=1730460316; 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=dq/rBsz2NNFRmkY6+lVKp+BodwGY3KG6DCpN92vktQ8=; b=ognDfrXyJeZNACy+W4F5Rm3HA5CqXj6YAVXCUOM6kInQRA13P3eiJlV0laDVgPeMF3 z8d2W2aCaWhRJC6LdjU8em/DMgIpXVUpA9Qjmx0Bo0pknkhkrHcrqz5ol47TzE9HMDiP cZHm7KVRZgEMxpruPQKkOObIVrSIRg8/Kf80B3hYDpdqlbKYbF8GfjbwbLFP1v3DqCUj 3Ja5CL92R4qEUWv5OWoqVTXjSZycEhgcHntI9h3mSNwx8rUvf7YVQhHXwTzM/UJDkrpE 7cd685YSfVxooNJy9Rn5DPhBmBXyBFT0L86OspylOaUmfCY0TZQoqFKrV44QI5ZM/Q0j +ulg== X-Forwarded-Encrypted: i=1; AJvYcCWCPYS7Apga7zKd7HoRrVmyvy4Y5zFGJF8Rjo4UMhwmyscUCXyn01XBQLfAPpqwXVma44aohzhuJd2TTNhIQCeY@lists.infradead.org X-Gm-Message-State: AOJu0YziYLX4nbaEa0niON9iWWe/8vxIQ0vFVEJxcbPcxQD8doibFp1u xTzwHMsroWiFxA5ZEu1NaDrg4sOi+0lAucPd4x5pE/V0xqaESCdu X-Google-Smtp-Source: AGHT+IEoGnK9HtNPYcj0srNrK0pE4zJKU1523ypWxDLogLufFQrVDkefq4lkrpeUeQjY70p05SL7zw== X-Received: by 2002:a05:6512:3d8f:b0:536:542e:ce1f with SMTP id 2adb3069b0e04-53b1a328380mr8381074e87.18.1729855516137; Fri, 25 Oct 2024 04:25:16 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:15 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:53 +0300 Subject: [PATCH v2 06/12] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-6-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1237; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=wJq9r0ywpF+U/F21JjpDFPiTiDgeAY0OfPL9TFD6z20=; b=cyhMpCuNS6CZPtIHrXY+B7GQEuyo73CRXCgppXOZkGv53V0LbIPEuKjFHjz+ZgBBe79rktv82 7o4L1mpgke0DoGvU9FyMdZkq87oQp/FS13XBJwWkEgWimCwkxhatcvS 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-20241025_042518_725050_FB13A018 X-CRM114-Status: UNSURE ( 9.58 ) 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-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index d25a17e697256f8d868e24bea47d21accd1184ed..b5ba5ffc36d687a6fdbc625e6d95c37a8a2e2b93 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -230,6 +230,12 @@ properties: - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) - const: samsung,exynos8895 + - description: Exynos9810 based boards + items: + - enum: + - samsung,starlte # Samsung Galaxy S9 (SM-G960F) + - const: samsung,exynos9810 + - description: Exynos990 based boards items: - enum: From patchwork Fri Oct 25 11:24:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850573 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 7D130D0C601 for ; Fri, 25 Oct 2024 11:49:35 +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=fvC6tvQpNPhsh9+31TY8jiPxbsRMSiM5T6Ner8SFI7g=; b=NCZXylzk71erA6wMS1nxHFN5Ik qV9QXuQ71pz75VpI/++bJpe8feckdn8FF7TEO1386MhtZfdV6420FrglKKdLjNWtuti9zynZPLouo Xg1aWG/L5Quf5K0j5fr8b9f7rOg50NMyjr9MCmg6I0ZSGh8Q7X77LRntufDjuIKYuZBfQYGyF1CKB ciO7nDQQiOcsi9YtTS8K+uc9d30ZS1iFKHW2/rBkrjMo4WAkUFQ/qEC5R3/5ZuT2GrRUCybj2gCUi /rTDHPJqtMmk5zshiClvWx7atpH40sKmqMeVSXlkgg1qDjy61vkEnfsRSUNyIwOV9atrvrLnpJNtF qdDGN6vA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Ioo-00000003YwS-083b; Fri, 25 Oct 2024 11:49:26 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRT-00000003Uze-26X4 for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:20 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-539e8607c2aso2244285e87.3 for ; Fri, 25 Oct 2024 04:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855518; x=1730460318; 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=fvC6tvQpNPhsh9+31TY8jiPxbsRMSiM5T6Ner8SFI7g=; b=VzxVVN0AJBHxfS32XRUbwiie2TsGnEnjMp1lX2lfO9SgKJC2xggTbNzs2ZVrgAs+ei YoXcIVF0gPDk9MT2SAjFfSn5yfFN60sXF9PyPOONKrFzh/mI3GPkkreuuzbXGCLIOmWv EkBpCMEztmMIvQy1F5eeTXZjZa/GKqRlOlYhQehgFruVhlMgK1xvqPLY27UkFOEkLv14 nXq8dIBL97aQXogUdCpQzC0Eissq7vPm8jyXNjY0KBlXrMJ3aYSJpZxNmctrbkUh09oQ QGIe8Ui4cwqMNWOeULDJaI0QFIuXR66ttQCcT+it5kC/5AS4Zs8TfW1icmsG7BqHN4pD EFbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855518; x=1730460318; 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=fvC6tvQpNPhsh9+31TY8jiPxbsRMSiM5T6Ner8SFI7g=; b=pfIzi3cewkC14nlv6ebVmjMdzelxD1tp1VUHmDp86Dk605EPQtCS9AE+qyr0BH33E7 XXp8L6SlE2pVIXDmJaRJM/gfP7b4HokEgygNP3CFbYWK968JjeQuSPJzxJw5y2TLo1WC NIxYT08jp5HCYpC7z6pGlp/zj3X2PKbL3buj4vMHv9Jyrduv8mpUWi4/o8QRS6/msThb m4DbNBb0pa6rhKudnen0fCJEbg0Apgda0MTx/XnpVKqjv4bxgP4TXtn/8CwZk6KObe2w /CRuy8xyRufXNw0Kecyn83FdXc47Dj6RqztOAuWW3PMA55ZZPMyE5+ilnZI/77+jMjZw YitA== X-Forwarded-Encrypted: i=1; AJvYcCXk46jx3t110wS25cmowpe+pkSY/r2Xj6yg28z1IwlPS/sdcvWwZa4lcD1Rrr2XE49/i8aKrl4TwmF5252R6LsX@lists.infradead.org X-Gm-Message-State: AOJu0YzKR6IqEW84b/SLKtAMWPi2trwGh1iqQT143TwJGwHUi5CX0frf BCfyz2PmxV609DIM7IlfzxdRQuNEcxJ8SXwpIZ1kuHacWelx8a34HCX8cA== X-Google-Smtp-Source: AGHT+IEONmK3EqNWp4ION2KugVO6B1hwdllH6wTUgZsutfMNSrjvSI/avK47fOi+sOs5xNNmozjsLg== X-Received: by 2002:a05:6512:b0d:b0:539:e6bf:ca9a with SMTP id 2adb3069b0e04-53b23ddee9amr3249227e87.6.1729855517710; Fri, 25 Oct 2024 04:25:17 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:17 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:54 +0300 Subject: [PATCH v2 07/12] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-7-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=909; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=gIFcDF3Nn6a13khPJ7KdJaPJmVQk2lFc9U58rW96C90=; b=Xzf7ozUZ1q/1szWYfZVgSzhsL4JnYbG8DEq99qnIfLpVmOvmJOCvyh0nKtj1bvGBmRExXcn9E YF7V9B58yKTATw5eyOEgWrsP9PyqRpzj2XLIpfup9Co1vU0qKMFygZp 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-20241025_042519_580881_62F43C88 X-CRM114-Status: GOOD ( 10.29 ) 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-developed-by: Maksym Holovach Signed-off-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 Fri Oct 25 11:24:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850574 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 898E4D0C600 for ; Fri, 25 Oct 2024 11:51:13 +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=FPEW+StB9yri6/7vzc+p+9fT8+1vMg/ckd/Nh55RyuM=; b=1bFdBJbUyRkZRx2C0V+q7Xlv5k ETXlndTBxc4BKA5V4k9yh7AC1eITfLpxz89WCFbyawPzmHs6ypIjzFbgbEnrDXekSt+bs1x5C6B9P HxH6mfSTGbtG1OFxBjeIAusxU6MjxG13DdIF2rv1O7knwqePl5ZpSi9t+gU67VBXpT5kh+4D4f4fI 9/6dS3j+SvOky90J1fA//FeQW2Tpi5rqEb/DLtrSJvWOs635x48OEpmwtJ61/+E8QgR6CK6sS74Oo bFkzMs56ZXY2iOLrtlu3sRrPDyGl3LeBbDdwfP+GRxg6JijhlBZdDTCWn0G6purqdnMmG+/3qnHXU /v8yAofg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4IqL-00000003ZKy-3qph; Fri, 25 Oct 2024 11:51:01 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRU-00000003V0D-2ivR for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:22 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-539f6e1f756so2287568e87.0 for ; Fri, 25 Oct 2024 04:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855519; x=1730460319; 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=FPEW+StB9yri6/7vzc+p+9fT8+1vMg/ckd/Nh55RyuM=; b=lEXK1KTMXZh05+Hkmiq4qRAVkTDBhbnQXp9t4fL6R4KjTdDce30VIrBayP1cfB+ZP2 VA4oH7KxCOgNg4RUmRh/YI/amndV2E1V+ATFZxGEbW/zAaVwr6fML0LdbDFzIfyA/Dku Wu1Y6Iw44mwSR58Z/fLGx3qrpnzXCI/0GRRZrIZf94lj5punsVD3RKEofvaHPZNWdQpO ZR8SKf1l9Q+2uczlBhq3xxdADB7d/nZXOfx1QUwmDCkmpY6gy+BaTlruq9F4EJIBgVY2 IZS+rrkFUE2twJx0Jbn7x1OEzcIwHccD+QnDY/lxSvVyLESUQtquglNj0ea6PG2kEjOA xXlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855519; x=1730460319; 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=FPEW+StB9yri6/7vzc+p+9fT8+1vMg/ckd/Nh55RyuM=; b=cx49qQ/hiYgnpFHVRGUO47/6c0fd8jNB32o5G9c9kQLq0RGhoEKhGbhu/mkNPZ6nzc cF8yGTl/vuizma3TYAvlUB0UHF1F/CYZQX3qg/eOYmQzKxYOdi+h/11sJLOcGQHqjtou k8fqxYFsl/w0qjYF+qbh7mjKaJmDhR5kehguLqNp/G9uWJ+qVuYZhwoMjV2v6lEIw542 Z3OeNv5POoflkDrXZNNnX7gGAPQgKpUBldtYyUHQNkV7QQmVK8N38QVmgdjeCVvXH2A3 kp54URWzyTsTV2MA3yjNbiVf8m7D7ZTJdOxXD9RyQYAgPsIYWoU9/L+Xc8I2oLRc5qU9 j/nQ== X-Forwarded-Encrypted: i=1; AJvYcCV8NBIcj1BU+1HqSKhH2qcqxZSvPYaJNEOdVEm1Rxa/6Wb/kvi5SzD/j6BXiJy8Fvi/lnYzYZZT/irk3lRqMcOt@lists.infradead.org X-Gm-Message-State: AOJu0YwDYSdnwzVkPN8iOmw94SITaQ+LXN/Bpak643WdmAfxw2w7ro9v Zqs8BlCkDMD7lOAo6BoACxsBoYhejpR3l8lMp4GOzu5/vw8ga6wQ X-Google-Smtp-Source: AGHT+IGt1fCquMZ3NNZLwaagu9KRz7cZdz/Me6B7Rco1p8I/pwkT0SJo6jB3OOzEWB3h7ucjl3WGGg== X-Received: by 2002:a05:6512:3991:b0:539:e454:942e with SMTP id 2adb3069b0e04-53b23de9aa0mr3452803e87.16.1729855518903; Fri, 25 Oct 2024 04:25:18 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:18 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:55 +0300 Subject: [PATCH v2 08/12] perf: arm_pmuv3: Add support for Samsung Mongoose PMU MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-8-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=1401; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=kyHAPTKZB5mT8XCJ0jyUMcgti7f6+k1RLiIUUCWE+Oc=; b=e18R1gAgBqNCItvEqiHWKV4mMiyFfaoPBdnl6l/utulFdQNuLswqV9JWRXelc4wgJJy11VQSs f8bgmqNff5wCYbqLk4IMUwUWHV5LEY26+RM8aVSOfPfuRr4WzerOxji 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-20241025_042520_733363_2992669C X-CRM114-Status: GOOD ( 11.90 ) 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-developed-by: Maksym Holovach Signed-off-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 Fri Oct 25 11:24:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850575 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 2DBC1D0C601 for ; Fri, 25 Oct 2024 11:52:47 +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=lfmk75Hhz2Xw4yga2iQQdoogsTTdr+c9FXbno8sZsXA=; b=Bc4KfQKv+2IeSilq2O+XNIC5jy MYp03CoewZdzUXQrUymGwLXwaefazp56WN2BK6iJN0N7y/6OuJ4gOqPXVCYfldyMbixtyUUzQAx5D oIND9HI8blw0NeLBn9d5YO4y9EYNoQnbqdyYEk1F9EWNUmmE057UzfJtR2ZnUCyVhDss1QUYP6Y/0 fGcmjyFwMWP0GmkYwA45EjY5VjR/vq225bCAnKjN6q7TCdeXXcygKde73JC+RmMEGkcc5Bj7CjiD5 MyIQBOm6RXhOlB3ZvkNa556o+BGuV3oPKdAYyJSP4r3e38C7G3EII6VgHeEMTiY6UTY/Hb2VUy4c6 fe15n+Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Irt-00000003ZVy-0aYq; Fri, 25 Oct 2024 11:52:37 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRX-00000003V18-0xfQ for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:25 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539fbe22ac0so2264786e87.2 for ; Fri, 25 Oct 2024 04:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855521; x=1730460321; 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=lfmk75Hhz2Xw4yga2iQQdoogsTTdr+c9FXbno8sZsXA=; b=W7oLSiHhhnrVzkp1tC1yMq13ryze8EsRaQSyNgutGDK3qw990yeKA84Kmh2h1MZsBy GUAfQeGXoRa9w8FyBHm1iSotGzfPii108gwRSY27LkEuR5SfM7mTG918zqr+Zi91QG01 Su0G1XutRtq+LNZVAuVG+p5xLTGg1xiVoyyjxkCNkHFDaSacvVt9R3FV1TY/esnEcAj/ dU3IBMpzzDl/bXs0hTea8mAm4RwrdP5uDi0XwZmCwjye4vjVW6swdGl4UghCGai6SvI+ gqklq7lNsZn1LjhWsREg/aMYp4GNvGRQ5l/jtHLrrRj3SWIQ7W5crDttx0TWBkmbF1jw NxUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855521; x=1730460321; 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=lfmk75Hhz2Xw4yga2iQQdoogsTTdr+c9FXbno8sZsXA=; b=Vcy0SIATUwkysz4jFzkoiJC/H1QGiHscHB0whqvZ58J1ZRbNFTMMPiVd6bMNidzUsP +hcADa8beBj5jlmisBsUzQl0a+ke6gmiI2yhJDRAHyJ2AKe7lQtIFAGvLIW76OeMt2U5 XnH9lbgwmmLGo80T1s1VGHodkzpUjcJ3FSYn4QncrpH37FxOcby/9D4SsLlEzi8uUkSl YzV0f6xncp+XTco/eiqeEELO8zobOHvwm9ELQ3SYVEULOcHqzlDU24cy9TWnRWknkRL9 kpZSuRaA8D0shyzKorCgGRjmnAgnaT9UrDhjKz7RCElpgU+H3ZwCe4UF8WWioILts3jv T+vA== X-Forwarded-Encrypted: i=1; AJvYcCW9/Drgkh7wsVutrZqQYAWmqdOd2Kjmx0zrxvwoISjmhIi/QqVUh1/XhzLEnb2IhvephjEC0L6MGB8cLaZ9sgRV@lists.infradead.org X-Gm-Message-State: AOJu0YztuC2KReaVaT9u2o4p+Hkm+ztrycRWbw9OQonQoVdRJ8txZQkD 2xclTEcc+6aBvHUqOV+Mr9E1nqe7vUuga2ceyuRB562dQXdQWwDL X-Google-Smtp-Source: AGHT+IEKuF2qGblcDX0DaNtthJikseGLtcL4BLcwgFrdAEncZrgjqZqtz3jqOjY0n7fo4E5XUjsoCw== X-Received: by 2002:a05:6512:1392:b0:539:fcba:cc65 with SMTP id 2adb3069b0e04-53b23dead9bmr3447856e87.17.1729855520458; Fri, 25 Oct 2024 04:25:20 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:19 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:56 +0300 Subject: [PATCH v2 09/12] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-9-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=940; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=QjtBasZbvA/8f0B/+aABkLP1VAZE3+DKqz2/AET0FRk=; b=ncmttaClZaIRfTZtg4vfNFS4I8cwBDlN9bWFjIpjluY4rymx8V7ECfUz67WUr9/Wk7q4dA/Hl wDMrvBxTz+WDmuoHj1pcX0qkbNTmPwPpgwDYR9cAQIavC8rvf6+2B4l 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-20241025_042523_351788_21DBAF2A X-CRM114-Status: GOOD ( 11.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Exynos 9810 has the product ID of "0xE9810000". Add this ID to the IDs together with the name of the SoC. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 94c7cc0d11e4c6f151336dc6e25495a31cbec02d..23cc20896b85a2da02f36703225a4f62e7538a62 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -59,6 +59,7 @@ static const struct exynos_soc_id { { "EXYNOS7885", 0xE7885000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOS8895", 0xE8895000 }, + { "EXYNOS9810", 0xE9810000 }, { "EXYNOS990", 0xE9830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, From patchwork Fri Oct 25 11:24:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850576 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 81446D0C601 for ; Fri, 25 Oct 2024 11:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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=zn+7F6oggE1lig6kPZvEQNZOusLBwpTaI0hE7CNqEqE=; b=C8lXn6LzE3EBxmFzoVJESLr5Om 588yiZ+fhdGO6pJRiNOkgH/zNFrah62lLTjc/HstLUdXZI27CGNbnMZtnLcb2lg2S4qXEPGRJOZ9J kD4vM1rGnVYk2p8NJzJzQR8c14YidligHFQY+lRImqk/MM5kXcKRf1FPkwV851ctwHNtMeHzQMQ50 u4xB9VLjL3bZS810xtXykw5HimwJC8Uu77couS0UdDcgFwfcnP8pdDped0cnSwAdrcBemUaMQ1LwZ bNCor6Gmj1NlxfAqS9E6qGTVp59BKZOYkqhMcII+X9bX3hz4zzCSCM7NuJ33HOCatV/orXYrZ3ie3 z1lhXMig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4ItQ-00000003Zl7-28hY; Fri, 25 Oct 2024 11:54:12 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRX-00000003V1J-2t3o for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:26 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-539f72c913aso2513292e87.1 for ; Fri, 25 Oct 2024 04:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855522; x=1730460322; 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=zn+7F6oggE1lig6kPZvEQNZOusLBwpTaI0hE7CNqEqE=; b=PhXpmpukfEyWtoIQJ1Mipa1UQyP7uub7jLyLxsJ9Yj4VuP38xlpmczUUCYq6x8Gtr+ XrI6KAXxF0ImxuAGUvE5umsGgxGOTVWek9n6ucMoTTfvqfLEMMxypxCToRhh0zdnPRju DyLOdBdM2FFTWxckt1vld2KT0j4Urg0veD3wbMUUERkFNuTcBP0mgwgojDNbBMrvC5Hy 9Yk8+CsrZTjleexeBA1Nfnt6d1VmNSMAilHHKVbmgdJRIfH3BdjSofprBQSS9YQzutTF tsJrD8LrQLgzDcFr5PPUkwgKx9Fqzj5RK5Ph5Mu/OUUhgagjWqPW7fhVaol2JUBOu/rg +6lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855522; x=1730460322; 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=zn+7F6oggE1lig6kPZvEQNZOusLBwpTaI0hE7CNqEqE=; b=lHTHb4tzE4t/tius3WCuVf9nd7/k6lUNVFAZB2N5kD2cwDQG+sTNxrrMKY0xRwjTye rKlmUKWhdnNLpivD/qCXZd5i2A29I03GEMfyZHgSbOuHjkc1kRT6XZrvQp3hIxBGt3wH Ni8Pw4grKQrzOJpyISiGdO/aV+klnF3QY2tDPqPxgip7RhxvOWiyhT6yLRUQTLXSUSLZ org8h1svb9HOGLec17Qx3y0xbNNcCLmifBL5BVY1wOEMkOJsI2xETx1vJ8htLtnPIYif UNp2nuYhrIOEUaBu0SQQx/4UzPXfquMw67z8ZpesbGyM09EtRNVuFdxk5cMLKtXWBC6o hfeg== X-Forwarded-Encrypted: i=1; AJvYcCUMN3Qu+l1c6gt6kig4TICyGRyCe/iJH3VeNOT38ZfORKkQOmQm+ofdNSR+iykJXGNJqEZ7/olqU1HFOT2IA3n7@lists.infradead.org X-Gm-Message-State: AOJu0YxteyNRSPP4uUpMv0aYiAWEAi2F8sa8DBNfvqywFlRMIdKS9EsD PPaQozk7vk/GuHtVy9to8Q03NMMawH7ET+WyQOPqYxjq/zsUCdnh X-Google-Smtp-Source: AGHT+IEski2on4iXFKI6mEIlLUoETq9Zlf7UC7YIlQafJhak+qWdwEBP7Z9LGZOPtwt8GZx9CbaPQA== X-Received: by 2002:a05:6512:130e:b0:539:949a:a793 with SMTP id 2adb3069b0e04-53b23e254d8mr3983180e87.36.1729855521841; Fri, 25 Oct 2024 04:25:21 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:21 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:57 +0300 Subject: [PATCH v2 10/12] pinctrl: samsung: Add Exynos9810 SoC specific data MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-10-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=9501; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=zCK6xRgCZy+aKLIxLIRPz3zizHsPoXeVWBzInpPZLhg=; b=MB/JUSXZ0nO699uTxQYOiHGh8dMGUv1etUbsrO9qmWZmVT9zg47XSRO8lWIjd6JBbjyrHKr0i p9gfkq8PRDjA0O663uOYlaabWjTBHc/yMkU0bWqAdbRGeA+yBWtoUw4 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-20241025_042523_926494_DB2D0FBD X-CRM114-Status: GOOD ( 13.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Samsung Exynos9810 SoC specific data to enable pinctrl support for platforms based on Exynos9810. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 154 +++++++++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 3 files changed, 157 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index f07c26d374425505019447161150929f7677f91d..3ea7106ce5eae3c21f11790b5a40037042c1d407 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -767,6 +767,160 @@ const struct samsung_pinctrl_of_match_data exynos990_of_data __initconst = { .num_ctrl = ARRAY_SIZE(exynos990_pin_ctrl), }; +/* pin banks of exynos9810 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks0[] __initconst = { + EXYNOS850_PIN_BANK_EINTN(6, 0x000, "etc1"), + EXYNOS850_PIN_BANK_EINTW(8, 0x020, "gpa0", 0x00), + EXYNOS850_PIN_BANK_EINTW(8, 0x040, "gpa1", 0x04), + EXYNOS850_PIN_BANK_EINTW(8, 0x060, "gpa2", 0x08), + EXYNOS850_PIN_BANK_EINTW(8, 0x080, "gpa3", 0x0c), + EXYNOS850_PIN_BANK_EINTN(6, 0x0A0, "gpq0"), + EXYNOS850_PIN_BANK_EINTW(2, 0x0C0, "gpa4", 0x10), +}; + +/* pin banks of exynos9810 pin-controller 1 (AUD) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks1[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(5, 0x000, "gpb0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpb1", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpb2", 0x08), +}; + +/* pin banks of exynos9810 pin-controller 2 (CHUB) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks2[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gph0", 0x00), + EXYNOS850_PIN_BANK_EINTG(5, 0x020, "gph1", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 3 (CMGP) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks3[] __initconst = { + EXYNOS850_PIN_BANK_EINTW(1, 0x000, "gpm0", 0x00), + EXYNOS850_PIN_BANK_EINTW(1, 0x020, "gpm1", 0x04), + EXYNOS850_PIN_BANK_EINTW(1, 0x040, "gpm2", 0x08), + EXYNOS850_PIN_BANK_EINTW(1, 0x060, "gpm3", 0x0C), + EXYNOS850_PIN_BANK_EINTW(1, 0x080, "gpm4", 0x10), + EXYNOS850_PIN_BANK_EINTW(1, 0x0A0, "gpm5", 0x14), + EXYNOS850_PIN_BANK_EINTW(1, 0x0C0, "gpm6", 0x18), + EXYNOS850_PIN_BANK_EINTW(1, 0x0E0, "gpm7", 0x1C), + EXYNOS850_PIN_BANK_EINTW(1, 0x100, "gpm10", 0x20), + EXYNOS850_PIN_BANK_EINTW(1, 0x120, "gpm11", 0x24), + EXYNOS850_PIN_BANK_EINTW(1, 0x140, "gpm12", 0x28), + EXYNOS850_PIN_BANK_EINTW(1, 0x160, "gpm13", 0x2C), + EXYNOS850_PIN_BANK_EINTW(1, 0x180, "gpm14", 0x30), + EXYNOS850_PIN_BANK_EINTW(1, 0x1A0, "gpm15", 0x34), + EXYNOS850_PIN_BANK_EINTW(1, 0x1C0, "gpm16", 0x38), + EXYNOS850_PIN_BANK_EINTW(1, 0x1E0, "gpm17", 0x3C), + EXYNOS850_PIN_BANK_EINTW(1, 0x200, "gpm40", 0x40), + EXYNOS850_PIN_BANK_EINTW(1, 0x220, "gpm41", 0x44), + EXYNOS850_PIN_BANK_EINTW(1, 0x240, "gpm42", 0x48), + EXYNOS850_PIN_BANK_EINTW(1, 0x260, "gpm43", 0x4C), +}; + +/* pin banks of exynos9810 pin-controller 4 (FSYS0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks4[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(2, 0x000, "gpf0", 0x00), +}; + +/* pin banks of exynos9810 pin-controller 5 (FSYS1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks5[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(7, 0x000, "gpf1", 0x00), + EXYNOS850_PIN_BANK_EINTG(6, 0x020, "gpf2", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks6[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp1", 0x04), + EXYNOS850_PIN_BANK_EINTG(8, 0x040, "gpp2", 0x08), + EXYNOS850_PIN_BANK_EINTG(4, 0x060, "gpp3", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpg0", 0x10), + EXYNOS850_PIN_BANK_EINTG(8, 0x0A0, "gpg1", 0x14), + EXYNOS850_PIN_BANK_EINTG(8, 0x0C0, "gpg2", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks7[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp4", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp5", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpp6", 0x08), + EXYNOS850_PIN_BANK_EINTG(8, 0x060, "gpc0", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpc1", 0x10), + EXYNOS850_PIN_BANK_EINTG(4, 0x0A0, "gpd0", 0x14), + EXYNOS850_PIN_BANK_EINTG(7, 0x0C0, "gpg3", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 8 (VTS) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks8[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(3, 0x000, "gpt0", 0x00), +}; + +static const struct samsung_pin_ctrl exynos9810_pin_ctrl[] __initconst = { + { + /* pin-controller instance 0 ALIVE data */ + .pin_banks = exynos9810_pin_banks0, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks0), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 1 AUD data */ + .pin_banks = exynos9810_pin_banks1, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks1), + }, { + /* pin-controller instance 2 CHUB data */ + .pin_banks = exynos9810_pin_banks2, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 3 CMGP data */ + .pin_banks = exynos9810_pin_banks3, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks3), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 4 FSYS0 data */ + .pin_banks = exynos9810_pin_banks4, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 5 FSYS1 data */ + .pin_banks = exynos9810_pin_banks5, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos9810_pin_banks6, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos9810_pin_banks7, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 8 VTS data */ + .pin_banks = exynos9810_pin_banks8, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks8), + }, +}; + +const struct samsung_pinctrl_of_match_data exynos9810_of_data __initconst = { + .ctrl = exynos9810_pin_ctrl, + .num_ctrl = ARRAY_SIZE(exynos9810_pin_ctrl), +}; + /* pin banks of exynosautov9 pin-controller 0 (ALIVE) */ static const struct samsung_pin_bank_data exynosautov9_pin_banks0[] __initconst = { EXYNOS850_PIN_BANK_EINTW(8, 0x000, "gpa0", 0x00), diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 42e40860841bcc94e3c11bf313df792da10ab00b..bbedd980ec67234aad847b757f40af5002b11ebb 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1479,6 +1479,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos850_of_data }, { .compatible = "samsung,exynos8895-pinctrl", .data = &exynos8895_of_data }, + { .compatible = "samsung,exynos9810-pinctrl", + .data = &exynos9810_of_data }, { .compatible = "samsung,exynos990-pinctrl", .data = &exynos990_of_data }, { .compatible = "samsung,exynosautov9-pinctrl", diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h index 615048f945243d4173d40142f1e62c8aeefe5b7e..bb0689d52ea0b4392714fa9bcdcbae8d253c73a1 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.h +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h @@ -385,6 +385,7 @@ extern const struct samsung_pinctrl_of_match_data exynos7_of_data; extern const struct samsung_pinctrl_of_match_data exynos7885_of_data; extern const struct samsung_pinctrl_of_match_data exynos850_of_data; extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; +extern const struct samsung_pinctrl_of_match_data exynos9810_of_data; extern const struct samsung_pinctrl_of_match_data exynos990_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data; From patchwork Fri Oct 25 11:24:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850577 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 5AA8DD0C602 for ; Fri, 25 Oct 2024 11:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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=fh/8R53j9w3PczEmk89P1tpxsKJ6otoHiEUf732FbhQ=; b=KzWYvjVPEhYeEk/UYqnYl83WCh blHkACL7q2QoAug+uI3AxvcNHtDNmEL6dsEMaXipfQz6/8d8ME2GdsXP6pif9mBv0ArDW8OtMo1xl q6N65EL2Cr0eywe/XTEEbUDEuDi5b6XjcK0EHAxZcBKjPW6rqOe5hZ4w6chDy6+JuXOpBG4uC8Zxa Krlz70C/roUjIKw97HrhXSOT4n14qSuO02/wz6Tt9mPdvOGgAiaGIc9eSlFItXGzSvNzCSQ803mGb b53gb+ZddqSSsV0hSfN4/XtAqWy0EijhzZGY0cYS9j6ZPw9qt8zNxSwZaFiPxY/Scz/dCYCFL2Wm+ YiqSGVAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4Iux-00000003a0X-3EJu; Fri, 25 Oct 2024 11:55:47 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRY-00000003V2U-4BOF for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:27 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-539ebb5a20aso2002539e87.2 for ; Fri, 25 Oct 2024 04:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855523; x=1730460323; 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=fh/8R53j9w3PczEmk89P1tpxsKJ6otoHiEUf732FbhQ=; b=At5phtpEdXgboMTYg07pKvQJaXUJXo4E7jiF4STHpdNz3UrxcXrhT/FmfLL3jaQTAC Rya7bYSMQpKB94KY2q2YB6EMtpzblqoiMRDyShuM6u7L9gGFIcikN4HwgCRI4IwbGGEl ARIQIFu0RIHahhH83wiacB8wNjZt3THxb3S40cslzRm9ZgjhXk/g/BVYmEs4UZACjVVt q/YKcWmz+5QB/ZgNbHd1sTpJasTV/BerFTLm7EY8KwPF9kPipXOR+8y8hYuUoXBRyHXY rFMWY5TglZZG6I19Em8ZDR+XdCJkjNuBLN1BGvfmCOnavEv4aYm/SDs8Ya0Hbtt29V98 s9Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855523; x=1730460323; 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=fh/8R53j9w3PczEmk89P1tpxsKJ6otoHiEUf732FbhQ=; b=irt7MCFBBOTbxebrD00ybncLxpt6sq0SiN45VyCNAH+qrwXzP7pY3buhQLFLRXucaG vPanHT76EIUQqjhOlVgEHhUI9EOPFuVoGUlcrwBMbr1G6coSjbTxH+scICHngRHyHh3V F4dviwiy/2kLBGhxRoYG+AZ8zkhNZyF7YwmtPvmq0tzffbU7X3igzBELkDqKDdl/QYCi oSQMCGmQHQ+6L1G6B44cAssD1znvEgutThwaPWkT/WFXkpmaXtFTUg9vA7CEtDxFs5HY v+8awEdsYfN3bp4udLdSZJFBgo5i9qDoBs2w/pXRWCyJJ8gOA8ULQcFjsVlVYx7RFzKX kHRA== X-Forwarded-Encrypted: i=1; AJvYcCVNGVxJyBEkM60YAy27QVvJIbqnY4dRrxP+7uFSg0H1SAaimZ1tOCLI6Xs53Vz0hO7bCQhP7zxL6er0ETeTtVUb@lists.infradead.org X-Gm-Message-State: AOJu0YxU7eEteRZzB9x2aV7DpJMRoeY6U5c+f6nizsRp8fxi9yju6+kA eQKce9iheR+ZxazECBO07k1d7Lp6EQPJ9SR4PZq9noYi4befjm7u X-Google-Smtp-Source: AGHT+IFYECrRpwIUz+eahsbKr5KvIxHwiWyK1oU12SnPGLNRc1Qqkn6KV01k6R129QJPT6/PDbniTg== X-Received: by 2002:a05:6512:3d27:b0:539:e1c6:2128 with SMTP id 2adb3069b0e04-53b1a36ab13mr5442979e87.39.1729855523092; Fri, 25 Oct 2024 04:25:23 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:22 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:58 +0300 Subject: [PATCH v2 11/12] arm64: dts: exynos: Add Exynos9810 SoC support MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-11-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=18125; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=8jaXELqqI2uL/GuJBTZRyco5s9LQkHvdYgQ7ucsw0Rg=; b=Q0lyyr6dzxnfRSwvqOjMkz7Kv7kV3+Mm+KbYucHhf7zgp+ls9DdzAtjJABc2rDfIEXHog5L5o F+O/cv4mmm9DQyzKYlt2bG2ZT1n+NvKDxwF/Ba453Dm5BQwZz3cHC2I 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-20241025_042525_320999_F9CD0E7C X-CRM114-Status: GOOD ( 13.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Exynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others. Add minimal support for this SoC, including basic stuff like: - PSCI for bringing up secondary cores - ARMv8 generic timer - GPIO and pinctrl. The firmware coming with the devices based on this SoC is buggy and doesn't configure CNTFRQ_EL0, as required by spec, so it's needed to hardcode the frequency in the timer node. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 503 +++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos9810.dtsi | 273 +++++++++++ 2 files changed, 776 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..88091bf09e4e91b05801cafe956283984d564449 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi @@ -0,0 +1,503 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung's Exynos 9810 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include "exynos-pinctrl.h" + +&pinctrl_alive { + etc1: etc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa0: gpa0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa1: gpa1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa2: gpa2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa3: gpa3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa4: gpa4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpq0: gpq0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_aud { + gpb0: gpb0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb2: gpb2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_chub { + gph0: gph0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_cmgp { + gpm0: gpm0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm1: gpm1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm2: gpm2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm3: gpm3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm4: gpm4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm5: gpm5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm6: gpm6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm7: gpm7-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm10: gpm10-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm11: gpm11-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm12: gpm12-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm13: gpm13-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm14: gpm14-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm15: gpm15-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm16: gpm16-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm17: gpm17-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm40: gpm40-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm41: gpm41-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm42: gpm42-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm43: gpm43-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; +}; + +&pinctrl_fsys0 { + gpf0: gpf0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys1 { + gpf1: gpf1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf2: gpf2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric0 { + gpg0: gpg0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp0: gpp0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp1: gpp1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp2: gpp2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp3: gpp3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric1 { + gpc0: gpc0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd0: gpd0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg3: gpg3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp4: gpp4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp5: gpp5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp6: gpp6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gpt0: gpt0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/exynos9810.dtsi b/arch/arm64/boot/dts/exynos/exynos9810.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..a65c3dea4e3384faee9434799354d9485a60cea6 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810.dtsi @@ -0,0 +1,273 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Exynos 9810 SoC device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include + +/ { + compatible = "samsung,exynos9810"; + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + aliases { + pinctrl0 = &pinctrl_alive; + pinctrl1 = &pinctrl_aud; + pinctrl2 = &pinctrl_chub; + pinctrl3 = &pinctrl_cmgp; + pinctrl4 = &pinctrl_fsys0; + pinctrl5 = &pinctrl_fsys1; + pinctrl6 = &pinctrl_peric0; + pinctrl7 = &pinctrl_peric1; + pinctrl8 = &pinctrl_vts; + }; + + arm-a55-pmu { + compatible = "arm,cortex-a55-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; + }; + + mongoose-m3-pmu { + compatible = "samsung,mongoose-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x3>; + enable-method = "psci"; + }; + + cpu4: cpu@100 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu5: cpu@101 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x101>; + enable-method = "psci"; + }; + + cpu6: cpu@102 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x102>; + enable-method = "psci"; + }; + + cpu7: cpu@103 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x103>; + enable-method = "psci"; + }; + }; + + oscclk: osc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "oscclk"; + }; + + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_off = <0x84000002>; + cpu_on = <0xc4000003>; + cpu_suspend = <0xc4000001>; + }; + + soc: soc@0 { + compatible = "simple-bus"; + ranges = <0x0 0x0 0x0 0x20000000>; + + #address-cells = <1>; + #size-cells = <1>; + + chipid@10000000 { + compatible = "samsung,exynos9810-chipid", + "samsung,exynos850-chipid"; + reg = <0x10000000 0x100>; + }; + + gic: interrupt-controller@10101000 { + compatible = "arm,gic-400"; + reg = <0x10101000 0x1000>, + <0x10102000 0x1000>, + <0x10104000 0x2000>, + <0x10106000 0x2000>; + #interrupt-cells = <3>; + interrupt-controller; + interrupts = ; + #address-cells = <0>; + #size-cells = <1>; + }; + + pinctrl_peric0: pinctrl@10430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10430000 0x1000>; + interrupts = ; + }; + + pinctrl_peric1: pinctrl@10830000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10830000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11050000 0x1000>; + interrupts = ; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11430000 0x1000>; + interrupts = ; + }; + + pinctrl_vts: pinctrl@13880000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13880000 0x1000>; + }; + + pinctrl_chub: pinctrl@13a80000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13a80000 0x1000>; + interrupts = ; + }; + + pinctrl_alive: pinctrl@14050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14050000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + }; + + pmu_system_controller: system-controller@14060000 { + compatible = "samsung,exynos9810-pmu", + "samsung,exynos7-pmu", "syscon"; + reg = <0x14060000 0x10000>; + }; + + pinctrl_cmgp: pinctrl@14220000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14220000 0x1000>; + + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + }; + + pinctrl_aud: pinctrl@17c60000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x17c60000 0x1000>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + /* Hypervisor Virtual Timer interrupt is not wired to GIC */ + interrupts = , + , + , + ; + /* + * Non-updatable, broken stock Samsung bootloader does not + * configure CNTFRQ_EL0 + */ + clock-frequency = <26000000>; + }; +}; + +#include "exynos9810-pinctrl.dtsi" +#include "arm/samsung/exynos-syscon-restart.dtsi" From patchwork Fri Oct 25 11:24:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13850582 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 2651BD0C601 for ; Fri, 25 Oct 2024 11:57:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id: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=5Z/1jStYsESXfoKOROnnVDWKuRtcvdh+cMjpbU/QPPU=; b=Xf1JF+Fp/JugnD+n8qcjoyv0rw 4JXQzTul8InvlEJvsHnEdkir/Kr0x/+KLxz53YDhNe8ZmjYOX6pR4LHuMKvvaSq/uZ7+kXw4sPzp8 B434y69trMH4UJQrPW2vWczgymUc4eBslean6ZvddBPKR9LHQ07fWIc/wEDO+tus85cmuq1RcujXu Ehpsupz8BT6FCMtwA2OxjBRT+JbdzgIGpa9B0dNVkbJC1JS0itBTXL7LS6wlQACDnUw5hM1nQ3TDf 7kYgi4XM6ZB9etBxiyNFVOh0fh064OKnHhzBZTQdvcttijp8hdPMvPDz3NNxQTc+ABdPOU7gB4A2m zj3sbV0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t4IwV-00000003aCt-3P6s; Fri, 25 Oct 2024 11:57:23 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t4IRa-00000003V2t-0sR0 for linux-arm-kernel@lists.infradead.org; Fri, 25 Oct 2024 11:25:28 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-539e5c15fd3so1845012e87.3 for ; Fri, 25 Oct 2024 04:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729855524; x=1730460324; 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=5Z/1jStYsESXfoKOROnnVDWKuRtcvdh+cMjpbU/QPPU=; b=DRZJyRSv4kX+Vx55DysdO0mPyYXJtFcUiUAKRxC1P1nL8lVcFRFV61aOs/okLetdEr RJIWBWoUtX1J9feI+sjNOZDIK5O0Zsjy/Fy4Y5b17P0xUTLhPfe90wQmkKi3BXxqWLtu p7et3J06U0ZFA9P6P1g/xZezpFRw1j3YmKZeQFm1UPZg0CGcU+8Kfwx6ltDppPF/F6yq cqSoRRLFRI4S2OugkyQpbGA48+KQLHcGTDV3OL1T3u9/9ycdfJVlSHhnyf9EanhJw88G ZWTizuXDErsL5P+mdAuUWy931S1ma56b8l+2znzus4NvS5Yt0BIzwd/ecoYb/A30/jdm BQYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729855524; x=1730460324; 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=5Z/1jStYsESXfoKOROnnVDWKuRtcvdh+cMjpbU/QPPU=; b=VLngnyhoWi6QWXQamXAMzG888i8rBe0UD0qkTNdBg4pS4fHRZ2GlQ6Yh5PaaV0axB5 frbvTPIpoxQXc3bKH9qQvtuQmJYZtUyY9stbjaHPoBwxK2ho6sTkJgkqQCQZU2mweiKz TAQMeP/PJ1hUQEaxfeZDQqe5TG0XbUKrWIn661Uwz+6Z4eR70ltqWCZHdUHnrUN8Ms7D erj2zhAP1CL2xXPeLyu05Ip9+fQ45nou3PrRRT2iM7B6WyTRjXQkwDRV+hp3RWQ5q5SF l3+ZjtGSDLd6rjxlYdyWz8l7z5QynTnbRFpLhoEANRoWZmTzMs6Qx4bBHdlN4VZEh7d7 +n5A== X-Forwarded-Encrypted: i=1; AJvYcCUyQyqXldVcKaRPD4JGQanje5Uzz7736POR0NXm3G31fv58W7ZPRBhC7R7hBDJ3tFJvB85L0XAD2JGhlxVxp+jp@lists.infradead.org X-Gm-Message-State: AOJu0YzVmAE6VqAwmPxZoQV+jECMowPf21wLDf3xEa7hHiT6GZoMB+3a 17JqjOpd7qdMgWyP4ZkskQMqXExR5tkJWT0DsALjaCct6Mvq02Jr X-Google-Smtp-Source: AGHT+IGLLmhFLkmXqCxF4aZP79OvNKrHgO7juBPhJzcOH1blmA3ViEU9duBqxp8WhVwXombe76gXuw== X-Received: by 2002:a05:6512:b8e:b0:530:c212:4a5a with SMTP id 2adb3069b0e04-53b23debc6bmr3355463e87.22.1729855524346; Fri, 25 Oct 2024 04:25:24 -0700 (PDT) Received: from [192.168.1.105] ([178.136.36.129]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1c90c0sm144028e87.189.2024.10.25.04.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:25:24 -0700 (PDT) From: Markuss Broks Date: Fri, 25 Oct 2024 14:24:59 +0300 Subject: [PATCH v2 12/12] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F) MIME-Version: 1.0 Message-Id: <20241025-exynos9810-v2-12-99ca3f316e21@gmail.com> References: <20241025-exynos9810-v2-0-99ca3f316e21@gmail.com> In-Reply-To: <20241025-exynos9810-v2-0-99ca3f316e21@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=1729855507; l=4454; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=s5ze8wIRUmpoQbq7xRWQ3Ftw43Pf29yleNflcPuixmI=; b=zquLveixYcDZM65pnmqteghKUpfXW7iKb56bo7wzynWSET/vQ7cgnlbQAKU5YeCDAjAoxWaW4 VONlaLYWwBvD4OC0JTOVHO2yutFnIaAcArpqiW1t/Q65zwXQuylnf1j 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-20241025_042526_388896_D6F5CC99 X-CRM114-Status: GOOD ( 15.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Samsung Galaxy S9 (SM-G960F), codenamed starlte, is a mobile phone released in 2017. It has 4GB of RAM, 64GB of UFS storage, Exynos9810 SoC and 1440x2960 Super AMOLED display. This initial device tree enables the framebuffer pre-initialised by bootloader and physical buttons of the device, with more support to come in the future. Co-developed-by: Maksym Holovach Signed-off-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos9810-starlte.dts | 120 ++++++++++++++++++++++ 2 files changed, 121 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..7e01118e591284267f155883c236ed811d5c629a --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts @@ -0,0 +1,120 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S9 (starlte/SM-G960F) device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +/dts-v1/; +#include "exynos9810.dtsi" +#include +#include + +/ { + model = "Samsung Galaxy S9 (SM-G960F)"; + compatible = "samsung,starlte", "samsung,exynos9810"; + chassis-type = "handset"; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + compatible = "simple-framebuffer"; + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + width = <1440>; + height = <2960>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_power &key_voldown &key_volup &key_wink>; + pinctrl-names = "default"; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + + /* In stock firmware used for assistant. Map it as a camera button for now */ + wink-key { + label = "Camera"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <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; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_power: key-power-pins { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown-pins { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_volup: key-volup-pins { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + + key_wink: key-wink-pins { + samsung,pins = "gpa0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};