From nobody Wed Dec 17 04:40:46 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 5FD342820A8; Tue, 3 Jun 2025 09:04:49 +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=1748941491; cv=none; b=FEVEvyrjTJUPP6WaaJ2/lHetvAfHYx8NT3hWewOjX6lMyLkRMNuIKA0mHnsRRwvpHKTfRjR4rt5O02XVwkaGwobrgrGzYkaD0UdOeDv8RPPT8uMc2FF+qruVurkiyU0wKRIoNqgPZpPEmXrR+tEEa5fPNAyEhrHN/Hnt1MtOvjM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748941491; c=relaxed/simple; bh=zv1I1UrXkiDl5WSqrT1nXAbO4XeUUgCSgG3dxC+Jntg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=RQedTrfG6qftwAnVqO0j+Et8z8FPeLmHSz8alHKkcBcT9tnLSoVh7OfCjVnIl1w43UwDIvuwbuM5m9dC3X8Xd8eYsu+ZCpHZsZzFfYcpQamVVgX6WHUJT92K/HJgpr05rKUAoAhJEyT7Gj/gCEyRRuPZVMMRgWTNuhOkFqvLTII= 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=6B4/subn; 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="6B4/subn" Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5538SF3X003221; Tue, 3 Jun 2025 11:04:30 +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= sa3PvMTjDrUYBUsUzFDVt6E2oQTiF06NUOJk9Q3vBMY=; b=6B4/subnPGkFeI6j VzpNwRjowiDd/EkUP50gd8MIREugu67RQ7+CtV4CeHXPRkJyzMwYGHhOX3vZdIWj 4CBNt7Us1JuMKvqPO+YR7iAXm3BD5/ymDsam/bL0tePb4dQaplv4irea5iE/SNZg e2mKNJ+ZIKN2LuUR7kJiiBT6eOwnbQZOeTiI/5D+qu4RqjYUq3eU7P9rocK0CdGw cVrxPukl46QMB3W7pj4msZ2c65AW0G6D7m3vMhB5Kao4KCVszE7WqLAm0q1BBq/j 7cTcUmauvZO4kcTH4/W1BXKaFC1VJVHZoOsfdq7DHH4uXJCfwfNZFtccc0RmQBs4 ViyTRw== 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 471g93ayj2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Jun 2025 11:04:30 +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 74E5540080; Tue, 3 Jun 2025 11:03:15 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9FAD76CF2C3; Tue, 3 Jun 2025 11:02:33 +0200 (CEST) Received: from localhost (10.48.87.237) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 3 Jun 2025 11:02:33 +0200 From: Amelie Delaunay Date: Tue, 3 Jun 2025 11:02:09 +0200 Subject: [PATCH v2 3/7] dt-bindings: regulator: Add STM32MP15 SCMI regulator identifiers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20250603-stm32mp157f-dk2-v2-3-5be0854a9299@foss.st.com> References: <20250603-stm32mp157f-dk2-v2-0-5be0854a9299@foss.st.com> In-Reply-To: <20250603-stm32mp157f-dk2-v2-0-5be0854a9299@foss.st.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Liam Girdwood , Mark Brown CC: , , , , Amelie Delaunay , Himanshu Bhavani , Etienne Carriere , Pascal Paillet X-Mailer: b4 0.14.2 X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-03_01,2025-06-02_01,2025-03-28_01 From: Etienne Carriere These bindings will be used for the SCMI voltage domain. Signed-off-by: Etienne Carriere Signed-off-by: Pascal Paillet Signed-off-by: Amelie Delaunay Acked-by: Rob Herring (Arm) --- Changes in v2: - Add external regulators and Pascal's SoB --- .../dt-bindings/regulator/st,stm32mp15-regulator.h | 40 ++++++++++++++++++= ++++ 1 file changed, 40 insertions(+) diff --git a/include/dt-bindings/regulator/st,stm32mp15-regulator.h b/inclu= de/dt-bindings/regulator/st,stm32mp15-regulator.h new file mode 100644 index 0000000000000000000000000000000000000000..7052507cb3e509c6802d74682d7= f9700377fe7c7 --- /dev/null +++ b/include/dt-bindings/regulator/st,stm32mp15-regulator.h @@ -0,0 +1,40 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (C) 2025, STMicroelectronics - All Rights Reserved + */ + +#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H +#define __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H + +/* SCMI voltage domain identifiers */ + +/* SOC Internal regulators */ +#define VOLTD_SCMI_REG11 0 +#define VOLTD_SCMI_REG18 1 +#define VOLTD_SCMI_USB33 2 + +/* STPMIC1 regulators */ +#define VOLTD_SCMI_STPMIC1_BUCK1 3 +#define VOLTD_SCMI_STPMIC1_BUCK2 4 +#define VOLTD_SCMI_STPMIC1_BUCK3 5 +#define VOLTD_SCMI_STPMIC1_BUCK4 6 +#define VOLTD_SCMI_STPMIC1_LDO1 7 +#define VOLTD_SCMI_STPMIC1_LDO2 8 +#define VOLTD_SCMI_STPMIC1_LDO3 9 +#define VOLTD_SCMI_STPMIC1_LDO4 10 +#define VOLTD_SCMI_STPMIC1_LDO5 11 +#define VOLTD_SCMI_STPMIC1_LDO6 12 +#define VOLTD_SCMI_STPMIC1_VREFDDR 13 +#define VOLTD_SCMI_STPMIC1_BOOST 14 +#define VOLTD_SCMI_STPMIC1_PWR_SW1 15 +#define VOLTD_SCMI_STPMIC1_PWR_SW2 16 +#define VOLTD_SCMI_VREFBUF 17 + +/* External regulators */ +#define VOLTD_SCMI_REGU0 18 +#define VOLTD_SCMI_REGU1 19 +#define VOLTD_SCMI_REGU2 20 +#define VOLTD_SCMI_REGU3 21 +#define VOLTD_SCMI_REGU4 22 + +#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H */ --=20 2.25.1