From patchwork Fri Jun 28 08:58:11 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pascal Paillet
X-Patchwork-Id: 13715740
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.lore.kernel.org (Postfix) with ESMTPS id 144A2C2BBCA
for ;
Fri, 28 Jun 2024 08:59:55 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help
:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:
Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date
:Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;
bh=4/XNROgheAaG5E622Z9jFC/AgeGAisfMs+xMXlZ+JqI=; b=WuI6pI4G6LQGoXqB9ICP9ciJkO
NlOsoywF4vnKU8xVdf8ECb1iJ6S9N2YaKYXsJ+8X+82/VFpIlyJC8/A+TkxoNLCkEVE0gmCfV31Fm
hLeSXEIY1EtAkftU99MesVxqB8xjJpyfh+2996JrltbEgZgg9Zh3iHga0LqPct35N/zS1APTG4ZNf
ZMvLqyV3U2uDD+23uiZMdDevySGTWiBLaS8X4oRGXvbIyajAO6iW+sswVG+9c2cWP/CVMcgcDE4HR
G8v+FlRoPwPViYqap1Dj553TxgbqrKZxWY3XMAAoWwl86Qs6+HIyesaf2HbhL3OsJa1clp3UltGlM
guB4aoJg==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux))
id 1sN7SG-0000000D9tD-1Zw0;
Fri, 28 Jun 2024 08:59:40 +0000
Received: from mx08-00178001.pphosted.com ([91.207.212.93])
by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux))
id 1sN7Rz-0000000D9oC-3QTA
for linux-arm-kernel@lists.infradead.org;
Fri, 28 Jun 2024 08:59:25 +0000
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>
MIME-Version: 1.0
X-Originating-IP: [10.252.26.109]
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
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20240628_015924_334988_1E244059
X-CRM114-Status: GOOD ( 12.48 )
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org
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/include/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 */