forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclk.h
More file actions
39 lines (24 loc) · 809 Bytes
/
clk.h
File metadata and controls
39 lines (24 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2023 Intel Corporation. All rights reserved.
*
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
* Keyon Jie <yang.jie@linux.intel.com>
* Rander Wang <rander.wang@intel.com>
*/
#ifdef __SOF_LIB_CLK_H__
#ifndef __PLATFORM_LIB_CLK_H__
#define __PLATFORM_LIB_CLK_H__
#include <ace/lib/clk.h>
#define CLK_MAX_CPU_HZ CONFIG_XTENSA_CCOUNT_HZ
#define CPU_WOVCRO_FREQ_IDX 0
#define CPU_IPLL_FREQ_IDX 1
#define CPU_LOWEST_FREQ_IDX CPU_WOVCRO_FREQ_IDX
#define CPU_DEFAULT_IDX CPU_IPLL_FREQ_IDX
#define SSP_DEFAULT_IDX 1
#define NUM_CPU_FREQ 2
#define NUM_SSP_FREQ 3
#endif /* __PLATFORM_LIB_CLK_H__ */
#else
#error "This file shouldn't be included from outside of sof/lib/clk.h"
#endif /* __SOF_LIB_CLK_H__ */