soc: nxp_rw6xx: Update SYS_CLOCK_TICKS_PER_SEC for PM mode 3

Since the clock source when running in PM mode 3 is the
slower 1KHx clock, we adjust the SYS_CLOCK_TICKS_PER_SEC
value to get better accuracy.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2024-06-23 03:51:03 +01:00 committed by Benjamin Cabé
commit 15d8fd2ad3

View file

@ -57,4 +57,12 @@ if WIFI
orsource "Kconfig.defconfig.wifi"
endif # WIFI
if PM
# For PM mode 3 we change this config to get better accuracy
# when using the iKHz RTC clock as system clock.
config SYS_CLOCK_TICKS_PER_SEC
default 1000
depends on $(dt_nodelabel_enabled,standby)
endif
endif # SOC_SERIES_RW6XX