]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4415b30c98efa05aebf0dc667f96092019acf0a
tree5ff668098eb07f7f6544e1098933390187b9fcf9
parentf92ba57df8a4e5e781bd5e401eb9a9b905e3b726
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