Skip to content

Commit 4222026

Browse files
committed
doc: releases: update migration guide for stm32 adc
Update the 4.3 migration guide to include the change made on the STM32 ADC clocks. Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 13d52b9 commit 4222026

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ ADC
8686
* ``iadc_gecko.c`` driver is replaced by ``adc_silabs_iadc.c``.
8787
:dtcompatible:`silabs,gecko-iadc` is replaced by :dtcompatible:`silabs,iadc`.
8888

89+
* :dtcompatible:`st,stm32-adc` and its derivatives now require the ``clock-names`` property to be
90+
defined and to match the number of clocks in the ``clocks`` property. The expected clock names are
91+
``adcx`` for the register clock, ``adc-ker`` for the kernel source clock, and ``adc-pre`` to set
92+
the ADC prescaler (for series where it is located in the RCC registers).
93+
8994
Clock Control
9095
=============
9196

@@ -94,6 +99,11 @@ Clock Control
9499
is enabled (otherwise, the symbol is not defined). This change should only affect STM32 MPU-based
95100
platforms and aligns them with existing practice from STM32 MCU platforms.
96101

102+
* :dtcompatible:`st,stm32f1-rcc` and :dtcompatible:`st,stm32f3-rcc` do not exist anymore. Therefore
103+
``adc-prescaler``, ``adc12-prescaler`` and ``adc34-prescaler`` properties are no longer defined
104+
either. They are replaced by adding the prescaler as an additional clock in the ADC ``clocks``
105+
property.
106+
97107
Comparator
98108
==========
99109

0 commit comments

Comments
 (0)