diff mbox series

[08/14] dt-bindings: add stm32mp15 regulators binding IDs

Message ID 20211104142324.2879-8-etienne.carriere@linaro.org
State New
Headers show
Series [01/14] firmware: scmi: fix description of an API function | expand

Commit Message

Etienne Carriere Nov. 4, 2021, 2:23 p.m. UTC
Define stm32mp15 voltage domain DT bindings IDs.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>

---
 .../regulator/st,stm32mp15-regulator.h        | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 include/dt-bindings/regulator/st,stm32mp15-regulator.h

-- 
2.17.1
diff mbox series

Patch

diff --git a/include/dt-bindings/regulator/st,stm32mp15-regulator.h b/include/dt-bindings/regulator/st,stm32mp15-regulator.h
new file mode 100644
index 0000000000..96eb578c00
--- /dev/null
+++ b/include/dt-bindings/regulator/st,stm32mp15-regulator.h
@@ -0,0 +1,29 @@ 
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
+ */
+
+#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H
+#define __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H
+
+/* SCMI voltage domain identifiers */
+
+#define VOLTD_SCMI0_REG11		0
+#define VOLTD_SCMI0_REG18		1
+#define VOLTD_SCMI0_USB33		2
+#define VOLTD_SCMI0_STPMIC1_BUCK1	3
+#define VOLTD_SCMI0_STPMIC1_BUCK2	4
+#define VOLTD_SCMI0_STPMIC1_BUCK3	5
+#define VOLTD_SCMI0_STPMIC1_BUCK4	6
+#define VOLTD_SCMI0_STPMIC1_LDO1	7
+#define VOLTD_SCMI0_STPMIC1_LDO2	8
+#define VOLTD_SCMI0_STPMIC1_LDO3	9
+#define VOLTD_SCMI0_STPMIC1_LDO4	10
+#define VOLTD_SCMI0_STPMIC1_LDO5	11
+#define VOLTD_SCMI0_STPMIC1_LDO6	12
+#define VOLTD_SCMI0_STPMIC1_VREFDDR	13
+#define VOLTD_SCMI0_STPMIC1_BOOST	14
+#define VOLTD_SCMI0_STPMIC1_PWR_SW1	15
+#define VOLTD_SCMI0_STPMIC1_PWR_SW2	16
+
+#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H */