diff options
author | Kai Chieh Chuang <kaichieh.chuang@mediatek.com> | 2018-04-25 05:48:49 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-27 13:52:19 +0300 |
commit | c5e7fca928d3584db5011e0c7797d1a6e8aa2f3d (patch) | |
tree | a4adce8d6b14b349a2668ecae5299c4c6df56c69 /sound/soc/mediatek/mt6797/mt6797-afe-clk.h | |
parent | f0ab0bf250da5a115d5675a686117f21984f0760 (diff) | |
download | linux-c5e7fca928d3584db5011e0c7797d1a6e8aa2f3d.tar.xz |
ASoC: mt6797: add structure define and clock control function for 6797
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt6797/mt6797-afe-clk.h')
-rw-r--r-- | sound/soc/mediatek/mt6797/mt6797-afe-clk.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt6797/mt6797-afe-clk.h b/sound/soc/mediatek/mt6797/mt6797-afe-clk.h new file mode 100644 index 000000000000..43d979402f31 --- /dev/null +++ b/sound/soc/mediatek/mt6797/mt6797-afe-clk.h @@ -0,0 +1,25 @@ +/* + * mt6797-afe-clk.h -- Mediatek 6797 afe clock ctrl definition + * + * Copyright (c) 2018 MediaTek Inc. + * Author: KaiChieh Chuang <kaichieh.chuang@mediatek.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _MT6797_AFE_CLK_H_ +#define _MT6797_AFE_CLK_H_ + +struct mtk_base_afe; + +int mt6797_init_clock(struct mtk_base_afe *afe); +int mt6797_afe_enable_clock(struct mtk_base_afe *afe); +int mt6797_afe_disable_clock(struct mtk_base_afe *afe); +#endif |