2021-11-04 21:14:51 +08:00
|
|
|
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
|
|
# Copyright (c) 2016 Cadence Design Systems, Inc.
|
|
|
|
# Copyright (c) 2019 Intel Corp.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-07-02 01:33:04 +08:00
|
|
|
# Keep this option as an alias to INTEL_ADSP_TIMER because
|
|
|
|
# SoF is still referencing this symbol. The reason is the
|
|
|
|
# symbiotic relationship between these two projects, that from
|
|
|
|
# Zephyr's perspective is the framework and also the application.
|
|
|
|
# Once it gets merged, we have to update SoF to use INTEL_ADSP_TIMER
|
|
|
|
# option and remove it.
|
2021-11-04 21:14:51 +08:00
|
|
|
config CAVS_TIMER
|
2022-07-02 01:33:04 +08:00
|
|
|
bool
|
2021-11-04 21:14:51 +08:00
|
|
|
help
|
2022-07-02 01:33:04 +08:00
|
|
|
Temporary alias to INTEL_ADSP_TIMER
|
2022-06-22 00:28:36 +08:00
|
|
|
|
2022-07-02 01:33:04 +08:00
|
|
|
config INTEL_ADSP_TIMER
|
|
|
|
bool "Intel Audio DSP timer"
|
2022-11-01 04:41:31 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_INTEL_ADSP_TIMER_ENABLED
|
2022-07-02 01:33:04 +08:00
|
|
|
select CAVS_TIMER
|
2022-06-22 00:28:36 +08:00
|
|
|
select TICKLESS_CAPABLE
|
|
|
|
select TIMER_HAS_64BIT_CYCLE_COUNTER
|
2022-10-05 01:42:48 +08:00
|
|
|
select SYSTEM_CLOCK_LOCK_FREE_COUNT
|
2022-06-22 00:28:36 +08:00
|
|
|
help
|
|
|
|
The DSP wall clock timer is a timer driven directly by
|
|
|
|
external oscillator and is external to the CPU core(s).
|
|
|
|
It is not as fast as the internal core clock, but provides
|
|
|
|
a common and synchronized counter for all CPU cores (which
|
|
|
|
is useful for SMP).
|