From patchwork Wed Oct 23 22:36:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848053 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79B20145B10; Wed, 23 Oct 2024 22:37:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723034; cv=none; b=qumndNzBgkPLGiP8gdZ6m/1nD00mqrTBaIUVpt1XFS03UqP8f94b5CCjsLmIEuICgLv9gY87XOs3hGX4HMzPCHeEZGftKweCjkB5bBWfIC8//8lWs3efvoSP8XzPHr/+Hnm0WaswsFxce1teIBljmM+S5r6qWHN4kRToxObDjmE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723034; c=relaxed/simple; bh=cpG1Nx29J0gY4AO1qRA6fivGN9PyoSNxFoCRX2mvL9M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FMcK4YK2xLXvmQ9dVUwK4ZmbkxG+S/XvNBdvx8inVmUpd+z83SJLFDjRNmM/h5HRgde+6HkjhMgaVEmrfNlWhj/FWEm1X3CFeStG4+A8GYh4CsVcdu4vyqtCOlNOwYl7hkHqMrZA4W3liGuIOHUuVaZp2KH5QMYV6WzNoYabIbw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lhJtydNP; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lhJtydNP" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5c9634c9160so313109a12.2; Wed, 23 Oct 2024 15:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723031; x=1730327831; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bO/K5p2U79DXHc4kK88A/9gpCaRB2v4NPByU1GBG/GA=; b=lhJtydNPAoui0dGvdh3tiWl8huFpNyfNUhpJ65Sfwo3okLJni+0iSiRGVdl/43QCD0 NUazAdjRAYBYZLeWv3rnuqlb4/ZC2tSWNV8SJ3bSCOGyIx9+0V6Cg8tLk8l7W0hGctVd lU7B5ZMXH/LNddkNKNPkVzx1E2mM6CGG82zhgJeXYjvrRaLmt4yKI+Oio5e3fR2B7gyO jDtHYPnbUqfTc7yi2FjocSFV2OJPINH3qw0qNmom6A/y7rCgqa8qbG7ZFNcobEEK4q0l xZQ775M+p093xtrEylF0bZQbcJgEu8rLm5YrbnKDkgkAFHQAmazV8pCeILS/nJX05MiR 3YAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723031; x=1730327831; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bO/K5p2U79DXHc4kK88A/9gpCaRB2v4NPByU1GBG/GA=; b=MmfPXfVqJyHYxDXmueaNC4oi0bF4hYOMz5FtjlbWcPL6VH3itbJ2XGQJY0TOcEMszE Mhnczy710/h+KJoJ7yaGVLUyKOtcGXHXO5iF/Dak+wQyMiHLeS1bO4Hga3tR4o7O3Ia9 MSrsp7ZEqCvuhk/21xYQos3Mrzjoz2qlXxn12me+q+f/RuvAsQh4Thz+gZ+xqUQG+rz9 p1xv+Cm57B1w1F5xkid5cLW7Scd/ThOW/ugTPRwoZGUl3BCayfz8UkKjy++6OZM0TaZ/ tih9wi7IhGAr94AvPEFsHcGIHWP22FNF8bX/c8AFYKaoYOSex92VMaieNTGRwId5iwNg rBmg== X-Forwarded-Encrypted: i=1; AJvYcCWBwjDm4lwZqs0yE1iQVYnv10TzaWsSHNZXgd0hvdPnEf4uGJRwFkCRM3F9u0ZWFxzLKVHQT1icwrXc@vger.kernel.org, AJvYcCWv5pgiupK00HBJf5dUOK/Q/dPEqXcRC4PYl6w8kyWrZj9u36m1n98Xexp10fHKbXwbmF/nRByCy54P6IB+@vger.kernel.org, AJvYcCXIpPAVXafYdiq8bB1AsLH11SoVP8PVRYa5dg96wkTN2JfBKtgCVHg3Snbli9m0oTUEG1bifDUoRAJ8F1mahfkkie8=@vger.kernel.org X-Gm-Message-State: AOJu0YyDMTQfvNmej68tmA4/A53cELEQnu2lUinnrHm164KYUX9AdeTi A7S6ZqJb9oW5F4rEGWDmJbjBj5ydlh+11nddGi/CeIn5ehLHFtNu X-Google-Smtp-Source: AGHT+IHZ+CYrvvrmQ3EnjgCZuEiiFDsrR82CvffNC6GtUW3LFHdSI6lk1bq+RP4M7Wm7F7Ps69Xeow== X-Received: by 2002:a05:6402:1d54:b0:5c2:1910:8e9 with SMTP id 4fb4d7f45d1cf-5cb8b1d4805mr3609100a12.36.1729723030569; Wed, 23 Oct 2024 15:37:10 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:10 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:32 +0300 Subject: [PATCH 01/12] dt-bindings: arm: cpus: Add Samsung Mongoose M3 Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-1-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=802; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=cpG1Nx29J0gY4AO1qRA6fivGN9PyoSNxFoCRX2mvL9M=; b=m5ysXeGvP3WFcvSyvufc5GtOAnXmpcUQhaI+zq4ak1zxFK7mGCZlwPuAqgREGIBz9XATuLsvs YLA1xWVCU0yCGIxbYyFJDit4Mi82TVZOPXKQXwpSMMVtI24cnw4/+jI X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add the compatible for Samsung Mongoose M3 CPU core to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index c54d20dd9d7efcbbfe73e5a63fd2f61d1e010d29..2fa7d3513da839ddfb2844628b1249567226a025 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -207,6 +207,7 @@ properties: - qcom,oryon - qcom,scorpion - samsung,mongoose-m2 + - samsung,mongoose-m3 - samsung,mongoose-m5 enable-method: From patchwork Wed Oct 23 22:36:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848054 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 936D2200111; Wed, 23 Oct 2024 22:37:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723039; cv=none; b=FrPaHzCRPTrv1oLZhT/8RqMUhFC9kR8qszA/SCyd25DXND4Hl08CtaCoStpEzQnsmcXgJDkjSoE7ax2c/hFAy1N2tMRZlKosr5OAgq/YVQ4JvHxUZ+bDUuufC33I2ekiS3kEJV5dY0nbOZKk+qjFLQuNMexrcns/Fy6yAKMYeZ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723039; c=relaxed/simple; bh=eegFh3p7v2cDf+inlqxOGvk4hoeYKqgh34JbZw/w8nI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lsAbswyoELjXgkUyWoQ9V4r4FIgpxL1jKBDnxzGa/1bvFWjuaGap4EaC5vucMdUnQCrfCahHwU7Mi/JTsxsAKSOvv8X2aBWbdhsSwak/9D5UbrKGaHZiDOGAzVUxnbNp4Fby6yzIptUp87ayCmw6Sf3lmW4zgNiu7kTGdSxXm/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Nb0eBXMu; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nb0eBXMu" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5c40aea5c40so669307a12.0; Wed, 23 Oct 2024 15:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723036; x=1730327836; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QbIIsZZ9TdX0oWXf8pQROsVaLwB4+pSHbj6T28fJF/8=; b=Nb0eBXMu9THMZVJY04TbIJpg0ccQL3UIBJ2oUU4Bv0OIiA5En+q0F1xkBAmS24KzsO 28P4bGJUOLEtd4jsjy99tPQ5obbQ+sORF1OV7R1Ywv+jjBF3hiQOxZRE2tpDclk6F9YR C6Hi+q5KNuPylo/ZaWFtfbt6oiftp/kMLMdsLikjR5oNi3sc/AsbLpl2CbBFwyacsQSW MWbPUWLXqK9uNP8lLQWyzqPVIF1YGg2SKe97cYPrviRbR+XG+fr+S1Z1uNzWB/paviNP FKOUY3TCnuO6mYZOAiElmD95PFfIxAg/n9mKyOT4QJL3dTAeEGRwks6mHEY2nYa2x7LK DkXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723036; x=1730327836; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QbIIsZZ9TdX0oWXf8pQROsVaLwB4+pSHbj6T28fJF/8=; b=Y2afBLwNSKII7dwwHKjrtnP4WXhj7LXfkkhFF9kRLpQx4esn/ydBVvKfoY8bgr/nxe NRIypb83r21IFn4U9xwNvXPheBNVw+HBCslAU4URV60J4OKbLvZRC5Y6f+6DC7Eb9u1j yE9n+zjcEQXWObYbWashALXr+VFjux++5WUfU874CScJGOA0e/Pk+fqB80yKBBOWeMwm HqgHP8WLScSeRnhdcYa3WoSNazRUE8yo6PZuPWFGnFyIQCP1OIOK32GA49gJ/vmNdz/l 8G6+CQby6CaUs+VdTN9KYbwTAwADih//RaYS7hgs9mNV9OzYQCrwl5q66S3oKcdsMay/ +uyw== X-Forwarded-Encrypted: i=1; AJvYcCWOtIP3Hu8nej7qMk8TnK50nMyXYS3LCGPEHM4y5YyitOBXgu3adEuyAJ31fu2O2SGCVGG0KwPEFlvQXvWUzCJdeUQ=@vger.kernel.org, AJvYcCWVWTCsPHFvRv1DycIplsWmqTwGym9erNGCVKf1gyAXJenSrkdVq4bKlNNYmX88jM+VbBIVPfXXNVuxWaW8@vger.kernel.org, AJvYcCXgaSjJBZRjGe0CfRfpaHc4wrTL4pE6atPXW+xnbnhiL315bd8VL0nEGRbU4RnW1EzJPHy1LApnLvqc@vger.kernel.org X-Gm-Message-State: AOJu0YxhuYbAjBaFDtZmeNFaNjUCurBl+ukPQS4v7CWcdUqCVc+p65FD SOmqc2X3OHfgqScukvkkuR7OlOyhszzlPBwYuT0a4hKOovo0r1ls X-Google-Smtp-Source: AGHT+IE4iE8RupOHGaicMpOPwSO0o90dUKkcJw+YgGb1yq5Z1RRoBU8m3VeF2FnJvx5BDI6kySbmzw== X-Received: by 2002:a05:6402:378e:b0:5cb:83c0:dd69 with SMTP id 4fb4d7f45d1cf-5cba204f9a1mr25409a12.12.1729723035695; Wed, 23 Oct 2024 15:37:15 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:15 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:33 +0300 Subject: [PATCH 02/12] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-2-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=1025; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=eegFh3p7v2cDf+inlqxOGvk4hoeYKqgh34JbZw/w8nI=; b=xZPPKOrxbtOyuJz/f7kwAfQvm5ahcxHo46m8pMr1CGweVvc1+tFT56z8xFY4ARW40FQxh/pGm 7bzG9rdzGZbBitxltfJL1lqhlydx7uiHJhw7tiN1n/ooUpjiZO/478B X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add the compatible for Samsung Exynos9810 chipid to schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 47a8d98346ebb83a7ea4d11e2fc7fc87df6bc5ad..385aac7161a0db9334a92d78a57a125f23ca1920 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -24,6 +24,7 @@ properties: - enum: - samsung,exynos7885-chipid - samsung,exynos8895-chipid + - samsung,exynos9810-chipid - samsung,exynos990-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid From patchwork Wed Oct 23 22:36:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848055 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E6E7145B10; Wed, 23 Oct 2024 22:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723041; cv=none; b=CkzAL3geKk7N68aFE5YYAEyjOiwwm4r7DSPPCIH4g9/mNwqb1Xv1eSNlzMWXM1slXfHPN2yF9CtENsGwFkArRocAxmpWoTr2/ZhspUlx62DdNU+C0jRky/goWaraJ4VYw5th8LRe+cHd41aREZnvdp9V2HmqDwvet29H++m+EUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723041; c=relaxed/simple; bh=LDj646sRIM7Uye6b5RdWFtzBwFtKPZZl8lkysYdid7U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LChd260X25ZDkA9DSxDnASUFt1SXic/XXsBeXc1dWtmN08aZuAd5WiR6eZyk9OjLvZC6D1s0IQeyQ2VbvG879AOeKLhcvcYKnF+T/do1oDO5Rex4Li9tqA10MC+1Iz55jzMTaUm6LFqxKKFDpCafKtyi4l984MkUb6oYOw8f7/4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cCYm3yMc; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cCYm3yMc" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5c9709c9b0cso340855a12.1; Wed, 23 Oct 2024 15:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723037; x=1730327837; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Qei8CZo1xxgUYcxPxXdEFDFdaNhWVZB63aMBYnQ5ovE=; b=cCYm3yMci9qthNZy6XJwtPHmpNLg9Gf3u2YhVUIonr1AjBx4sfutPWHlPwfMhSrsyY pYrZxks83QGBSGFdX9DqRW0Pzq/aqh2uo70WNop0VmMu/GTap+9O08eeszDqoLdO6NSV gYpRYxP6IMojlpkzI414LKRu4tjNuvgERZQTFsTuyIgVdPKStysZtq57JMV2pZ9Gt+MJ U0yyNJjmI/ucf+5fF94CkJNPkaDqPR0dtGkbbMw3LdD0Eo9loQMbI50xMwfVOl8E61AE XLJYlpdh2poG/9ElSe2IjgJ8/ZVZVOxTHeR7Nq6ruoZaFCep77VGZzDizqPHisMZ72rt 4hyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723037; x=1730327837; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qei8CZo1xxgUYcxPxXdEFDFdaNhWVZB63aMBYnQ5ovE=; b=IVy56FKJklwoGTJeclUls3+aNkJzw366pbOSG7JRY027qAaOsmP2XFhBpvQ3KC/OUQ ip6YOEPVCERjiHfVFerQmACbW/wp1YSZeE0VexUXmLyfiY/Kp7BrV/K+AjeB8o8/ffHH noAhIUP172V3dRp4Ss0+iEeOJCRqptMl4JroLvuIPLvsvaUQ15EX7zcmS61rpwO4TFUK 15s7QvBt2Yx1EAIhRvnPG+0R44hZ5/GsmGVYVi+g1i3miMKqYZ6/PMdlIrV0UlNbdLRX ux+N/y6zSUNLE6d9fAJanoaiiCfNS03pa5+VVDng1olj55fmSELmUM6qZq08q1fyCMHI o7qg== X-Forwarded-Encrypted: i=1; AJvYcCWvyd8XwQ1IQeBUVIAidGErULuojZKZqaohQk9LnQuZSs7R83kG5yosKcKqx0EImcXKePfyqGAA1T9BfIN0@vger.kernel.org, AJvYcCXDO0WZD5WY1Sx9Wl5U8AvzMgboUt4sudltcS47wnLtpCAKdIJcYrVPrefaS0o/nx57BMnRwnnnx8oh@vger.kernel.org, AJvYcCXbR5EDZS3yvTJ1bK8QxphefFF4gaKjDH/YIdXH0f6IN2kTZs8HKIk8+5qrhdkmGPk9ECnIqd6Qpe79QUNh/Ghhc2c=@vger.kernel.org X-Gm-Message-State: AOJu0YxDx+2hgy4BaNvX6x0bGGceW1m4Bp5r1utxGqyYYxBILbtqrvb2 bgeoVtjGhYZxdhy7NcBE/fMIN2+sn/zf/b4Ix8stN9aFreJcr1JW X-Google-Smtp-Source: AGHT+IG2MlYAKZYlvMe94SbaRQkSxgeMpGIF4mteKz7fCGGulUtwUDypDLWpSOzDNJGwBfuhu3Nq7A== X-Received: by 2002:a05:6402:2788:b0:5c9:55a8:7e86 with SMTP id 4fb4d7f45d1cf-5cb8ac7c2a8mr3706827a12.8.1729723037252; Wed, 23 Oct 2024 15:37:17 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:16 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:34 +0300 Subject: [PATCH 03/12] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-3-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=983; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=LDj646sRIM7Uye6b5RdWFtzBwFtKPZZl8lkysYdid7U=; b=kAEwpnMzOkTdaSE6neAoTeGyL1pqXstKKu3mWHnIj+Prn+7oSd5P+8qcN1ITXA5RZhJnuVEtn DL6spYCeW5aCQiu4WwNWXNJl631Z+tASjaRpY0AYdcJ1+E8VMM9GZfS X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add a compatible for Samsung Exynos9810 pinctrl block to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 7e6ef8249de6c2eeedfaab0ad6316af135c2ec31..5296a9e4faaec691994cd567bc3805f870aaebf8 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -54,6 +54,7 @@ properties: - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl - samsung,exynos8895-pinctrl + - samsung,exynos9810-pinctrl - samsung,exynos990-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl From patchwork Wed Oct 23 22:36:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848056 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 523EF1FE100; Wed, 23 Oct 2024 22:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723042; cv=none; b=WcfJIa5Pqv7Z+hs03noOo3Nvv+9n2bxBroklZrCJeZBDd9hierWe10IhmORU/7wDI4x0xWFlc5NLYgKjw58qy0Ril0+fWA+Dfu8+LEdQMpIVp345+qM211Oy9F9Pc4AReeWi/sEADuiDPAY+JveLF6XYykwI3c+0Jz6vc0cKoHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723042; c=relaxed/simple; bh=7H6VJtJFgWBJwnqC87mXAK1t9DhYQWbUHewXwVI/pEw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=o9ltBswGp8bWuWk3azvtb2KGGTyd/71gL06skeTNdOTo/IqgNwhLwH3Gy+9Nwfqf5PYKGzV1VcdePT6QwlucbUYG1oGNXvYzx8Cj9Xf+4KfKmRk+Iaq5zoxBeOg5PzKA/yq3wvTKtNY3nByhU6kp8dR6IBwZvOn4MmP6MYcPN0c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ws2AOFws; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ws2AOFws" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5cb72918bddso332685a12.3; Wed, 23 Oct 2024 15:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723039; x=1730327839; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UqsIVZZa/U0N6/VUDWdRU6ufmGmH+Nhcx+B/uA68Obs=; b=Ws2AOFws8tBz/jwKkL0c8MtgLBeW/9LAxKiCaZiz0Du8PC6J5WtellnbpMQjJBmyYQ l75EZ1fnd39z9x/1pv5mYJ43xse2cm5cQmbptCbuLGTkG+q1zvhSpIBC7lz5983BLWlx zPSbNsyP4L+2nMI0MzflZ9ZyPPIyBqAqUDH9CKaGIMXu4ST9dqJSgEfnDVsWh4DO+bIS KNI7a9RCEWN6lvzXj8KEhjNl5Ph3v9+o2dGxW5n5riG2BDZ06rl+OzXnjl28FExnhM6i kQ+HXTAbusLbH9bz3fTn1Eo4OHLQl5bwwVUa4KGiTSG6ubXh3Vx3sf+Ed2Gc2wAEEETT ZFDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723039; x=1730327839; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UqsIVZZa/U0N6/VUDWdRU6ufmGmH+Nhcx+B/uA68Obs=; b=mQbivz4KVidwHR+8cnvVIXi1fQWZ7QPj4EfxJeCCECDg/ToliyFFaarGMML2Kf8kH4 oJrMuiIn79iVm4kLYWMY7DTvxnuuUq92dy1SZegldma1pAqSwucw87ylOLrcf0FZNylR IupocvKT96ONbhpl9aD0edE9xWbG9g9Yq/9cYjrEyQ0DsmUncxVoRi6q2zVH4cv9Sysh 7FWQ/BznaKHAKyDQvuohuPUQglsG8K0k3Kq5l2qEfAaUoDHZ3fI3hPrOzc6MXBFwerxo kOfxNPi1nJkOIoSj1mOqp24EB43VXCGiEKgS1qkOyUkwLxc3/+1XS/H5xiHJYV2xG3DK 21nw== X-Forwarded-Encrypted: i=1; AJvYcCULgelwqvtBaWsrBuSsmBOIMvQVB5cxLjip3407bjaZkPoqwAAFyMam+L2Bw1yJgAo4nuHcetNy2HGaoLTF@vger.kernel.org, AJvYcCUkdBeZ2w2k9g3k7IuTdM/7oilyTcyYaXZIcunU7nGkhozzAkXEE82EfjhcAcA6KGnQ/r1/j6gywRvM@vger.kernel.org, AJvYcCXd/uQMa32xS0JHAsel9hCTEvvKe+nhbBnRYlONtTS/EbsER8edOovM5EXdkDUPrNSsYNM8JABEjat1Q+tfhqUXC8M=@vger.kernel.org X-Gm-Message-State: AOJu0YxBcRF/YVWfWXHrDF54WI73z6Ylm/0Ro7TJMiWVtWLuncr9RixV sJKXi4MVI29+T2ly1Fni53JldLfqAKZ4Y7ra/y29Asqw5lJ77xBr X-Google-Smtp-Source: AGHT+IEoQzCmWtUmspfTlIND7cTu5IdZanZZbCzIh7COe/LtmuTSwHdea/4nRvUfCfZcZ5SxWklmIg== X-Received: by 2002:a05:6402:13cc:b0:5c5:b9bb:c65a with SMTP id 4fb4d7f45d1cf-5cb8ac2d6fbmr3132944a12.1.1729723038599; Wed, 23 Oct 2024 15:37:18 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:18 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:35 +0300 Subject: [PATCH 04/12] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-4-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=1084; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=7H6VJtJFgWBJwnqC87mXAK1t9DhYQWbUHewXwVI/pEw=; b=erQFkuiY537nV6Oskge00QJ7SJyLbWLjp1lUt6Nm7JR+k8rWGNo+DDdqiqpzjcdfDxjYE5EIZ a8f4+kWVObYBxotF6PFP4rax7mUZrBhtLprZ9O7ZdGo7DcSehtKE+sS X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add the compatible for Samsung Exynos9810 pinctrl eint block to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- .../devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml index 565cacadb6be77b1be1a7423f88564dd950c44db..68ed714eb0a178c46228bac142d69bbd6baa6277 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml @@ -47,6 +47,7 @@ properties: - items: - enum: - google,gs101-wakeup-eint + - samsung,exynos9810-wakeup-eint - samsung,exynos990-wakeup-eint - samsung,exynosautov9-wakeup-eint - const: samsung,exynos850-wakeup-eint From patchwork Wed Oct 23 22:36:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848057 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25D332003C2; Wed, 23 Oct 2024 22:37:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723044; cv=none; b=U9rvBG9w7cb3Gk0DY82i4cduzN5dkfXpU2Q00Eys1vCqSAMU6V5Pj98gJR1ClWrcQSTeiq2JI9MkzAwbi0NQ9TrEDc8FzcO0nkkp0T/hVM3p3rvenPzDLy6NC1dWz9pNtnrBz7Ri/i237eSwl/cSZs1kQxhsGZGwE9ZnVL9RTUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723044; c=relaxed/simple; bh=PQY2vvSVvdmqQTK8ZrI+efD1G2TGl0x3uNfjf2Z5EVY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AYYA9u/hROPIE96zHZ69iJVakRq+5Cd9aOKG7Z+8WmxW0C9J+iNzDysfLZ17SqVDs5rr/dGtWnCHmclmqu5+qnVwLkKbkPb27pG1w+NRaeKN40uknh9nDVClsVCZZ1OEetFT6eYDzmhXCr70e+3UF1tCtd1pDaP7J5EuL9wYFfU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Rv9JkFwo; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rv9JkFwo" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4315e9e9642so2618605e9.0; Wed, 23 Oct 2024 15:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723040; x=1730327840; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cXtQqg3yJgLl+HjnpahR8I/TE+d9AkhS+y+OvbC+UXk=; b=Rv9JkFwoqUAwu6jhBFKrGKxH4lG/3NGhdJ564uBaGRm6pL6JXFidDBmLZ4b5soRpR+ i6qcfiMWT1ifmW8GxfcY9Qef7uOB4mKYACxK/OkgY8LGVHYCyKorXcXU+Et4DW5nobT3 0OUCHxPdI4vZmq70/R/CbJD0UglFt4n+0b5kxYzO9cUiPqM1Hm8l6IknWaGf1rjRrTK7 HcpfHIE2NuJRwRT/IcOcebwVieavIpxxDCzJfHUscFEH/vM1v/7F0mpQvYF5Lxh5va83 hubkEN1oNA+Hu6FDtqYVCZEvxRTnEwwERZ3wOC9vAapUhQV9qPyRjAakCPj+h4nSfgxm txSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723040; x=1730327840; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cXtQqg3yJgLl+HjnpahR8I/TE+d9AkhS+y+OvbC+UXk=; b=gqTZ1BzsRKKJrLmOf91sxzzY4TjOFfiTIKn2VIOft/WurGwW6ZgVk00MIbhXsh9uvA RlNOuZBZVFWiZhDDGqjoEox0VrrCVNU6ahNz4DQ73y34aOURSxWcRoDxfoJSaGyBmOUL v1ZBI+WevUPynGWGQZ1x1jI+KZ/KrImDJW2s8RrmA88VKvq6+kuqG/0Pxz14wrIEIbTB 3GzDHe1SyFIW5T0F1u0ZTx9Lfyr4eDo4fDITZR+O+XsQi9j9VTZ9TznG1+01M5M1Qx3I UaLLA2etn0ZrAPQwpQkWXVVWU6KRWsIKiB70RWq3XdMhg98ZXpMZ4mehhnwru/1dexl5 dpCg== X-Forwarded-Encrypted: i=1; AJvYcCVXcQ1uUxBvU3d7VEa/LWvxvvdwAXPM+R7BmMasVK1SkCor8e0xW3TVx/qSSffUsE3F7gKE6nL9Zfj+juRk@vger.kernel.org, AJvYcCW7fh1tCElKprhCBe1iXyCphrLqhMEhudPka0lPuiwSacz4Poxlk4NCnJiVlYtA/RZFUFmg56X12EO9@vger.kernel.org, AJvYcCWGefejMi3ivbrArAb07WF4BzduS7G/EgT01pQnACAqDeHJz+hIsG8v+L43McJzriDoTYqGNHPLI5T8ix25CbXX+QQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxMjSOoDyb+VF5mLFdf9Epdyx9/TBrZ4WO6ArEYoHLeHY75j7J2 N2p5/ikbf6dmfFjNPiN4/akTJRuVvU5Px7GzDMyfmU5PjcynakkQ X-Google-Smtp-Source: AGHT+IEv1LT3aXWNGlfQxfdfR1++WDJp/zgt5i4LxTmGAfPafps4VrBKGIrMxV1xd9yfdRIJxSyeHQ== X-Received: by 2002:a5d:46c6:0:b0:37d:2d45:b3d4 with SMTP id ffacd0b85a97d-37efcf8530fmr2600249f8f.52.1729723040279; Wed, 23 Oct 2024 15:37:20 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:19 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:36 +0300 Subject: [PATCH 05/12] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-5-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=966; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=PQY2vvSVvdmqQTK8ZrI+efD1G2TGl0x3uNfjf2Z5EVY=; b=OH1oLPoXvG7knPESg/Z3HUVLfSYDzQCUOPxLstHrQyyXHOQDNxEkrMjK/EUc/OUpMOVfIWGQK 90hki70VyyjDgdWkuFx3nYxNtPuJU7T0Bh+EtRjfAuB4uV79nhP89My X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add compatible for Samsung Exynos9810 PMU to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 5c4ba6c65e6926467ff0e90142ad62fbd0b9e1e8..6cdfe7e059a3556dfb872818f1b2649ab6b0e8af 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -54,6 +54,7 @@ properties: - enum: - samsung,exynos7885-pmu - samsung,exynos8895-pmu + - samsung,exynos9810-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu From patchwork Wed Oct 23 22:36:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848058 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75F88200BAB; Wed, 23 Oct 2024 22:37:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723045; cv=none; b=dRYLvpm0D47Oo97/DfcvP14rlBg3JuQ9OFVDIfXbIsW5R8O/PGh+LirY0gVo/6RxEaN4+4dnRjAi7O03F4lD8aQDpfcL1U2lABrUd7MGtCX7IlrT+3AUnVtoAXbT/KQlMkCtqVvD+OufyG32rh79tKyP2KBeR48jXEhVCTZ26Vo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723045; c=relaxed/simple; bh=mDrRM2vw6yzIeJi/+7tORTimRHVKBC8rcLZLB3YC2lk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gnN4ecujfxiJ2gdk6fU5a05pRp39tDZZP/D6LDmqqZ3MbspohtCf1j+3NVBTyrxIaoICLjwFLL/FuoU0QhL8kyo1m2ZgQ3wCUd1G5VWqDaIm9fT08jBdSJwXrkqgYBXvvyg8mjr7zsdHdS+opXkyDvnz051OxgplmatjFNcb0Vw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cFW4we39; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cFW4we39" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5cacb76e924so355974a12.0; Wed, 23 Oct 2024 15:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723042; x=1730327842; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=OWmtqH5N2P1BU0MprmjFDoO+HGgjxkNsdCcT7wh2gr4=; b=cFW4we399HO/Fizeyjq93vIJiR2fcHRTixUWQowS/VEkEmplRKyYYJKMhMGrMFNQy+ EY5S8dWmZVeZndrD/qcfKJJb4eM9pp2d3Odmvg3O6E75L9EV8fAytVU4vQlwLLeUtvt2 ZNP2CBb3+McWCVlSX+3+IQl+FpUknBQKRWn5rXaehvpculNs1bWO7FtAuzChQJA1+uo0 ygV6mhuPtNhMf6VsdgeNFWta8VXLK1StpV9qfmoB0GU5DLSTxb43RG1EY1pWcZMP0VvB QDnALxPsJJPemjutzpgbmSCPZxpLH2cHCasCmqDBr9vlzPXmRHY6/7FYvmI3HMSJVvFi NOfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723042; x=1730327842; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OWmtqH5N2P1BU0MprmjFDoO+HGgjxkNsdCcT7wh2gr4=; b=cXBDzsGjRrbCfneUWzutXVQYRUUfNypkjXFgrihKuxQ1Vg5//iJTZ9SzG+cpYSrUXq hv8EWseWXGdyzmPpJjEcrakgYjNwBPGEpjL1oAIo6OIYEXujhiZXwS6Xu9LjULo6Ooze yJ7Lj/k8FHIjP5oApL2PxMzB5f4t2ZnAaleZMGczuxJtHVVhzftFSk5JuQHbelxYtjjK qMUMhuxN9dU/ggIngRHraEt+NAo1uDsZgIvqtJp2fQnTbIR+29HJRWNvQs3Jw4cMI98e Z8HPODPSlrRXDWkj009XZ2ejFGvp0b7SRBOwUNrrmTuWS+GEaEBrGBnFhRk3471w43Np cTvA== X-Forwarded-Encrypted: i=1; AJvYcCUuzKXUskVgarW7ZAvNff/N74flEj16VXeRJHirKE6AeFQu2eDrE1BPOw28HlHdLkpDuTsJpTKjEron@vger.kernel.org, AJvYcCVOQZAbsEQhsU83c9/P+lJqOVUb2vmvGx6DjTap8BFKxKGDxJp+vCIiz5dy8/89/GVjIn1wU5B231w7CUpAfLFORMA=@vger.kernel.org, AJvYcCVZu7zE5OcZ1qmKyDz4CSalMT3CDFlEKSU7H1eEoJicUtk/9mDyhFVoU7XijijvXv2plul51JzJiGn3wExN@vger.kernel.org X-Gm-Message-State: AOJu0Yzgivwju01IH3un1ejbRwSqzFO001NCtWiy4joWDj62xyce2MSO wTWJFCzvmmEkco8LbPOeHmpq/fhOWo5XGk/ADwe31/w/jWNe8MhV X-Google-Smtp-Source: AGHT+IFzgo2JsQ869WZYlAgaH+b7Atn/Vy2II8EQ4rEQzpHOsgtaGvwMKQGxGaJKoqZmvNgB6r9Vzg== X-Received: by 2002:a05:6402:1e92:b0:5c8:9f3e:1419 with SMTP id 4fb4d7f45d1cf-5cb8ae70636mr3554294a12.5.1729723041789; Wed, 23 Oct 2024 15:37:21 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:21 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:37 +0300 Subject: [PATCH 06/12] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-6-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=1179; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=mDrRM2vw6yzIeJi/+7tORTimRHVKBC8rcLZLB3YC2lk=; b=dlXnErUtfJ/958tawHUHA0uCxWUUQJON3A0WPPEbbxCfpUTu6mkRraEbrWIh4MRKibiMhRJLq QLl7xL0FdHHCMI24G3+dDBIhfnL9b134SuVfqVs7zsmZS9MSk79W3ZL X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add the compatibles for Exynos9810 SoC and samsung,starlte board to the list of boards. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml index d25a17e697256f8d868e24bea47d21accd1184ed..b5ba5ffc36d687a6fdbc625e6d95c37a8a2e2b93 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml @@ -230,6 +230,12 @@ properties: - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) - const: samsung,exynos8895 + - description: Exynos9810 based boards + items: + - enum: + - samsung,starlte # Samsung Galaxy S9 (SM-G960F) + - const: samsung,exynos9810 + - description: Exynos990 based boards items: - enum: From patchwork Wed Oct 23 22:36:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848059 Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA64E1FF024; Wed, 23 Oct 2024 22:37:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723046; cv=none; b=jkVQyjDWLknr669e2Tpqrss4TE74eN9yeD5c/Q7OITFHhhYXWqGqvuSecu7Hx5ZhpvGulFpc0T5Qpfoec5B4EdW2DH6fmdzzP6CYqTUC8waKKvrjLM8Yz3/iSC83HoqVoDUDGh49ofw1cguVUcIznFRZ/D3VUhCMCWtWrEUQMG8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723046; c=relaxed/simple; bh=BfTwb75S2Hpyd9jfrJaq805t3UYzBkYWxGTpfUT2r8E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bxonecqjoGX7UD9XpCg6+dAd+8NkmUpJfqCisHavLrq6SK0NfUgnmx0F1y3uBg8NeykszUr0iFjGebjRU8x4Gqds3+1j10qOnOABh3W0h3TDZ37eTuA+q3CCfN/A8M/9MhloN+jQ8f1D1HQRkd1DBsK7ImC4irt5jbLjdjFiYIg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HRCFjkFt; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HRCFjkFt" Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2fb4ec17f5cso2062151fa.3; Wed, 23 Oct 2024 15:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723043; x=1730327843; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=RSBkWGpVe2U/Z9O5WeF9k+f5OatGtFBj22iPtlufGf8=; b=HRCFjkFtbmFvCqBgl5Rg9oq6pHveRtVfvMlSQk+zBsoMIeuU+/ZFt8jC0Y0i9ckuyx 6SjbUVYa7neYIGZlhmJtfyw/b3SRjjyp1GZfIsGUx7XqbEYeTDq7xLBdCj/7zdTHDDLW ozkCzzwMWTQVKZX4wyFkv1BmO8taxPX2mwGEA6lIsSSRYrNqEmBgq3Go4VjvRViVmW12 Z1TW+p9XPRkI/CGjG2EDhVk9tQ2f27kFm29xna+VdnB/tuTtWMsebPG5RqpOBpPWS3Ta NJB+41vKgOr9V3jTWsu5YmxHbhaN0pIkgZ4VkAh+kqGVvmJ//3zhrcw/+r9RAlHPHpyw 5PVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723043; x=1730327843; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RSBkWGpVe2U/Z9O5WeF9k+f5OatGtFBj22iPtlufGf8=; b=ChFTKCEJL1WmRpxR57W7fUnJjylO5H7zsqCtAL4jbShb/ESrv7znLaKrxhbfv9LXmH C/2QHc7eIc1hSKRRcN8sPSo/gTAB7Sj3nTkflzg4sC1ZYNOYCoy9aGf0y/jZwo9dA+Kf IJjMvOwwFo0M/0ZR6hCKQBssWtkS8iT8eFoGaH0eyDGD0+ON/B2r14LM0PaxKiHcP9pv FDOVaGXSmG1NAEUJU0LNbuW8h2vNXo+Z5k9Hl+InICdzGLkEUvT4VRw2qsjnaCPblpfa nMjJRMCw2EskuBYV28OWMfI62J/G0+5VQjAm8hePyXloJtYCXNWdbLuGJzty2TS7w+fg 4dBg== X-Forwarded-Encrypted: i=1; AJvYcCU0J4f4IP94V6ufTQSxTt4LBV/i5KkDGc5qgRZ3BT4ihMLIH3dOsAA0CZnYL0gqltWpyC+MA9v2i+X75b2j@vger.kernel.org, AJvYcCVJHcnz1KfLs05LB4StkKNicLYfriHbvzfJ2EonbuLzdmc2ruGvnqIsU+Z+FxwzQTUNglitshX63EJj@vger.kernel.org, AJvYcCX9WI0xeFRDadO4ZHSSvs9EugQFb7tiYJA62xhubRLoIr/HS7daScP5IkYS4f0eSrHxPfsEoU/2x5ocVIojwvsYPwc=@vger.kernel.org X-Gm-Message-State: AOJu0YzKpHZjjxruFDdkTw4DnzKJv7ZVX2JYaNHHlsWCV9v6SUJnjFy7 aALvP3BnTDyfCq7Bvo7AG0ksrhEHQIXXaP/Qh5PmZWNbInYidBuY X-Google-Smtp-Source: AGHT+IGjZMd7lNPSesBB4Tmg01Ndbwt3X3of4Q9ZQW1OG2xoTjgCMA0LpUoOoNcxpDKIH/SJlp8O9g== X-Received: by 2002:a2e:4609:0:b0:2fb:522c:7ee2 with SMTP id 38308e7fff4ca-2fc9d3939bbmr19813691fa.21.1729723042928; Wed, 23 Oct 2024 15:37:22 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:22 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:38 +0300 Subject: [PATCH 07/12] dt-bindings: arm: pmu: Add Samsung Mongoose core compatible Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-7-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=851; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=BfTwb75S2Hpyd9jfrJaq805t3UYzBkYWxGTpfUT2r8E=; b=LGLRAfnRMhJak84IWvBl+vHwIuNHJwU3Q21jyQ5Gtp1q1WY5CiQvm55D1fRhgNvskr6O0Xj6M G8tMiF3WTA8DWPz0QM5awsEsoiJ9w0LLKjnPmpo9A8Up2IOuQaSy5h0 X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add the compatible for the Samsung Mongoose CPU PMU to the schema. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- Documentation/devicetree/bindings/arm/pmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml index 528544d0a1614c9f9bddaafa8dac4782d09ac7e9..a148ff54f2b8a92fa3fcfa78c1bcc525dba1c6dd 100644 --- a/Documentation/devicetree/bindings/arm/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/pmu.yaml @@ -74,6 +74,7 @@ properties: - qcom,krait-pmu - qcom,scorpion-pmu - qcom,scorpion-mp-pmu + - samsung,mongoose-pmu interrupts: # Don't know how many CPUs, so no constraints to specify From patchwork Wed Oct 23 22:36:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848060 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D0001FF03F; Wed, 23 Oct 2024 22:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723048; cv=none; b=dFVK4RalWOVyP4Ia+4gDC+73SBrGc4C7w2BwQfQ3TTIJSdMaAH1Xor44JyVTrmaRHEfBLK9/CkcK1VnzfUbIAcbwdWXTM73QNqiflHF7ywaZxeBSnkSK4Tirsv6grNwMUnSgckk3pyEV3uV3XBCH+EgatjUhk7djpXht3J/+7iM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723048; c=relaxed/simple; bh=nQQbu4onLgjxpUEL6v69QQSst4e5z7h+LcPxyX3sihU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DfTv6uqQjr4e96TS0Z3hl0iBdgJ+YkNEuOslQjnBBxpROxyF0bF8q+n6qTz1uh3v1Hexv/MDh/WwSDRYSqRrvoVOCGoFpnBQgM3cqB9ztMW+d251TyOSK2VoMvkgBwpg6qkSQUqIv8n3PPK9XfH+26tKL2+r1RtC/cAZn0EDwL0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=G/B/d6Me; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="G/B/d6Me" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5c935d99dc5so310066a12.1; Wed, 23 Oct 2024 15:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723044; x=1730327844; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=k2XM3Jplq8/EbJJC1OO1W3bzQVXel65Gy7KIsJ85dgQ=; b=G/B/d6MeLZkqXvwWtZPZYZzHBxmSQDyeHDuu29n4AgDlDHFtlHqSXRrzXDuFwfhWPU DgKGGiAmfHFIhh4AAz+0IjLX8aPNxZY3buJ9Xqf9EkCscRk6Tv7KIvOVXjfIHnHiRl38 6rscrlkBzHvnS9HWiM1WP2fnvafJyv3cPlWCDzn/V2dwW8SUXI8/gwm4sV5mKy9jFvun yEEy3d/YkFu61yEtnKFDZXCwl/z9JpT7kk2ShLNllgH6e4oKz0lSCUi6dDGXc78PGka9 pxO9XbLKpyZS9m4/3XIYPCUsl/V5RJTOkH/yzoBVwrF93uBEF7N2vlc6i/giB5Xjy+Dk UN2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723044; x=1730327844; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k2XM3Jplq8/EbJJC1OO1W3bzQVXel65Gy7KIsJ85dgQ=; b=kDW9gbBxZEfQN60J7S/9PkUXbJAgpZjJE/D5+QUrh+tIxN2rMxA1J1bAiijxzFdT/0 Ekm0Efu7UnxrPtXe9xxxAblNB9KPZnHokbAZcKae5gVE/LfDOr8v7IOdX0s6MldbZeQ+ 15jkHzNxMqCpVFyQxODcWeLNEcDqn5LWGpX9xv5o5UQwzVsXp5f2H/hINg99WkrB9uQ6 KkbC4bBizDLu+7zHMGAgqoFrEct019Y0Ehu60MsKsKVMxhibBvZch3mxTaNoa6hflnPm svv+xHzNsou2P5FUV92XM6KzXqNhmrnHofJaNkfk4w70GTLAOGfuVQuDQblzZdbECWTo mk0A== X-Forwarded-Encrypted: i=1; AJvYcCVDLEnSsy/SlSxzHPt4FA9rEi384Kl1v8U0lFffSmmJYMPklvNBLyVxYvYAh5CFvZB+SLtBZQPP7BZn@vger.kernel.org, AJvYcCX0nbCeC9k+tSbhosFpTbtxV2C5097VlI+cTes3re6vONC6+9pFXQoSRu/YL/g70Rh/iaA19suJ/0yJ7V/w@vger.kernel.org, AJvYcCXG3sW9PV7Fr1bM5hU06zfJKmWTZ1h9cakR5APfILyTYh5DoRkoXXTvM7DP277W6xoY4MhNoLxhJw0ngpszcrX6oHs=@vger.kernel.org X-Gm-Message-State: AOJu0Yz62Y6t+OoSqX31sXs08H4svI8Kc4ck59lUZOKAEDlTOsZTt2yA 8nQMtESZLRYGv7SjbwHm+YQLhCrzDHwlv7UWzsdr+NQBRuquoqfo X-Google-Smtp-Source: AGHT+IGGOKlIqWKq/XzZ1d3yP1+cqdDO1i0NcdTYIW30vhzrfZLkX8Xf2wVVNdiDv/YUTtBY0MXIHw== X-Received: by 2002:a05:6402:1ec8:b0:5cb:9968:b4de with SMTP id 4fb4d7f45d1cf-5cb9968b667mr889645a12.22.1729723044407; Wed, 23 Oct 2024 15:37:24 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:24 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:39 +0300 Subject: [PATCH 08/12] perf: arm_pmuv3: Add support for Samsung Mongoose PMU Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-8-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=1343; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=nQQbu4onLgjxpUEL6v69QQSst4e5z7h+LcPxyX3sihU=; b=sg4+SVEsg+HRJRfFMRpU/sHqKpBVGugHB3ed5T9oUx8+nJ0XJggdevDa4myRkuSz1SfL+yGP6 WR8EB+pYycNBDNOjXtsYSb3DW4MUeJ2XsnRkiExliTJTmN5cEUBU2xc X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add support for the Samsung Mongoose CPU core PMU. This just adds the names and links to DT compatible strings. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/perf/arm_pmuv3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c index 0afe02f879b45a8600b9cea1bfd88e6a68096a67..9eb5603e1dda18c4bdd2745304737932a27fde8a 100644 --- a/drivers/perf/arm_pmuv3.c +++ b/drivers/perf/arm_pmuv3.c @@ -1364,6 +1364,8 @@ PMUV3_INIT_SIMPLE(armv8_neoverse_v3ae) PMUV3_INIT_SIMPLE(armv8_nvidia_carmel) PMUV3_INIT_SIMPLE(armv8_nvidia_denver) +PMUV3_INIT_SIMPLE(armv8_samsung_mongoose) + PMUV3_INIT_MAP_EVENT(armv8_cortex_a35, armv8_a53_map_event) PMUV3_INIT_MAP_EVENT(armv8_cortex_a53, armv8_a53_map_event) PMUV3_INIT_MAP_EVENT(armv8_cortex_a57, armv8_a57_map_event) @@ -1409,6 +1411,7 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = { {.compatible = "brcm,vulcan-pmu", .data = armv8_brcm_vulcan_pmu_init}, {.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init}, {.compatible = "nvidia,denver-pmu", .data = armv8_nvidia_denver_pmu_init}, + {.compatible = "samsung,mongoose-pmu", .data = armv8_samsung_mongoose_pmu_init}, {}, }; From patchwork Wed Oct 23 22:36:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848061 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D821B20400A; Wed, 23 Oct 2024 22:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723049; cv=none; b=XTgrZPu/MATZF4IYKoMToybdZSDkdeQq/L/ad8fz3sf6p9wOzNIPQqhRQTyZ/asfYlLyXOffAtrVpiGFfheU2jKan1Z6V2fDWIuAcBCUCdXNiyne0dhSjQ9mvCBnHsg1i1h9cAM0QorBASwAnvVM/DRs5SK4ibzxg/7Px5R5rbI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723049; c=relaxed/simple; bh=PUZweYcqklViBmb8uZ/IJuwwHuTmJtgh5ndkO4UYJyg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NbS04LmKXC7dApEEvLEYj6O7vivBB5hZL005GFeuD797aJaFdkW0lahozCHdhF/YaPAsaLU0WkJy3btGJHlDrjOUC9NrJILln233YHThWv+2+7squKq3tD+B08oCsXxTkp1Ba5II9pJQPth8gWu838GYTH5ChkeNQmih5JM/WY0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NADfjKs2; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NADfjKs2" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5c9552d02e6so342590a12.2; Wed, 23 Oct 2024 15:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723046; x=1730327846; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Jy3J14myK2azS2Bw+TGbV6O6B2X8yTfWnYRpx0z+kQI=; b=NADfjKs2vHe/4vkiwKKBb8m9mwHtIsU+3jTMK0WZR5Mcq3EGTQ/WDYJ1mIjbhHL8M+ TI1dwjlfb/GP2RmvN92JDWDUpQaVL2qqarrzYdcoP0IKYMneVdC0zwDZiqQbubcXwBgH 7WvcmL0/NfX+cYIuhHO3ksI1tbXVP4G4otkWhm8GSrkC0kCbVhg2Fbj8Ai7WnKGV5cpI tNtN/vtciaFDWLkwNuF/TvxE3ruu3jBFrnnyDKmWoM3JFIcD5O4FWFP3swsf3biIdMuO fyKctrVQiHO7oKi0jJ09YTRdbxDHIA4P3hN8RLI7d0rZ7D51tcC0ADyVvNcXrSdWNdQJ JBeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723046; x=1730327846; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jy3J14myK2azS2Bw+TGbV6O6B2X8yTfWnYRpx0z+kQI=; b=pCOzBIkftP8WDsW7AF24eGo0PcK7kqHcoSYLJoPtgLclgdTqiSWXNlJb8ov3gD0pYE GxDPL+VjemGfUxzew4PZaLb+JKYaGTxIaICe54p3+UL7d7hFeIbuQpBPfk7HpEo+XZDw H2jOxAEuPQapohZ8gGXCe7s1idHJOVLe6BpjB06zD7n64vWBahoHKnQKdLj05pAa+mLn gdYVIJ+ZOIwmC8sVZoJYnnD4A9AQ2GPxm6HJzDG4f5QB4foMiFR43h7f6+6ytKVUalsn 4OcDTQg5uOQnPkNl68EzlUABRLv+Be5rVtJBdfb+0E8EdE2RhGNYUkVakvN0mALP7rMI JYTw== X-Forwarded-Encrypted: i=1; AJvYcCUWFzo4JTmT9Sn4gLkdjTG8UlE4hjK4rFE5An2OGrSnRpWaj6pUDfsgHQXbIxXVu8sGW3mTUx+YwO05yfMGQIIt02c=@vger.kernel.org, AJvYcCUkXradsck1Z6Hv7e5fOmkxDMMV7F1x1ms1/BxGNQ6WtkeChwLVUX+XEslpSt3oEVHc6XOmjIhu0eJAKRvf@vger.kernel.org, AJvYcCXfcCw3YSbl/2EmQ1IlZ3lXWRgDyszQCQ9A1v5M96KULAVCHONYSjOuf4vMjNVAEQSlq0a4h+HZ9a9F@vger.kernel.org X-Gm-Message-State: AOJu0YxEEKOxeqC6tFalOB1XBIDtH1Ad7dlt7oV3wpOYngJ3wL92Bn/0 h/0IFuhlEQQrVKREkolKkQJLqb03j5U1uXtav8sFB2Vgo40nETWi X-Google-Smtp-Source: AGHT+IGBz17FxrPN/rCHV/WwziIBuQiIF5Ruh+1l6Pbr+Er47DLsPPDKhznyybTHabaFp3fkM6oRVw== X-Received: by 2002:a05:6402:2086:b0:5cb:674f:b0fc with SMTP id 4fb4d7f45d1cf-5cb8af74aa6mr3518069a12.23.1729723046065; Wed, 23 Oct 2024 15:37:26 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:25 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:40 +0300 Subject: [PATCH 09/12] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-9-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=882; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=PUZweYcqklViBmb8uZ/IJuwwHuTmJtgh5ndkO4UYJyg=; b=aA65zLsbn/4MPOMDsOlrN9HRxwQ62r9xMLoPkCXZlYFt12trsIitbpJJEy9YAUBoQHqpYyUog +MZ9ldEdyVkCIZ/kDvOl6e9ll/aKott3kKtcXOIRwAbErCVivTpWmAP X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Exynos 9810 has the product ID of "0xE9810000". Add this ID to the IDs together with the name of the SoC. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 94c7cc0d11e4c6f151336dc6e25495a31cbec02d..23cc20896b85a2da02f36703225a4f62e7538a62 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -59,6 +59,7 @@ static const struct exynos_soc_id { { "EXYNOS7885", 0xE7885000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOS8895", 0xE8895000 }, + { "EXYNOS9810", 0xE9810000 }, { "EXYNOS990", 0xE9830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, From patchwork Wed Oct 23 22:36:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848062 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40E00204941; Wed, 23 Oct 2024 22:37:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723051; cv=none; b=sj3rHpl8pSKP+BP/XY25IFu9IGX6nFXH/2N7v8HpSg5mBc0n0lUNUVaNk6BAi5EqAGDu3CjgLmeRns+DIR3kj6U12L+3WxLs+VXD7+fy73nz4Qv9XgLGlRFv8g4xM4xywYfRRFIRtVoVXMxv9L/W1NA5t9Ye+Pv1KRZzh2XaazU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723051; c=relaxed/simple; bh=TiIPfYt0RbveUi7nl+E5H8W22i+gt+I/IW+gTN3LGVI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LZ5I3jQxiaryUPaE8zw32y+UuofuE/pJuQPvPj4yIlvBJI2Fpg1R+YaVrwBY4V4QYeHePL9KiOMZNduor8vXRb/LIKb/NyRojTJ6QN1lkXWDeYbFRqjvMPFvYEmrjKJpcmJGJHi3MmJxwUReoc1RoYvbxfZ1CdS5lr4WN1Pt30c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IJS1tCN7; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IJS1tCN7" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5c9404c0d50so275323a12.3; Wed, 23 Oct 2024 15:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723047; x=1730327847; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Ml4tZn5HyFNzt6Y4nPtF9skfxOEWkeIh9z2SY/9hfwo=; b=IJS1tCN7ct5Xq96k5k2v1Lg+DgzsPTnnppEI+mTYrN8xNiMd772xaWFUKn3e1ABaDk pFRTcOyc7PoiYiigZlWVHayZSf2yY0w/G3E4jj0OZEMUoSheKLB7b01tVgEXfy2w0qra uBjfG2FxU0UpaOAyPeh3J9ZGrGLB+LbhxSbIDrk8Os/OYGfiz3WFcCwy1Z+MaJLcMxBI Apt+M3KDJHqnf4O8mBcQVqGa5pjRXAjRUwTB3xzivYh/Jin6/ST5oADJXZiA63dfA2fN DtJiRl+mX5Lx9NyJA7rQgkOVszejtXmfSODhPkrqjTFUa7S4OkAUuS7gnRmse4MQ6HOw cc2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723047; x=1730327847; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ml4tZn5HyFNzt6Y4nPtF9skfxOEWkeIh9z2SY/9hfwo=; b=HHmvWt4NfOj+4+WLn1ZyAgNLRLL15Bzisce6Evece6PvX1d7ozo5xn5u7NiOaUGHf/ xoGPo5a0/1Di6cThzbtSeSJY6vEYXjaJcBnQ7D+6d9AODOlfazYhjG6Siz0GTseGfhgf VIfgspjwV5B8ueky6RENB0K7X3erjIjW3A9QrPGqEBReocAm4om7J8QK2DLc04qnDkNC 40R0LZ/HTrfIOBFoc6Uba7Y9lczc47tRFMlvTVB7cSBsGRdJdw1V/gpcKfoWy8pnBnbc e+XIwIPgLKv0heCk6nbKJhPKa/VPzk2x/4HSXlvUI+e4XBicJAhrAbJEHRCFVaiaAaxm Z5mg== X-Forwarded-Encrypted: i=1; AJvYcCUP3Wlpch/o/J3JrZaXe0RQc2x8JEqB1EclSnYe1K18vu+b7CoSkAw3i7z30TY5hiwJgGuajFaCatnK@vger.kernel.org, AJvYcCV8wh7m4tgjfOQde5ZfDQTGRGxdZ3llvn01hUOZSsTxG2JwBIIe+o8Iiq0J967rjSGGm4cuxk7plOnCK+J5KGvBsFE=@vger.kernel.org, AJvYcCVUBdVR67wLJp9LmHo3LMBABhrKe8w+98Pw75Q/aaCaDV6/c5z+DVGVhzA5/Ot7VjrGYM+1TCzgo+Ed+kYC@vger.kernel.org X-Gm-Message-State: AOJu0YwXdMpEL/zB1VC4+2cwlgECVrmPhUO3wG3xkgXMHAuILXQxeQIg mTpPDUIyEpRjp1V4qGCl5NkdJ9DpnqAo5MjaZp6Ri+rYhvkjMQYh X-Google-Smtp-Source: AGHT+IG0mGC3boq+yTYuzDWOTAPZG8zjt7VmG0RpKlJyko8TFMCPKrosNA9CRKTqttYLcKKQeTeHdg== X-Received: by 2002:a05:6402:51d1:b0:5c5:b90a:5b78 with SMTP id 4fb4d7f45d1cf-5cb8ac6369cmr3977928a12.5.1729723047434; Wed, 23 Oct 2024 15:37:27 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:27 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:41 +0300 Subject: [PATCH 10/12] pinctrl: samsung: Add Exynos9810 SoC specific data Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-10-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=9443; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=TiIPfYt0RbveUi7nl+E5H8W22i+gt+I/IW+gTN3LGVI=; b=ys8MFnZ47aYyWibdD8vyNhiwzfo6GJsmFHH20zw/a2X4b0ROVXgiywHp54YMkmloTSnA0m4GO yF/2tcu80qiCaMA67AdrXUwIY0/pEjLfKtWNBjsnhXnHHiooLtbRLjH X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Add Samsung Exynos9810 SoC specific data to enable pinctrl support for platforms based on Exynos9810. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 154 +++++++++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 3 files changed, 157 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index f07c26d374425505019447161150929f7677f91d..3ea7106ce5eae3c21f11790b5a40037042c1d407 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -767,6 +767,160 @@ const struct samsung_pinctrl_of_match_data exynos990_of_data __initconst = { .num_ctrl = ARRAY_SIZE(exynos990_pin_ctrl), }; +/* pin banks of exynos9810 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks0[] __initconst = { + EXYNOS850_PIN_BANK_EINTN(6, 0x000, "etc1"), + EXYNOS850_PIN_BANK_EINTW(8, 0x020, "gpa0", 0x00), + EXYNOS850_PIN_BANK_EINTW(8, 0x040, "gpa1", 0x04), + EXYNOS850_PIN_BANK_EINTW(8, 0x060, "gpa2", 0x08), + EXYNOS850_PIN_BANK_EINTW(8, 0x080, "gpa3", 0x0c), + EXYNOS850_PIN_BANK_EINTN(6, 0x0A0, "gpq0"), + EXYNOS850_PIN_BANK_EINTW(2, 0x0C0, "gpa4", 0x10), +}; + +/* pin banks of exynos9810 pin-controller 1 (AUD) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks1[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(5, 0x000, "gpb0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpb1", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpb2", 0x08), +}; + +/* pin banks of exynos9810 pin-controller 2 (CHUB) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks2[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gph0", 0x00), + EXYNOS850_PIN_BANK_EINTG(5, 0x020, "gph1", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 3 (CMGP) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks3[] __initconst = { + EXYNOS850_PIN_BANK_EINTW(1, 0x000, "gpm0", 0x00), + EXYNOS850_PIN_BANK_EINTW(1, 0x020, "gpm1", 0x04), + EXYNOS850_PIN_BANK_EINTW(1, 0x040, "gpm2", 0x08), + EXYNOS850_PIN_BANK_EINTW(1, 0x060, "gpm3", 0x0C), + EXYNOS850_PIN_BANK_EINTW(1, 0x080, "gpm4", 0x10), + EXYNOS850_PIN_BANK_EINTW(1, 0x0A0, "gpm5", 0x14), + EXYNOS850_PIN_BANK_EINTW(1, 0x0C0, "gpm6", 0x18), + EXYNOS850_PIN_BANK_EINTW(1, 0x0E0, "gpm7", 0x1C), + EXYNOS850_PIN_BANK_EINTW(1, 0x100, "gpm10", 0x20), + EXYNOS850_PIN_BANK_EINTW(1, 0x120, "gpm11", 0x24), + EXYNOS850_PIN_BANK_EINTW(1, 0x140, "gpm12", 0x28), + EXYNOS850_PIN_BANK_EINTW(1, 0x160, "gpm13", 0x2C), + EXYNOS850_PIN_BANK_EINTW(1, 0x180, "gpm14", 0x30), + EXYNOS850_PIN_BANK_EINTW(1, 0x1A0, "gpm15", 0x34), + EXYNOS850_PIN_BANK_EINTW(1, 0x1C0, "gpm16", 0x38), + EXYNOS850_PIN_BANK_EINTW(1, 0x1E0, "gpm17", 0x3C), + EXYNOS850_PIN_BANK_EINTW(1, 0x200, "gpm40", 0x40), + EXYNOS850_PIN_BANK_EINTW(1, 0x220, "gpm41", 0x44), + EXYNOS850_PIN_BANK_EINTW(1, 0x240, "gpm42", 0x48), + EXYNOS850_PIN_BANK_EINTW(1, 0x260, "gpm43", 0x4C), +}; + +/* pin banks of exynos9810 pin-controller 4 (FSYS0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks4[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(2, 0x000, "gpf0", 0x00), +}; + +/* pin banks of exynos9810 pin-controller 5 (FSYS1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks5[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(7, 0x000, "gpf1", 0x00), + EXYNOS850_PIN_BANK_EINTG(6, 0x020, "gpf2", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks6[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp0", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp1", 0x04), + EXYNOS850_PIN_BANK_EINTG(8, 0x040, "gpp2", 0x08), + EXYNOS850_PIN_BANK_EINTG(4, 0x060, "gpp3", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpg0", 0x10), + EXYNOS850_PIN_BANK_EINTG(8, 0x0A0, "gpg1", 0x14), + EXYNOS850_PIN_BANK_EINTG(8, 0x0C0, "gpg2", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks7[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(8, 0x000, "gpp4", 0x00), + EXYNOS850_PIN_BANK_EINTG(8, 0x020, "gpp5", 0x04), + EXYNOS850_PIN_BANK_EINTG(4, 0x040, "gpp6", 0x08), + EXYNOS850_PIN_BANK_EINTG(8, 0x060, "gpc0", 0x0C), + EXYNOS850_PIN_BANK_EINTG(8, 0x080, "gpc1", 0x10), + EXYNOS850_PIN_BANK_EINTG(4, 0x0A0, "gpd0", 0x14), + EXYNOS850_PIN_BANK_EINTG(7, 0x0C0, "gpg3", 0x18), +}; + +/* pin banks of exynos9810 pin-controller 8 (VTS) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks8[] __initconst = { + EXYNOS850_PIN_BANK_EINTG(3, 0x000, "gpt0", 0x00), +}; + +static const struct samsung_pin_ctrl exynos9810_pin_ctrl[] __initconst = { + { + /* pin-controller instance 0 ALIVE data */ + .pin_banks = exynos9810_pin_banks0, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks0), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 1 AUD data */ + .pin_banks = exynos9810_pin_banks1, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks1), + }, { + /* pin-controller instance 2 CHUB data */ + .pin_banks = exynos9810_pin_banks2, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 3 CMGP data */ + .pin_banks = exynos9810_pin_banks3, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks3), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 4 FSYS0 data */ + .pin_banks = exynos9810_pin_banks4, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 5 FSYS1 data */ + .pin_banks = exynos9810_pin_banks5, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos9810_pin_banks6, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos9810_pin_banks7, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { + /* pin-controller instance 8 VTS data */ + .pin_banks = exynos9810_pin_banks8, + .nr_banks = ARRAY_SIZE(exynos9810_pin_banks8), + }, +}; + +const struct samsung_pinctrl_of_match_data exynos9810_of_data __initconst = { + .ctrl = exynos9810_pin_ctrl, + .num_ctrl = ARRAY_SIZE(exynos9810_pin_ctrl), +}; + /* pin banks of exynosautov9 pin-controller 0 (ALIVE) */ static const struct samsung_pin_bank_data exynosautov9_pin_banks0[] __initconst = { EXYNOS850_PIN_BANK_EINTW(8, 0x000, "gpa0", 0x00), diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 42e40860841bcc94e3c11bf313df792da10ab00b..bbedd980ec67234aad847b757f40af5002b11ebb 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -1479,6 +1479,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos850_of_data }, { .compatible = "samsung,exynos8895-pinctrl", .data = &exynos8895_of_data }, + { .compatible = "samsung,exynos9810-pinctrl", + .data = &exynos9810_of_data }, { .compatible = "samsung,exynos990-pinctrl", .data = &exynos990_of_data }, { .compatible = "samsung,exynosautov9-pinctrl", diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h index 615048f945243d4173d40142f1e62c8aeefe5b7e..bb0689d52ea0b4392714fa9bcdcbae8d253c73a1 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.h +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h @@ -385,6 +385,7 @@ extern const struct samsung_pinctrl_of_match_data exynos7_of_data; extern const struct samsung_pinctrl_of_match_data exynos7885_of_data; extern const struct samsung_pinctrl_of_match_data exynos850_of_data; extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; +extern const struct samsung_pinctrl_of_match_data exynos9810_of_data; extern const struct samsung_pinctrl_of_match_data exynos990_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data; extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data; From patchwork Wed Oct 23 22:36:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848063 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66056205E17; Wed, 23 Oct 2024 22:37:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723053; cv=none; b=WAw/BtwRQSLdEIral7UvxbihBHsibE8vnifmztGFagL+qkhnmwRU2PncE/a2kM1DJ15rm+EIhmZ2RwJ4dd2KCNa9lBhQSIutifgHozkorYyQlzVrVKfn5/cOAMD2PhHprzSJYkNH0sXuWmspKyi6EkLfI3OxjKJnOc+U+9iILfc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723053; c=relaxed/simple; bh=DPQAdMpvhO16lf8cOxmVyWDMW4huIk5F+FeYrjtAGWc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CXu0bk1ZOBEdu4i0qs5zMK4z7n1hehk8p5CWlrukoJsXHLC3N3lXtml0ISv0VSebcSm+tqA7JFIZj2NVTzemHQ/9sitpZH5T22MkRIzUaI7ZAoTqIh5zfRH2VmRUpWi2WriNoCsgaN/JhdWlvEj40MaAPTxseiMk/U5RInmxIuM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=U2KckNNM; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="U2KckNNM" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a99ea294480so14593466b.2; Wed, 23 Oct 2024 15:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723049; x=1730327849; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=T9chmuT/vKLKQdVfIL+EQ8SZ7ebuPtCv574MaCNhlcg=; b=U2KckNNMT4zj34WQJU0hPSgPOl6QFVJ6gsPobqA/sn51hEJFuZSpUkp0ZHavWWYBY7 nNle321vlhujWUrQ1XbExd76Wy9V1QNU1jcesPbcDaYYcvWEAK14xOiUucfOdJj7wSFa 5gm1wryuaMFuk+voFU2aURlgrYdB62jKQqMJaLDXMnaE7ObwEtIzIVFBog1x3e9HgGBW v8aqrCPFFT6aKMkdoiUUDIctGFVR5Vdgnvqy3OjzlFhtAydTFErdx5nBj88sQFJqU6iC WzrgWrVlD/DNONXrqRvdCBx+syZTp8vLNJ2XuXMGbm6NK7TI2he4S0ouJbrbqbhURey9 lVCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723049; x=1730327849; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T9chmuT/vKLKQdVfIL+EQ8SZ7ebuPtCv574MaCNhlcg=; b=dkr9a0tcBbLiscVxCfAdOgch2HzKce/eCazMjRpWDtKcI1oylQivonMIWokkLuaXq4 c/u4FwodySvWp2aXuKaA5GjbHVAYe9kUu5zptkHOYsw28WVd0fmMYnXB37klPF9nJftG 62U+0NOn6y6g5CQjjXIrqthQzyYrv/Getv+aSB3J3WQxFw933bSdH/+RU3iJh4ZFGPdu mJUUv7WnfI7C26YOgwQoQy5Z0dMRiuztMJcfmP2uz9D8xWIGbV/eotYR+IDn8hqT+cBi 5VHjib/ni5tcGTkabJfVfSEI8MFQFj/7kpG0lYIrFRtslC61SHW4B3qhBw2/F4qorEeZ FtaQ== X-Forwarded-Encrypted: i=1; AJvYcCV1/1SkOvHEh8sFMcW4D1NQuRaWvXty+rhYG+eLPTpgSZXHsABM/KXkYmH4Rslv3shTZqpM9f+1WM0KyKpo@vger.kernel.org, AJvYcCW+ba6wJ4N2qsdX2bT8NlMmoIa+0LllX+UUk4HftGQmDR9D88KkdK9/5efTL2raZe3OQbplVHAF54Zg@vger.kernel.org, AJvYcCWONXxpYTBSImeFgP/4VuKUklNiJT93tbGRPBf+0Qq3G1Axp8Q8Ax+SNhsQ4kGcEo1XbTfSXXeWMHaAHvLBe92tbHs=@vger.kernel.org X-Gm-Message-State: AOJu0YyRwVYH2gBwEtWziHRl7Bwr1wJK9hfW0Yv3jIGHtwtFD8tn0aJp zLzo2TjNSnD3mUah/Sx8PuYQtXNfqJ5ABsyeAnL+FemtC+GE13Pe X-Google-Smtp-Source: AGHT+IGl8ptG0uCUSA78la4JHwnH4oexwQBBw1YPefr1OV3s3eTTLU6SjIPZv5Od3pd7upxz4rkAbQ== X-Received: by 2002:a05:6402:1956:b0:5c8:8290:47bf with SMTP id 4fb4d7f45d1cf-5cb8b1ea74amr4424820a12.21.1729723048510; Wed, 23 Oct 2024 15:37:28 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:28 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:42 +0300 Subject: [PATCH 11/12] arm64: dts: exynos: Add Exynos9810 SoC support Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-11-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=18067; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=DPQAdMpvhO16lf8cOxmVyWDMW4huIk5F+FeYrjtAGWc=; b=ZQHwsV14L0RyMQSdQh6YlWMNft8r5QkV8L4SAknirLNPkFmj4pM0JG3RUWRUf6zqMBtLq8juL f792pwjO0CuCjibszaX76iY8ETWzt0+1ISrva5THZ42Oo6pvBsQKqWX X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Exynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others. Add minimal support for this SoC, including basic stuff like: - PSCI for bringing up secondary cores - ARMv8 generic timer - GPIO and pinctrl. The firmware coming with the devices based on this SoC is buggy and doesn't configure CNTFRQ_EL0, as required by spec, so it's needed to hardcode the frequency in the timer node. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 525 +++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos9810.dtsi | 256 ++++++++++ 2 files changed, 781 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..4b2ee59dc7241b0ec31c99fd909d1c5e25aa77e0 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi @@ -0,0 +1,525 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung's Exynos 9810 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include "exynos-pinctrl.h" + +&pinctrl_alive { + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + + etc1: etc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa0: gpa0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa1: gpa1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa2: gpa2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa3: gpa3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = , + , + , + , + , + , + , + ; + #interrupt-cells = <2>; + }; + + gpa4: gpa4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpq0: gpq0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_aud { + gpb0: gpb0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb2: gpb2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_chub { + interrupts = ; + + gph0: gph0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_cmgp { + wakeup-interrupt-controller { + compatible = "samsung,exynos9810-wakeup-eint", + "samsung,exynos850-wakeup-eint", + "samsung,exynos7-wakeup-eint"; + }; + + gpm0: gpm0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm1: gpm1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm2: gpm2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm3: gpm3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm4: gpm4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm5: gpm5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm6: gpm6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm7: gpm7-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm10: gpm10-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm11: gpm11-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm12: gpm12-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm13: gpm13-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm14: gpm14-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm15: gpm15-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm16: gpm16-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm17: gpm17-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm40: gpm40-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm41: gpm41-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm42: gpm42-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; + + gpm43: gpm43-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = ; + }; +}; + +&pinctrl_fsys0 { + interrupts = ; + + gpf0: gpf0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys1 { + interrupts = ; + + gpf1: gpf1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpf2: gpf2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric0 { + interrupts = ; + + gpp0: gpp0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp1: gpp1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp2: gpp2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp3: gpp3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg0: gpg0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric1 { + interrupts = ; + + gpp4: gpp4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp5: gpp5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp6: gpp6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc0: gpc0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd0: gpd0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg3: gpg3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gpt0: gpt0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; diff --git a/arch/arm64/boot/dts/exynos/exynos9810.dtsi b/arch/arm64/boot/dts/exynos/exynos9810.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..e8f5ae913e1a9e11fe14e2d4a5d0940415cd3ada --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810.dtsi @@ -0,0 +1,256 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Exynos 9810 SoC device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +#include + +/ { + compatible = "samsung,exynos9810"; + #address-cells = <2>; + #size-cells = <1>; + + interrupt-parent = <&gic>; + + aliases { + pinctrl0 = &pinctrl_alive; + pinctrl1 = &pinctrl_aud; + pinctrl2 = &pinctrl_chub; + pinctrl3 = &pinctrl_cmgp; + pinctrl4 = &pinctrl_fsys0; + pinctrl5 = &pinctrl_fsys1; + pinctrl6 = &pinctrl_peric0; + pinctrl7 = &pinctrl_peric1; + pinctrl8 = &pinctrl_vts; + }; + + arm-a55-pmu { + compatible = "arm,cortex-a55-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>; + }; + + mongoose-m3-pmu { + compatible = "samsung,mongoose-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + }; + + cluster1 { + core0 { + cpu = <&cpu4>; + }; + core1 { + cpu = <&cpu5>; + }; + core2 { + cpu = <&cpu6>; + }; + core3 { + cpu = <&cpu7>; + }; + }; + }; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x3>; + enable-method = "psci"; + }; + + cpu4: cpu@100 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu5: cpu@101 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x101>; + enable-method = "psci"; + }; + + cpu6: cpu@102 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x102>; + enable-method = "psci"; + }; + + cpu7: cpu@103 { + device_type = "cpu"; + compatible = "samsung,mongoose-m3"; + reg = <0x103>; + enable-method = "psci"; + }; + }; + + oscclk: osc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "oscclk"; + }; + + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_off = <0x84000002>; + cpu_on = <0xc4000003>; + cpu_suspend = <0xc4000001>; + }; + + soc: soc@0 { + compatible = "simple-bus"; + ranges = <0x0 0x0 0x0 0x20000000>; + + #address-cells = <1>; + #size-cells = <1>; + + chipid@10000000 { + compatible = "samsung,exynos9810-chipid", + "samsung,exynos850-chipid"; + reg = <0x10000000 0x100>; + }; + + gic: interrupt-controller@10101000 { + compatible = "arm,gic-400"; + reg = <0x10101000 0x1000>, + <0x10102000 0x1000>, + <0x10104000 0x2000>, + <0x10106000 0x2000>; + #interrupt-cells = <3>; + interrupt-controller; + interrupts = ; + #address-cells = <0>; + #size-cells = <1>; + }; + + pinctrl_peric0: pinctrl@10430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10430000 0x1000>; + }; + + pinctrl_peric1: pinctrl@10830000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x10830000 0x1000>; + }; + + pinctrl_fsys0: pinctrl@11050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11050000 0x1000>; + }; + + pinctrl_fsys1: pinctrl@11430000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x11430000 0x1000>; + }; + + pinctrl_vts: pinctrl@13880000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13880000 0x1000>; + }; + + pinctrl_chub: pinctrl@13a80000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x13a80000 0x1000>; + }; + + pinctrl_alive: pinctrl@14050000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14050000 0x1000>; + }; + + pmu_system_controller: system-controller@14060000 { + compatible = "samsung,exynos9810-pmu", + "samsung,exynos7-pmu", "syscon"; + reg = <0x14060000 0x10000>; + }; + + pinctrl_cmgp: pinctrl@14220000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x14220000 0x1000>; + }; + + pinctrl_aud: pinctrl@17c60000 { + compatible = "samsung,exynos9810-pinctrl"; + reg = <0x17c60000 0x1000>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + /* Hypervisor Virtual Timer interrupt is not wired to GIC */ + interrupts = , + , + , + ; + /* + * Non-updatable, broken stock Samsung bootloader does not + * configure CNTFRQ_EL0 + */ + clock-frequency = <26000000>; + }; +}; + +#include "exynos9810-pinctrl.dtsi" +#include "arm/samsung/exynos-syscon-restart.dtsi" From patchwork Wed Oct 23 22:36:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markuss Broks X-Patchwork-Id: 13848064 Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDBFC206E8F; Wed, 23 Oct 2024 22:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723054; cv=none; b=TtwrXLIG8x2nc9AchGuGIRC7qB8oQ1SD10lViTxecVhDHA8no21eRDmtAca4KHTSAk6lu4twdEiK0tP9+K/do6XjG/EeHuSqSn7ZF6aaUsvCk5RdpiTuk0qT+0mOTxuRqQLRdiHLoOByNWYWNVtP+Y3NlbdcQbjYYLcTKeHfB/8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729723054; c=relaxed/simple; bh=uGxvRrGiZ9uLBWYdiZjpDfcJUgUDjLtTL5MMaS3Y99c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ITjB9hAshqnHd3M1u2Vbq4S3kCnYGVKWMGg3TKonRXfeqqQ3gU6tRVHZqP4LBb59nM8XlAl+AnH7wVVHCXJ6Y9MPYq8RT+ryICUdyyu7RuTnskd+Q4qFIHvttivzLPB1nvdRwWdrfDtMuKC/bcZeTALzHeErb0Z1IOPEw6a5c9Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A4BDpSuW; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A4BDpSuW" Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a9a1b71d7ffso31785966b.1; Wed, 23 Oct 2024 15:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729723050; x=1730327850; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=AX+cZKl5XEc3DMRwSLMsFqqUE19e2NM6vk+Aym6iSqQ=; b=A4BDpSuWQYzggbtXPFbu4kQ47Zr1IWsF5lCmwPPAbbk6i+7xmPCtwcTEpeMDO8Y1Mr y+aEpeW6Dn7BM9pglQePlDCLCHtLR2stsOovv1Y/cw3RZM7AHClir37dbDz++K9GS/SG MzhMqO1j1cj30L6cbEfeYeno0Vt1o5TKrZYMuIYOsmL2eQWXK3uAkTBMqZtYcjrxGrDg Dlk1a8BJghYFaLhaO0WU9HkRyG7v8KIPe8GsNirrLCTm6DrEfDkEMQ3oa05dOlsDj4Gl a5DKHbxMgr0fZ2gwYZZw02zwFyQ5h1NKqiJdw4V6xcxzyYkCOi7y1NTK/gRXO1L+J8NY PKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729723050; x=1730327850; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AX+cZKl5XEc3DMRwSLMsFqqUE19e2NM6vk+Aym6iSqQ=; b=TT/i1MDXNQtw1BdvWFOL8+siLLi5vOBg6uQnKB9x59sr0BRUq0yUqziNycRJw/VrEQ waquV7oQMfvitha6nXoXyb/0LNGjQtgbsFIFNszJYzv1lbhzU6hwQvYkZyjNciMeuGVe 3PaQNZ7OtenLi2yEmVf182arfDRLTggP4lRTx6FSG8fe20pD/nHGNwhaC/jf3QaRAMpa uN4Bs7sQLMqPa3eAcADPqFKVrbcfZKSeN90hKR7w8nkW3qwmJmMc4ZXspUW8LmFnLcJ2 OpmrCvsY2MGJmOSgIfw7rZd69zmwDThbO2XwdbZsA7pEY2NaNE2qDSdlEAoxUektI27l BgDw== X-Forwarded-Encrypted: i=1; AJvYcCU8UTijcXLWQZJaA38LI/Kj69OT3JuLGLHrcane2JFas+4zU1Nvuo6pDtsCrPhysLMu8lVcsg5THhRzK3/h@vger.kernel.org, AJvYcCVoyDII/6iDGj7ECS98OfFmEavLpn8hCuj8uKgxtWk4b8dGfTX6+gSb86CXUzHCGx8el6mPlWjtR+tP@vger.kernel.org, AJvYcCWhjlCLu2LB269Anr00QUOmmrTk+8wlniRvy4T1D9PIiqAAg0JpucOYcaNudGKWMPcP3loadGAkdj3Icx4oKsrS3sA=@vger.kernel.org X-Gm-Message-State: AOJu0Yzgs3IrMMQOzibtD2bWM5LuXjVQUkqjxC0tVEeXffPs9v6lu3zO wa8oibKxwWjDgxPRdS/DYTFF5OE8jjuMS4R+XsS7Opnz9s6pvTT9 X-Google-Smtp-Source: AGHT+IEz7HfZTewz5b+n8ON3omkJnOW3c4z1DCw0FOB98fFAPZeutFcm1+iZOYPfU9psjdpc68Nk/w== X-Received: by 2002:a17:907:2d8c:b0:a99:f8a2:cd8f with SMTP id a640c23a62f3a-a9abf9682bemr399570466b.64.1729723050129; Wed, 23 Oct 2024 15:37:30 -0700 (PDT) Received: from [192.168.122.1] (93-190-140-122.hosted-by-worldstream.net. [93.190.140.122]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5cb6696b4easm4907816a12.12.2024.10.23.15.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 15:37:29 -0700 (PDT) From: Markuss Broks Date: Thu, 24 Oct 2024 01:36:43 +0300 Subject: [PATCH 12/12] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F) Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241024-exynos9810-v1-12-ed14d0d60d08@gmail.com> References: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> In-Reply-To: <20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Alim Akhtar , Sylwester Nawrocki , Linus Walleij , Tomasz Figa , Will Deacon , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Ivaylo Ivanov , Markuss Broks , Maksym Holovach X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729723025; l=4396; i=markuss.broks@gmail.com; s=20241024; h=from:subject:message-id; bh=uGxvRrGiZ9uLBWYdiZjpDfcJUgUDjLtTL5MMaS3Y99c=; b=qPBGU4g4UzTmbyW8K01GZbAhJ3thwrS3nfygRW+CZyRP6QN6HO9I+K97XuAksgJIsecePUf7I rEf03pG5egjBT1CsyGfHrc9Ut5Fp/ZIomu0fA2F+mFTrWbl3/YBjz9p X-Developer-Key: i=markuss.broks@gmail.com; a=ed25519; pk=p3Bh4oPpeCrTpffJvGch5WsWNikteWHJ+4LBICPbZg0= Samsung Galaxy S9 (SM-G960F), codenamed starlte, is a mobile phone released in 2017. It has 4GB of RAM, 64GB of UFS storage, Exynos9810 SoC and 1440x2960 Super AMOLED display. This initial device tree enables the framebuffer pre-initialised by bootloader and physical buttons of the device, with more support to come in the future. Co-authored-by: Maksym Holovach Signed-off-by: Markuss Broks --- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos9810-starlte.dts | 119 ++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 7a934499b235892eef38cd926905e02f0ce08278..6760b3d59e819fb52bc8cf4dc6877a0b9db9ce47 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ + exynos9810-starlte.dtb \ exynos990-c1s.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb diff --git a/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts b/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts new file mode 100644 index 0000000000000000000000000000000000000000..f3a1910402b8d686dd7bd156a691ec541e10ad08 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos9810-starlte.dts @@ -0,0 +1,119 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung Galaxy S9 (starlte/SM-G960F) device tree source + * + * Copyright (c) 2024 Markuss Broks + * Copyright (c) 2024 Maksym Holovach + */ + +/dts-v1/; +#include "exynos9810.dtsi" +#include +#include + +/ { + model = "Samsung Galaxy S9 (SM-G960F)"; + compatible = "samsung,starlte", "samsung,exynos9810"; + chassis-type = "handset"; + + chosen { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + compatible = "simple-framebuffer"; + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + width = <1440>; + height = <2960>; + stride = <(1440 * 4)>; + format = "a8r8g8b8"; + }; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x8 0x80000000 0x80000000>, + <0x0 0xc0000000 0x20000000>, + <0x0 0xe1900000 0x1e700000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <1>; + ranges; + + framebuffer@cc000000 { + reg = <0x0 0xcc000000 (1440 * 2960 * 4)>; + no-map; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-0 = <&key_voldown &key_volup &key_bixby &key_power>; + pinctrl-names = "default"; + + /* In stock firmware used for assistant. Map it as a camera button for now */ + bixby-key { + label = "Bixby"; + linux,code = ; + gpios = <&gpa0 6 GPIO_ACTIVE_LOW>; + }; + + power-key { + label = "Power"; + linux,code = ; + gpios = <&gpa2 4 GPIO_ACTIVE_LOW>; + wakeup-source; + }; + + volup-key { + label = "Volume Up"; + linux,code = ; + gpios = <&gpa0 3 GPIO_ACTIVE_LOW>; + }; + + voldown-key { + label = "Volume Down"; + linux,code = ; + gpios = <&gpa0 4 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&oscclk { + clock-frequency = <26000000>; +}; + +&pinctrl_alive { + key_bixby: key-bixby-pins { + samsung,pins = "gpa0-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_volup: key-volup-pins { + samsung,pins = "gpa0-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_voldown: key-voldown-pins { + samsung,pins = "gpa0-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; + + key_power: key-power-pins { + samsung,pins = "gpa2-4"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = ; + }; +};