Skip to content

Commit 0a4bf0d

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 5405acd commit 0a4bf0d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ ADC
6767
* ``iadc_gecko.c`` driver is replaced by ``adc_silabs_iadc.c``.
6868
:dtcompatible:`silabs,gecko-iadc` is replaced by :dtcompatible:`silabs,iadc`.
6969

70+
* :dtcompatible:`st,stm32-adc` and its derivatives now require the ``clock-names`` property to be
71+
defined and to match the number of clocks in the ``clocks`` property. The expected clock names are
72+
``adcx`` for the register clock, ``adc-ker`` for the kernel source clock, and ``adc-pre`` to set
73+
the ADC prescaler (for series where it is located in the RCC registers).
74+
75+
Clocks
76+
======
77+
78+
* :dtcompatible:`st,stm32f1-rcc` and :dtcompatible:`st,stm32f3-rcc` do not exist anymore. Therefore
79+
``adc-prescaler``, ``adc12-prescaler`` and ``adc34-prescaler`` properties are no longer defined
80+
either. They are replaced by adding the prescaler as an additional clock in the ADC ``clocks``
81+
property.
82+
7083
Comparator
7184
==========
7285

0 commit comments

Comments
 (0)