summaryrefslogtreecommitdiff
path: root/sound/soc/mediatek/mt2701/mt2701-afe-common.h
diff options
context:
space:
mode:
authorGarlic Tseng <garlic.tseng@mediatek.com>2016-07-04 13:56:25 +0300
committerMark Brown <broonie@kernel.org>2016-07-04 17:30:35 +0300
commit43a6a7e71063ef2db753b1d28cc600117de7c5f7 (patch)
treefd71f00277c60b89aeb1757a37d016867c5cf794 /sound/soc/mediatek/mt2701/mt2701-afe-common.h
parentd6f3710a56e10b42945ed2dbcca71d2748174299 (diff)
downloadlinux-43a6a7e71063ef2db753b1d28cc600117de7c5f7.tar.xz
ASoC: mediatek: add mt2701 platform driver implementation.
Add mt2701 platform driver implementation for playback and capture. The implement follow DAPM structure (memory interface as FE and I2S as BE). Because of the hardware design, i2s out required to be enabled when we need to enable i2s in. This patch includes the implementation. Signed-off-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-afe-common.h')
-rw-r--r--sound/soc/mediatek/mt2701/mt2701-afe-common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-common.h b/sound/soc/mediatek/mt2701/mt2701-afe-common.h
index c77166eb7132..c19430e98adf 100644
--- a/sound/soc/mediatek/mt2701/mt2701-afe-common.h
+++ b/sound/soc/mediatek/mt2701/mt2701-afe-common.h
@@ -69,11 +69,6 @@ enum {
MT2701_IRQ_ASYS_END,
};
-enum {
- DIV_ID_MCLK_TO_BCK,
- DIV_ID_BCK_TO_LRCK,
-};
-
/* 2701 clock def */
enum audio_system_clock_type {
MT2701_AUD_INFRA_SYS_AUDIO,
@@ -163,10 +158,6 @@ enum mt2701_i2s_dir {
struct mt2701_i2s_path {
int dai_id;
int mclk_rate;
- int div_mclk_to_bck;
- int div_bck_to_lrck;
- int format;
- snd_pcm_format_t stream_fmt;
int on[I2S_DIR_NUM];
int occupied[I2S_DIR_NUM];
const struct mt2701_i2s_data *i2s_data[2];