From 302aae2749ecad108ae412646f249a5669c64993 Mon Sep 17 00:00:00 2001 From: Francois Ramu Date: Fri, 17 Nov 2023 09:51:14 +0100 Subject: [PATCH] doc: releases: add the reference to stm32_lp_tick_source Update migration guide to introduce the stm32_lp_tick_source for stm32 device when choosing the LPTIM fo lowPower modes. Signed-off-by: Francois Ramu --- doc/releases/migration-guide-3.6.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/releases/migration-guide-3.6.rst b/doc/releases/migration-guide-3.6.rst index bd37aa56fb1..f22e921fa15 100644 --- a/doc/releases/migration-guide-3.6.rst +++ b/doc/releases/migration-guide-3.6.rst @@ -118,6 +118,16 @@ Device Drivers and Device Tree * - ``DT_INST_BUS_LABEL(inst)`` - ``DT_PROP(DT_BUS(DT_DRV_INST(inst)), label)`` +* The :dtcompatible:`st,stm32-lptim` lptim which is selected for counting ticks during + low power modes is identified by **stm32_lp_tick_source** in the device tree as follows. + The stm32_lptim_timer driver has been changed to support this. + + .. code-block:: devicetree + + stm32_lp_tick_source: &lptim1 { + status = "okay"; + }; + Power Management ================