OSDN Git Service

ASoC: mediatek: add MT7622 AFE support
authorRyder Lee <ryder.lee@mediatek.com>
Wed, 25 Apr 2018 04:19:57 +0000 (12:19 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 26 Apr 2018 14:09:02 +0000 (15:09 +0100)
commitbfdc56e54890fd6be05f14c9441c540e649468f7
tree5ff668098eb07f7f6544e1098933390187b9fcf9
parentab7b4ee9861a340b470e59f8d19360f7bc81e9dd
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>
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c
sound/soc/mediatek/mt2701/mt2701-afe-common.h
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
sound/soc/mediatek/mt2701/mt2701-reg.h