summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt2701/mt2701-reg.h
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2018-04-25 06:19:57 +0200
committerMark Brown <broonie@kernel.org>2018-04-26 16:09:02 +0200
commitbfdc56e54890fd6be05f14c9441c540e649468f7 (patch)
tree5ff668098eb07f7f6544e1098933390187b9fcf9 /sound/soc/mediatek/mt2701/mt2701-reg.h
parentASoC: mediatek: Add MTK_STREAM_NUM to mtk-base-afe.h (diff)
downloadlinux-bfdc56e54890fd6be05f14c9441c540e649468f7.tar.xz
linux-bfdc56e54890fd6be05f14c9441c540e649468f7.zip
ASoC: mediatek: add MT7622 AFE support
This patch adds support for the MT7622 AFE which reuses MT2701 driver. We also introduce the 'struct mt2701_soc_variants' to differentiate between the SoC generations as there might be other (existing or future) chips that use the same binding and driver, then being a little more abstract could help in the long run. Cc: Jia Zeng <jia.zeng@mediatek.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Reviewed-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-reg.h')
-rw-r--r--sound/soc/mediatek/mt2701/mt2701-reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt2701/mt2701-reg.h b/sound/soc/mediatek/mt2701/mt2701-reg.h
index 18e676974f22..dbe7d607c566 100644
--- a/sound/soc/mediatek/mt2701/mt2701-reg.h
+++ b/sound/soc/mediatek/mt2701/mt2701-reg.h
@@ -138,6 +138,7 @@
#define ASYS_I2S_CON_FS_SET(x) ((x) << 8)
#define ASYS_I2S_CON_RESET (0x1 << 30)
#define ASYS_I2S_CON_I2S_EN (0x1 << 0)
+#define ASYS_I2S_CON_ONE_HEART_MODE (0x1 << 16)
#define ASYS_I2S_CON_I2S_COUPLE_MODE (0x1 << 17)
/* 0:EIAJ 1:I2S */
#define ASYS_I2S_CON_I2S_MODE (0x1 << 3)