xref: /linux/sound/soc/sof/mediatek/mt8186/mt8186-clk.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 
3 /*
4  * Copyright (c) 2022 MediaTek Corporation. All rights reserved.
5  *
6  *  Header file for the mt8186 DSP clock definition
7  */
8 
9 #ifndef __MT8186_CLK_H
10 #define __MT8186_CLK_H
11 
12 struct snd_sof_dev;
13 
14 /* DSP clock */
15 enum adsp_clk_id {
16 	CLK_TOP_AUDIODSP,
17 	CLK_TOP_ADSP_BUS,
18 	ADSP_CLK_MAX
19 };
20 
21 int mt8186_adsp_init_clock(struct snd_sof_dev *sdev);
22 int mt8186_adsp_clock_on(struct snd_sof_dev *sdev);
23 void mt8186_adsp_clock_off(struct snd_sof_dev *sdev);
24 #endif
25