stm32: PWM: "st,prescaler" pwm property moved to timers node

Alexandre BOURDIOL <alexandre.bourdiol@...>

Hi all,


I'd like to inform STM32 PWM users that I'm pushing a change [1] to move Device Tree property "st,prescaler" from pwm node to timers node.

Benefit is that it reflect hardware reality, and prescaler is usable by  other drivers based on timers (like counter with ongoing PR #39414)


This change will be hopefully integrated in the next Zephyr DV.

Note that I temporarily avoid compatibility break:  if "st,prescaler" is defined in PWM node, it will be the value used by PWM driver.






Alexandre Bourdiol