Skip to content

Commit bcd6cc9

Browse files
ADESTMAlexandre Torgue
authored andcommitted
ARM: dts: stm32: use internal regulators bindings for MP15 scmi variants
Use the SCMI voltage domain bindings for internal regulators on stm32mp15. Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20250603-stm32mp157f-dk2-v2-4-5be0854a9299@foss.st.com Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
1 parent 9bc35ed commit bcd6cc9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

arch/arm/boot/dts/st/stm32mp15-scmi.dtsi

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
55
*/
66

7+
#include <dt-bindings/regulator/st,stm32mp15-regulator.h>
8+
79
/ {
810
firmware {
911
optee: optee {
@@ -35,21 +37,21 @@
3537
#size-cells = <0>;
3638

3739
scmi_reg11: regulator@0 {
38-
reg = <0>;
40+
reg = <VOLTD_SCMI_REG11>;
3941
regulator-name = "reg11";
4042
regulator-min-microvolt = <1100000>;
4143
regulator-max-microvolt = <1100000>;
4244
};
4345

4446
scmi_reg18: regulator@1 {
45-
reg = <1>;
47+
reg = <VOLTD_SCMI_REG18>;
4648
regulator-name = "reg18";
4749
regulator-min-microvolt = <1800000>;
4850
regulator-max-microvolt = <1800000>;
4951
};
5052

5153
scmi_usb33: regulator@2 {
52-
reg = <2>;
54+
reg = <VOLTD_SCMI_USB33>;
5355
regulator-name = "usb33";
5456
regulator-min-microvolt = <3300000>;
5557
regulator-max-microvolt = <3300000>;

0 commit comments

Comments
 (0)