mt8186-clk.h (517B)
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 12struct snd_sof_dev; 13 14/* DSP clock */ 15enum adsp_clk_id { 16 CLK_TOP_AUDIODSP, 17 CLK_TOP_ADSP_BUS, 18 ADSP_CLK_MAX 19}; 20 21int mt8186_adsp_init_clock(struct snd_sof_dev *sdev); 22int mt8186_adsp_clock_on(struct snd_sof_dev *sdev); 23void mt8186_adsp_clock_off(struct snd_sof_dev *sdev); 24#endif