Skip to content
Commit bbac316b authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Fabio Baltieri
Browse files

drivers: timer: stm32: Use dt to configure LPTIM domain clock



Instead of relying on Kconfig, use dt inputs to configure LPTIM domain
clck (LSI/lSE).
Clock control dedicated APIs are used for configuration and get the
frequency of domain clock in use.
Constants macros used previously to store frequency and time base are
converted to static global variables.

Some code was set up specifically to keep compatibility with targets
that still use Kconfig to configure domain clock. This will be removed
after a deprecation period.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 7f6d3e53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment