[PATCH v4 0/5] ASoC: mediatek: add support for mt6797 SoC
KaiChieh Chuang
kaichieh.chuang at mediatek.com
Wed Apr 25 00:25:17 PDT 2018
This patch adds basic support for Mediatek AFE for MT6797 SoC.
Change since the previous patch set:
* mt6797, return IRQ_NONE when receive unexpected irq signal.
* mt6351, gain control use tlv
* mt6351, set regmap to component by snd_soc_component_init_regmap
* mt6351, playback_tlv, starts from -10 dB
KaiChieh Chuang (5):
ASoC: add mt6351 codec driver
ASoC: mt6797: add structure define and clock control function
for 6797
ASoC: mt6797: add mt6797 platform driver
ASoC: add mt6797-mt6351 driver and config option
ASoC: mediatek: add documents for mt6797
Documentation/devicetree/bindings/sound/mt6351.txt | 16 +
.../devicetree/bindings/sound/mt6797-afe-pcm.txt | 42 +
.../devicetree/bindings/sound/mt6797-mt6351.txt | 14 +
sound/soc/codecs/Kconfig | 4 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/mt6351.c | 1516 ++++++++++++++++++++
sound/soc/codecs/mt6351.h | 108 ++
sound/soc/mediatek/Kconfig | 20 +
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/mt6797/Makefile | 19 +
sound/soc/mediatek/mt6797/mt6797-afe-clk.c | 132 ++
sound/soc/mediatek/mt6797/mt6797-afe-clk.h | 25 +
sound/soc/mediatek/mt6797/mt6797-afe-common.h | 57 +
sound/soc/mediatek/mt6797/mt6797-afe-pcm.c | 1241 ++++++++++++++++
sound/soc/mediatek/mt6797/mt6797-interconnection.h | 41 +
sound/soc/mediatek/mt6797/mt6797-mt6351.c | 186 +++
sound/soc/mediatek/mt6797/mt6797-reg.h | 846 +++++++++++
17 files changed, 4270 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/mt6351.txt
create mode 100644 Documentation/devicetree/bindings/sound/mt6797-afe-pcm.txt
create mode 100644 Documentation/devicetree/bindings/sound/mt6797-mt6351.txt
create mode 100644 sound/soc/codecs/mt6351.c
create mode 100644 sound/soc/codecs/mt6351.h
create mode 100644 sound/soc/mediatek/mt6797/Makefile
create mode 100644 sound/soc/mediatek/mt6797/mt6797-afe-clk.c
create mode 100644 sound/soc/mediatek/mt6797/mt6797-afe-clk.h
create mode 100644 sound/soc/mediatek/mt6797/mt6797-afe-common.h
create mode 100644 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c
create mode 100644 sound/soc/mediatek/mt6797/mt6797-interconnection.h
create mode 100644 sound/soc/mediatek/mt6797/mt6797-mt6351.c
create mode 100644 sound/soc/mediatek/mt6797/mt6797-reg.h
--
2.12.5
More information about the Linux-mediatek
mailing list