1c5e7fca9SKai Chieh Chuang /*
2c5e7fca9SKai Chieh Chuang  * mt6797-afe-clk.h  --  Mediatek 6797 afe clock ctrl definition
3c5e7fca9SKai Chieh Chuang  *
4c5e7fca9SKai Chieh Chuang  * Copyright (c) 2018 MediaTek Inc.
5c5e7fca9SKai Chieh Chuang  * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
6c5e7fca9SKai Chieh Chuang  *
7c5e7fca9SKai Chieh Chuang  * This program is free software; you can redistribute it and/or modify
8c5e7fca9SKai Chieh Chuang  * it under the terms of the GNU General Public License version 2 and
9c5e7fca9SKai Chieh Chuang  * only version 2 as published by the Free Software Foundation.
10c5e7fca9SKai Chieh Chuang  *
11c5e7fca9SKai Chieh Chuang  * This program is distributed in the hope that it will be useful,
12c5e7fca9SKai Chieh Chuang  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13c5e7fca9SKai Chieh Chuang  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14c5e7fca9SKai Chieh Chuang  * GNU General Public License for more details.
15c5e7fca9SKai Chieh Chuang  */
16c5e7fca9SKai Chieh Chuang 
17c5e7fca9SKai Chieh Chuang #ifndef _MT6797_AFE_CLK_H_
18c5e7fca9SKai Chieh Chuang #define _MT6797_AFE_CLK_H_
19c5e7fca9SKai Chieh Chuang 
20c5e7fca9SKai Chieh Chuang struct mtk_base_afe;
21c5e7fca9SKai Chieh Chuang 
22c5e7fca9SKai Chieh Chuang int mt6797_init_clock(struct mtk_base_afe *afe);
23c5e7fca9SKai Chieh Chuang int mt6797_afe_enable_clock(struct mtk_base_afe *afe);
24c5e7fca9SKai Chieh Chuang int mt6797_afe_disable_clock(struct mtk_base_afe *afe);
25c5e7fca9SKai Chieh Chuang #endif
26