Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: regulator: Add STM32MP15 SCMI regulator identifiers

These bindings will be used for the SCMI voltage domain.

Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Signed-off-by: Pascal Paillet <p.paillet@foss.st.com>
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250603-stm32mp157f-dk2-v2-3-5be0854a9299@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Etienne Carriere and committed by
Alexandre Torgue
9bc35edb 8ac2fba0

+40
+40
include/dt-bindings/regulator/st,stm32mp15-regulator.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (C) 2025, STMicroelectronics - All Rights Reserved 4 + */ 5 + 6 + #ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H 7 + #define __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H 8 + 9 + /* SCMI voltage domain 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 + 16 + /* STPMIC1 regulators */ 17 + #define VOLTD_SCMI_STPMIC1_BUCK1 3 18 + #define VOLTD_SCMI_STPMIC1_BUCK2 4 19 + #define VOLTD_SCMI_STPMIC1_BUCK3 5 20 + #define VOLTD_SCMI_STPMIC1_BUCK4 6 21 + #define VOLTD_SCMI_STPMIC1_LDO1 7 22 + #define VOLTD_SCMI_STPMIC1_LDO2 8 23 + #define VOLTD_SCMI_STPMIC1_LDO3 9 24 + #define VOLTD_SCMI_STPMIC1_LDO4 10 25 + #define VOLTD_SCMI_STPMIC1_LDO5 11 26 + #define VOLTD_SCMI_STPMIC1_LDO6 12 27 + #define VOLTD_SCMI_STPMIC1_VREFDDR 13 28 + #define VOLTD_SCMI_STPMIC1_BOOST 14 29 + #define VOLTD_SCMI_STPMIC1_PWR_SW1 15 30 + #define VOLTD_SCMI_STPMIC1_PWR_SW2 16 31 + #define VOLTD_SCMI_VREFBUF 17 32 + 33 + /* External regulators */ 34 + #define VOLTD_SCMI_REGU0 18 35 + #define VOLTD_SCMI_REGU1 19 36 + #define VOLTD_SCMI_REGU2 20 37 + #define VOLTD_SCMI_REGU3 21 38 + #define VOLTD_SCMI_REGU4 22 39 + 40 + #endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H */