Skip to content

Commit 1d4c5ee

Browse files
Mathieu Choplainkartben
authored andcommitted
dts: arm: stm32: update Vref nodes with non-standard resolution
After updating the "st,stm32-vref" binding with a new property containing the calibration data resolution ("vrefint-cal-resolution"), update the corresponding nodes in SoC DTSI files with the proper value. Note that the property is not set on SoCs with resolution of 12, as it is the default value specified for the property in the binding. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent a8fd04a commit 1d4c5ee

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,7 @@
11071107
compatible = "st,stm32-vref";
11081108
vrefint-cal-addr = <0x1FF1E860>;
11091109
vrefint-cal-mv = <3300>;
1110+
vrefint-cal-resolution = <16>;
11101111
status = "disabled";
11111112
};
11121113

dts/arm/st/u5/stm32u5.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@
959959
compatible = "st,stm32-vref";
960960
vrefint-cal-addr = <0x0BFA07A5>;
961961
vrefint-cal-mv = <3000>;
962+
vrefint-cal-resolution = <14>;
962963
io-channels = <&adc1 0>;
963964
status = "disabled";
964965
};
@@ -967,6 +968,7 @@
967968
compatible = "st,stm32-vref";
968969
vrefint-cal-addr = <0x0BFA07A5>;
969970
vrefint-cal-mv = <3000>;
971+
vrefint-cal-resolution = <14>;
970972
io-channels = <&adc4 0>;
971973
status = "disabled";
972974
};

0 commit comments

Comments
 (0)