Skip to content

Commit fe95052

Browse files
etienne-lmsAlexandre Torgue
authored andcommitted
dt-bindings: rcc: stm32: add STM32MP13 SCMI regulators IDs
Adds SCMI regulator identifiers for STM32MP13x family. Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
1 parent 10a970b commit fe95052

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
2+
/*
3+
* Copyright (C) 2022, STMicroelectronics - All Rights Reserved
4+
*/
5+
6+
#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H
7+
#define __DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H
8+
9+
/* SCMI voltage domains identifiers */
10+
11+
/* SOC Internal regulators */
12+
#define VOLTD_SCMI_REG11 0
13+
#define VOLTD_SCMI_REG18 1
14+
#define VOLTD_SCMI_USB33 2
15+
#define VOLTD_SCMI_SDMMC1_IO 3
16+
#define VOLTD_SCMI_SDMMC2_IO 4
17+
#define VOLTD_SCMI_VREFBUF 5
18+
19+
/* STPMIC1 regulators */
20+
#define VOLTD_SCMI_STPMIC1_BUCK1 6
21+
#define VOLTD_SCMI_STPMIC1_BUCK2 7
22+
#define VOLTD_SCMI_STPMIC1_BUCK3 8
23+
#define VOLTD_SCMI_STPMIC1_BUCK4 9
24+
#define VOLTD_SCMI_STPMIC1_LDO1 10
25+
#define VOLTD_SCMI_STPMIC1_LDO2 11
26+
#define VOLTD_SCMI_STPMIC1_LDO3 12
27+
#define VOLTD_SCMI_STPMIC1_LDO4 13
28+
#define VOLTD_SCMI_STPMIC1_LDO5 14
29+
#define VOLTD_SCMI_STPMIC1_LDO6 15
30+
#define VOLTD_SCMI_STPMIC1_VREFDDR 16
31+
#define VOLTD_SCMI_STPMIC1_BOOST 17
32+
#define VOLTD_SCMI_STPMIC1_PWR_SW1 18
33+
#define VOLTD_SCMI_STPMIC1_PWR_SW2 19
34+
35+
/* External regulators */
36+
#define VOLTD_SCMI_REGU0 20
37+
#define VOLTD_SCMI_REGU1 21
38+
#define VOLTD_SCMI_REGU2 22
39+
#define VOLTD_SCMI_REGU3 23
40+
#define VOLTD_SCMI_REGU4 24
41+
42+
#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP13_REGULATOR_H */

0 commit comments

Comments
 (0)