drivers: clock_control: smartbond: Move calibration to DT

Calibration interval was specified in Kconfig now
configuration is moved to device tree.
This allows to have different values for RCX and RC32K.

While calibration is vital for correct system timing, it
periodically schedules work that measures frequency of RCX or
RC32K.

Now it's also possible to set calibration interval to 0
to prevent calibration entirely. This may be useful for
scheduling tests that are sensitive to number of active
threads.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg.xr@bp.renesas.com>
4 files changed