Skip to content

Commit 87b6426

Browse files
Pascal PailletAlexandre Torgue
authored andcommitted
regulator: Add STM32MP25 regulator bindings
These bindings will be used for the SCMI voltage domain. Signed-off-by: Pascal Paillet <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 81e7b43 commit 87b6426

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Copyright (C) 2024, STMicroelectronics - All Rights Reserved
4+
*/
5+
6+
#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
7+
#define __DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H
8+
9+
/* SCMI voltage domains identifiers */
10+
11+
/* SOC Internal regulators */
12+
#define VOLTD_SCMI_VDDIO1 0
13+
#define VOLTD_SCMI_VDDIO2 1
14+
#define VOLTD_SCMI_VDDIO3 2
15+
#define VOLTD_SCMI_VDDIO4 3
16+
#define VOLTD_SCMI_VDDIO 4
17+
#define VOLTD_SCMI_UCPD 5
18+
#define VOLTD_SCMI_USB33 6
19+
#define VOLTD_SCMI_ADC 7
20+
#define VOLTD_SCMI_GPU 8
21+
#define VOLTD_SCMI_VREFBUF 9
22+
23+
/* STPMIC2 regulators */
24+
#define VOLTD_SCMI_STPMIC2_BUCK1 10
25+
#define VOLTD_SCMI_STPMIC2_BUCK2 11
26+
#define VOLTD_SCMI_STPMIC2_BUCK3 12
27+
#define VOLTD_SCMI_STPMIC2_BUCK4 13
28+
#define VOLTD_SCMI_STPMIC2_BUCK5 14
29+
#define VOLTD_SCMI_STPMIC2_BUCK6 15
30+
#define VOLTD_SCMI_STPMIC2_BUCK7 16
31+
#define VOLTD_SCMI_STPMIC2_LDO1 17
32+
#define VOLTD_SCMI_STPMIC2_LDO2 18
33+
#define VOLTD_SCMI_STPMIC2_LDO3 19
34+
#define VOLTD_SCMI_STPMIC2_LDO4 20
35+
#define VOLTD_SCMI_STPMIC2_LDO5 21
36+
#define VOLTD_SCMI_STPMIC2_LDO6 22
37+
#define VOLTD_SCMI_STPMIC2_LDO7 23
38+
#define VOLTD_SCMI_STPMIC2_LDO8 24
39+
#define VOLTD_SCMI_STPMIC2_REFDDR 25
40+
41+
/* External regulators */
42+
#define VOLTD_SCMI_REGU0 26
43+
#define VOLTD_SCMI_REGU1 27
44+
#define VOLTD_SCMI_REGU2 28
45+
#define VOLTD_SCMI_REGU3 29
46+
#define VOLTD_SCMI_REGU4 30
47+
48+
#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP25_REGULATOR_H */

0 commit comments

Comments
 (0)