From nobody Fri Dec 19 02:49:58 2025
Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com
[91.207.212.93])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3C5914F12D;
Fri, 28 Jun 2024 08:59:29 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=91.207.212.93
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719565171; cv=none;
b=ll/J6AJ70Ka6RRWmDXqY8GTR+F0QEjkd+GhWGCUT76iTVwe7nfjufM/lSD91tCxLK0o1wlZw+TOC2Niuc0dOCgi4nfoBhQ2/1uiCRccqnpLpYyQ+fxD+Bs7+YsCw6uJtnCvuDRtVmeiyx/UcpWLy/8vN+/pP636G15LDIf5hx6c=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719565171; c=relaxed/simple;
bh=x4eAbpC/g+Yds3Ly2t/Xrrz9Yi+TS8rO7V4YcWi34Qg=;
h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version:Content-Type;
b=OfdIfsqi5bzAoCQ+StAmybsqmqYzii/fO2ddW8OY3W3akyPHKyzWAsWZeWVprD2YRCAeGT9rUp+xMd+UJiCW6ZcctUUJcLRF4BniTYizPBfZvHb70OL2SWPt7mn5HQIrEwYPO1PEuBGSwDNZ4LwRelenLtoXtDB4CCwK6Ex9Dxw=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com;
spf=pass smtp.mailfrom=foss.st.com;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b=VxZca3uo; arc=none smtp.client-ip=91.207.212.93
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b="VxZca3uo"
Received: from pps.filterd (m0369457.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id
45S143UX022293;
Fri, 28 Jun 2024 10:59:11 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=selector1; bh=
4/XNROgheAaG5E622Z9jFC/AgeGAisfMs+xMXlZ+JqI=; b=VxZca3uo540aAxt/
F2vhi1gwP/b8Fdqb4OLz83FhpF2fjBrI0nqycZQyIc+b+c5/qRIb1R7uDZI8wzcL
bHdPSprRIlMvPFEmHlEG4OAM74qu14/+j5NAEx3oUQp2SsNhn+twEU5V7u0k/Ng1
1awduYg3ZzxlEmhBJ3k3TiIAKWvF9QZD0TEbhpGm1y/ZKX6mvBxr6aO62bQfSEDn
CsnG7v1X7ud2PzPi5Rrdbb5zp0l7zm2VwUlIxeFJNrJdSHfZDaWB1Wai74HA2X66
gYEDPUNTk4FzmTlyKGozn68+7wwrJXa7At5vpJ4gvDv6hdoO65nefHR2+AJjAe1a
nim2GQ==
Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])
by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yx9jjpgcj-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Fri, 28 Jun 2024 10:59:11 +0200 (MEST)
Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])
by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id C85294002D;
Fri, 28 Jun 2024 10:59:06 +0200 (CEST)
Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70])
by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D4C5B21195F;
Fri, 28 Jun 2024 10:58:20 +0200 (CEST)
Received: from localhost (10.252.26.109) by SHFDAG1NODE2.st.com (10.75.129.70)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 28 Jun
2024 10:58:19 +0200
From: Pascal Paillet
To: Catalin Marinas , Will Deacon ,
Rob Herring ,
Krzysztof Kozlowski ,
Conor Dooley ,
Maxime Coquelin
,
Alexandre Torgue ,
Liam Girdwood , Mark Brown ,
,
,
,
CC: , Etienne Carriere
Subject: [PATCH v2 1/4] regulators: dt-bindings: add STM32MP25 regulator
bindings
Date: Fri, 28 Jun 2024 10:58:11 +0200
Message-ID: <20240628085814.1586186-2-p.paillet@foss.st.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240628085814.1586186-1-p.paillet@foss.st.com>
References: <20240628085814.1586186-1-p.paillet@foss.st.com>
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com
(10.75.129.70)
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16
definitions=2024-06-28_05,2024-06-28_01,2024-05-17_01
Content-Type: text/plain; charset="utf-8"
These bindings will be used for the SCMI voltage domain.
Signed-off-by: Pascal Paillet
Acked-by: Krzysztof Kozlowski
Acked-by: Mark Brown
---
.../regulator/st,stm32mp25-regulator.h | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 include/dt-bindings/regulator/st,stm32mp25-regulator.h
diff --git a/include/dt-bindings/regulator/st,stm32mp25-regulator.h b/inclu=
de/dt-bindings/regulator/st,stm32mp25-regulator.h
new file mode 100644
index 000000000000..3c3d30911dd0
--- /dev/null
+++ b/include/dt-bindings/regulator/st,stm32mp25-regulator.h
@@ -0,0 +1,48 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2024, STMicroelectronics - All Rights Reserved
+ */
+
+#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
+#define __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
+
+/* SCMI voltage domains identifiers */
+
+/* SOC Internal regulators */
+#define VOLTD_SCMI_VDDIO1 0
+#define VOLTD_SCMI_VDDIO2 1
+#define VOLTD_SCMI_VDDIO3 2
+#define VOLTD_SCMI_VDDIO4 3
+#define VOLTD_SCMI_VDDIO 4
+#define VOLTD_SCMI_UCPD 5
+#define VOLTD_SCMI_USB33 6
+#define VOLTD_SCMI_ADC 7
+#define VOLTD_SCMI_GPU 8
+#define VOLTD_SCMI_VREFBUF 9
+
+/* STPMIC2 regulators */
+#define VOLTD_SCMI_STPMIC2_BUCK1 10
+#define VOLTD_SCMI_STPMIC2_BUCK2 11
+#define VOLTD_SCMI_STPMIC2_BUCK3 12
+#define VOLTD_SCMI_STPMIC2_BUCK4 13
+#define VOLTD_SCMI_STPMIC2_BUCK5 14
+#define VOLTD_SCMI_STPMIC2_BUCK6 15
+#define VOLTD_SCMI_STPMIC2_BUCK7 16
+#define VOLTD_SCMI_STPMIC2_LDO1 17
+#define VOLTD_SCMI_STPMIC2_LDO2 18
+#define VOLTD_SCMI_STPMIC2_LDO3 19
+#define VOLTD_SCMI_STPMIC2_LDO4 20
+#define VOLTD_SCMI_STPMIC2_LDO5 21
+#define VOLTD_SCMI_STPMIC2_LDO6 22
+#define VOLTD_SCMI_STPMIC2_LDO7 23
+#define VOLTD_SCMI_STPMIC2_LDO8 24
+#define VOLTD_SCMI_STPMIC2_REFDDR 25
+
+/* External regulators */
+#define VOLTD_SCMI_REGU0 26
+#define VOLTD_SCMI_REGU1 27
+#define VOLTD_SCMI_REGU2 28
+#define VOLTD_SCMI_REGU3 29
+#define VOLTD_SCMI_REGU4 30
+
+#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H */
--=20
2.34.1
From nobody Fri Dec 19 02:49:58 2025
Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com
[185.132.182.106])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AE8114F9C9;
Fri, 28 Jun 2024 08:59:30 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=185.132.182.106
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719565172; cv=none;
b=aGCcRqexyDqGIJJukCzHZ/VvPRVGFvaecPJ1jsonUp0MV8fetn2xfAfWQgCPyyollJGcQVWtvKjZv1N0hneRDJdXaFVutjmCnyX5yR381MEu5rH4HAZKjmryoyUxV9uiyeTVjF0xk/CbQZKwcCOqbtJpMwhuLOhmjUwf4+dLOdE=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719565172; c=relaxed/simple;
bh=UXtR4RS42xrG/bQ0m5u44ggsOqsWDIra3jHzkT/B7sQ=;
h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version:Content-Type;
b=RnbpqtALVyFV/hIp8CkP+Q8AMEUf5/jGZqxI6RRqAIUBVGibjCNzxPYm2/LhzY77KQNGOkzU3+qdSu+RlJP7Rpvasa2RTDzReCDD7zStnbmMwEFMDCOXGOC0oOoLQEFRIRFEoyAI3sc1owxa3jwux+4N3U2z88CrDWGfSdYtKnc=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com;
spf=pass smtp.mailfrom=foss.st.com;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b=BOeLudkI; arc=none smtp.client-ip=185.132.182.106
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b="BOeLudkI"
Received: from pps.filterd (m0288072.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id
45S8wi4K005043;
Fri, 28 Jun 2024 10:59:14 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=selector1; bh=
HSEeHUr0hh897plAMVxrPawkWTVmj0QotMkNEu3ecZk=; b=BOeLudkIy3GAV1Jx
4fDQqmxx1bdJ9+pvpIrVAVa2J/56iOmy3mWa3oqBNIxtv2zgULX+deYsgiLIGmbx
qIhGACwVApvzCfOfntJ/G3zm6xa2u02d6LENx7v6BWUBt+1+nSOhwyaLUCWKFM88
VVNlmQ3Bz7irQ+pByLFqvsgMZM0MLey1W/5m50W3RMTl9vECOiIalK5faeT959Ez
5ioYtrB3ZbRDejeuPiBo8pPwfpk2QMHsEI1b2nFAKs5/jhZxdA5g5GqdmrI3F+5H
0xtFiWpiWb3XUODIDKGzxkBBCs1k+ltoWuUJBqkldhXJd11iiSqn0xjLKt8ZkhtW
JnSSbg==
Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])
by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ywm1gsjpj-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Fri, 28 Jun 2024 10:59:14 +0200 (MEST)
Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])
by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 78DCD40044;
Fri, 28 Jun 2024 10:59:10 +0200 (CEST)
Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70])
by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id ABF9B21ADAD;
Fri, 28 Jun 2024 10:58:23 +0200 (CEST)
Received: from localhost (10.252.26.109) by SHFDAG1NODE2.st.com (10.75.129.70)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 28 Jun
2024 10:58:20 +0200
From: Pascal Paillet
To: Catalin Marinas , Will Deacon ,
Rob Herring ,
Krzysztof Kozlowski ,
Conor Dooley ,
Maxime Coquelin
,
Alexandre Torgue ,
Liam Girdwood , Mark Brown ,
,
,
,
CC: , Etienne Carriere
Subject: [PATCH v2 2/4] arm64: dts: st: add scmi regulators on stm32mp25
Date: Fri, 28 Jun 2024 10:58:12 +0200
Message-ID: <20240628085814.1586186-3-p.paillet@foss.st.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240628085814.1586186-1-p.paillet@foss.st.com>
References: <20240628085814.1586186-1-p.paillet@foss.st.com>
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com
(10.75.129.70)
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16
definitions=2024-06-28_05,2024-06-28_01,2024-05-17_01
Content-Type: text/plain; charset="utf-8"
Add SCMI regulators description on STM32MP25.
Signed-off-by: Pascal Paillet
---
arch/arm64/boot/dts/st/stm32mp251.dtsi | 35 ++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/s=
t/stm32mp251.dtsi
index 96d6de29c14c..18094dadc9c4 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -6,6 +6,7 @@
#include
#include
#include
+#include
=20
/ {
#address-cells =3D <2>;
@@ -75,6 +76,40 @@ scmi_reset: protocol@16 {
reg =3D <0x16>;
#reset-cells =3D <1>;
};
+
+ scmi_voltd: protocol@17 {
+ reg =3D <0x17>;
+
+ scmi_regu: regulators {
+ #address-cells =3D <1>;
+ #size-cells =3D <0>;
+
+ scmi_vddio1: regulator@0 {
+ reg =3D ;
+ regulator-name =3D "vddio1";
+ };
+ scmi_vddio2: regulator@1 {
+ reg =3D ;
+ regulator-name =3D "vddio2";
+ };
+ scmi_vddio3: regulator@2 {
+ reg =3D ;
+ regulator-name =3D "vddio3";
+ };
+ scmi_vddio4: regulator@3 {
+ reg =3D ;
+ regulator-name =3D "vddio4";
+ };
+ scmi_vdd33ucpd: regulator@5 {
+ reg =3D ;
+ regulator-name =3D "vdd33ucpd";
+ };
+ scmi_vdda18adc: regulator@7 {
+ reg =3D ;
+ regulator-name =3D "vdda18adc";
+ };
+ };
+ };
};
};
=20
--=20
2.34.1
From nobody Fri Dec 19 02:49:58 2025
Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com
[91.207.212.93])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60BC41514DC;
Fri, 28 Jun 2024 08:59:32 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=91.207.212.93
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719565175; cv=none;
b=OQmqt48wEmljHYKFgQZRh+KiP9uqlJtt8X+YDz7CmyDNanUpGX3acv3pajUzzu/GglDpT8zqJWpNurTscaKZc5jTtXidBi3XBv3KTVWMn68aoY5KDYGkPfh7d5C3zwvFAqETfc0rET2aScFpjIWQtQ+53zEk9oV+sDltzoChle8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719565175; c=relaxed/simple;
bh=eKmEApCLtrBXoEas0MfyfelglNHo/OxwLXCHMlRaR9E=;
h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version:Content-Type;
b=bWJF2/My2Gaw3KWui1GaFSsl8/S+WyU+SkS3CNlCXcGvfyFQDzsyZCrDaL5OiRuGsQf44IO4zA4ugGDpk3styoCMwNDEkD6Ys0X8+2BXCaOD1VpKYaWxyuiD9wkgiD+6TVzXxrZ/2IUIB63r8KeOKTVGb7Pha1slByJuiE407ws=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com;
spf=pass smtp.mailfrom=foss.st.com;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b=P3M/44Po; arc=none smtp.client-ip=91.207.212.93
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b="P3M/44Po"
Received: from pps.filterd (m0046661.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id
45S118of023905;
Fri, 28 Jun 2024 10:59:15 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=selector1; bh=
KZgWttku0OrDv1E5xjjSYd/Hd42fWLcFhwhUgXT4EB4=; b=P3M/44PoIDL1suJP
i65AUpyBxkZYT97XQVPoorppLfIXee1fke/WYu246bSGVIqns65jXebh0qfl9ONo
Ul0cvsyd2vHAJoYOlBr+5lQXquVli/Lsh40wFFsw0s+YED7WMl7rFcBZC2hXT1P5
SngCh3VHQ+1YqNhNS6a7MCwNanm0ikczQpIeOpKz2Hptz+kOd90/RiIK/vq/P1G0
XvM6pl+2uFGxh3qFqfpPTSNiNSKDqM3PpBBayzOjvUdbby9yj8UScrShH6gKX3fz
o+Sdd/zWGkBG8xoNjJDC+NHymLKM16hnC+9vK1+Ez02zH4iDnVn5xs3KdGTLxC1n
fz2Hlg==
Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])
by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ywngdrmcw-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Fri, 28 Jun 2024 10:59:15 +0200 (MEST)
Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])
by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 242E840046;
Fri, 28 Jun 2024 10:59:11 +0200 (CEST)
Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70])
by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7FD1421ADA7;
Fri, 28 Jun 2024 10:58:22 +0200 (CEST)
Received: from localhost (10.252.26.109) by SHFDAG1NODE2.st.com (10.75.129.70)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 28 Jun
2024 10:58:21 +0200
From: Pascal Paillet
To: Catalin Marinas , Will Deacon ,
Rob Herring ,
Krzysztof Kozlowski ,
Conor Dooley ,
Maxime Coquelin
,
Alexandre Torgue ,
Liam Girdwood , Mark Brown ,
,
,
,
CC: , Etienne Carriere
Subject: [PATCH v2 3/4] arm64: dts: st: describe power supplies for
stm32mp257f-ev1 board
Date: Fri, 28 Jun 2024 10:58:13 +0200
Message-ID: <20240628085814.1586186-4-p.paillet@foss.st.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240628085814.1586186-1-p.paillet@foss.st.com>
References: <20240628085814.1586186-1-p.paillet@foss.st.com>
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com
(10.75.129.70)
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16
definitions=2024-06-28_05,2024-06-28_01,2024-05-17_01
Content-Type: text/plain; charset="utf-8"
Describe power supplies for stm32mp257f-ev1 board.
Signed-off-by: Pascal Paillet
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 43 +++++++++++++++++-----
1 file changed, 34 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/d=
ts/st/stm32mp257f-ev1.dts
index 18c6266532b2..979847e0ea05 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -7,6 +7,7 @@
/dts-v1/;
=20
#include
+#include
#include "stm32mp257.dtsi"
#include "stm32mp25xf.dtsi"
#include "stm32mp25-pinctrl.dtsi"
@@ -41,14 +42,6 @@ fw@80000000 {
no-map;
};
};
-
- vdd_sdcard: vdd-sdcard {
- compatible =3D "regulator-fixed";
- regulator-name =3D "vdd_sdcard";
- regulator-min-microvolt =3D <3300000>;
- regulator-max-microvolt =3D <3300000>;
- regulator-always-on;
- };
};
=20
&arm_wdt {
@@ -56,6 +49,37 @@ &arm_wdt {
status =3D "okay";
};
=20
+&scmi_regu {
+ scmi_vddio1: regulator@0 {
+ regulator-min-microvolt =3D <1800000>;
+ regulator-max-microvolt =3D <3300000>;
+ };
+ scmi_vddcore: regulator@11 {
+ reg =3D ;
+ regulator-name =3D "vddcore";
+ };
+ scmi_v1v8: regulator@14 {
+ reg =3D ;
+ regulator-name =3D "v1v8";
+ };
+ scmi_v3v3: regulator@16 {
+ reg =3D ;
+ regulator-name =3D "v3v3";
+ };
+ scmi_vdd_emmc: regulator@18 {
+ reg =3D ;
+ regulator-name =3D "vdd_emmc";
+ };
+ scmi_vdd3v3_usb: regulator@20 {
+ reg =3D ;
+ regulator-name =3D "vdd3v3_usb";
+ };
+ scmi_vdd_sdcard: regulator@23 {
+ reg =3D ;
+ regulator-name =3D "vdd_sdcard";
+ };
+};
+
&i2c2 {
pinctrl-names =3D "default", "sleep";
pinctrl-0 =3D <&i2c2_pins_a>;
@@ -85,7 +109,8 @@ &sdmmc1 {
disable-wp;
st,neg-edge;
bus-width =3D <4>;
- vmmc-supply =3D <&vdd_sdcard>;
+ vmmc-supply =3D <&scmi_vdd_sdcard>;
+ vqmmc-supply =3D <&scmi_vddio1>;
status =3D "okay";
};
=20
--=20
2.34.1
From nobody Fri Dec 19 02:49:58 2025
Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com
[91.207.212.93])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 318F5150996;
Fri, 28 Jun 2024 08:59:31 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=91.207.212.93
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719565174; cv=none;
b=KlrFw8gAW+2w/c9FE7ancXmE4BNf6wdJlkgFQK7OrgP60UrJgR5m1peEzfUWYGSeiqeZp0dBLULs4WSccaX/png/Sqy8rN0QErioekRJ/nZXrnUYlkCD1PIszrdNThIphJcS+MgW2SUmH0dAGJwxc5n7kU11Q+grr8s0f+tgS8A=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719565174; c=relaxed/simple;
bh=+w4Yz/ZaM+lGunuI6paSxIckwQy8JHS2c8fwmVwsTHE=;
h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version:Content-Type;
b=Uanu3fp3SfoWuX2qEEWT7ZwmB+F+ZuyjS9RZmzcqeywEXTrIwYL2H6f0QerBFN68tsZw+MWHFFnmYUYEBi4ng+3cgcPws9cJXdEc9sP5vvIhgEvHuHNN2mIGFaqI4uvKg4n4j5V5KIgZtD9m7YHrKki96pf9KaYqivCn2jARvZ4=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com;
spf=pass smtp.mailfrom=foss.st.com;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b=a/juoRNW; arc=none smtp.client-ip=91.207.212.93
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=none dis=none) header.from=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=foss.st.com
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com
header.b="a/juoRNW"
Received: from pps.filterd (m0369457.ppops.net [127.0.0.1])
by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id
45S143JW022309;
Fri, 28 Jun 2024 10:59:15 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=selector1; bh=
c+iZHm8zx6LxaqkfrOvGEiThh6zj8iGmK/s1bGa2eq4=; b=a/juoRNWpWnBP1Lv
en8bcNKUlMxBZSsHoqPl17J8BmWVuSXIrUeloERkVNxCxfxq1Khzmap5pc7o5tZN
gGa8nq7xAXA3e+QRANL+Y3vMkPdffv7Pj17L3ntUzoz3en6qaSbrrz2ed8Dx+O2+
8tyjxIWnyee45lIEGMpqM3YmD8nL7owJqt+ygLvGd8txhrkUkoCBBTXg+5o3mqjt
M1Zrp9H5PiKaxkFVwea71IdcFzmAdRTSnPBBRdTYxskR85OBilS2bPks9MpHtKrx
uYeS9rPvr/YQs/6Af3BvOpw7mxNq6+imGD+BIgCPiFA6b9ZkZEjkd+0FHFBgpkkI
gWWdEw==
Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])
by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yx9jjpgct-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
Fri, 28 Jun 2024 10:59:15 +0200 (MEST)
Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])
by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 18DCB40045;
Fri, 28 Jun 2024 10:59:11 +0200 (CEST)
Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70])
by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B1F8521ADBF;
Fri, 28 Jun 2024 10:58:22 +0200 (CEST)
Received: from localhost (10.252.26.109) by SHFDAG1NODE2.st.com (10.75.129.70)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 28 Jun
2024 10:58:22 +0200
From: Pascal Paillet
To: Catalin Marinas , Will Deacon ,
Rob Herring ,
Krzysztof Kozlowski ,
Conor Dooley ,
Maxime Coquelin
,
Alexandre Torgue ,
Liam Girdwood , Mark Brown ,
,
,
,
CC: , Etienne Carriere
Subject: [PATCH v2 4/4] arm64: stm32: enable scmi regulator for stm32
Date: Fri, 28 Jun 2024 10:58:14 +0200
Message-ID: <20240628085814.1586186-5-p.paillet@foss.st.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20240628085814.1586186-1-p.paillet@foss.st.com>
References: <20240628085814.1586186-1-p.paillet@foss.st.com>
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com
(10.75.129.70)
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16
definitions=2024-06-28_05,2024-06-28_01,2024-05-17_01
Content-Type: text/plain; charset="utf-8"
Add SCMI ARM REGULATOR configuration for stm32.
Signed-off-by: Pascal Paillet
---
arch/arm64/Kconfig.platforms | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index a52618073de2..3738a9fc2d6c 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -312,6 +312,8 @@ config ARCH_STM32
select STM32_EXTI
select ARM_SMC_MBOX
select ARM_SCMI_PROTOCOL
+ select REGULATOR
+ select REGULATOR_ARM_SCMI
select COMMON_CLK_SCMI
select STM32_FIREWALL
help
--=20
2.34.1