2 * mt8173_afe_common.h -- Mediatek 8173 audio driver common definitions
4 * Copyright (c) 2015 MediaTek Inc.
5 * Author: Koro Chen <koro.chen@mediatek.com>
6 * Sascha Hauer <s.hauer@pengutronix.de>
7 * Hidalgo Huang <hidalgo.huang@mediatek.com>
8 * Ir Lian <ir.lian@mediatek.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 and
12 * only version 2 as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
20 #ifndef _MT8173_AFE_COMMON_H_
21 #define _MT8173_AFE_COMMON_H_
23 #include <linux/clk.h>
24 #include <linux/regmap.h>
32 MT8173_AFE_MEMIF_MOD_DAI,
33 MT8173_AFE_MEMIF_HDMI,
35 MT8173_AFE_IO_MOD_PCM1 = MT8173_AFE_MEMIF_NUM,
36 MT8173_AFE_IO_MOD_PCM2,
39 MT8173_AFE_IO_2ND_I2S,
40 MT8173_AFE_IO_HW_GAIN1,
41 MT8173_AFE_IO_HW_GAIN2,
54 MT8173_AFE_IRQ_MOD_DAI,
60 MT8173_CLK_INFRASYS_AUD,
61 MT8173_CLK_TOP_PDN_AUD,
62 MT8173_CLK_TOP_PDN_AUD_BUS,