]> 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)
commit6ea186775cdc56756ae9191ce8487fd620671748
tree5ff668098eb07f7f6544e1098933390187b9fcf9
parent92692f17fc7eef943483b2407347f36eabb97500
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