Home
last modified time | relevance | path

Searched +full:mt7986 +full:- +full:afe (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dmediatek,mt7986-afe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt7986-afe.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek AFE PCM controller for MT7986
10 - Maso Huang <maso.huang@mediatek.com>
15 - const: mediatek,mt7986-afe
16 - items:
17 - enum:
18 - mediatek,mt7981-afe
[all …]
Dmediatek,mt7986-wm8960.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt7986-wm8960.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT7986 sound card with WM8960 codec
10 - Maso Huang <maso.huang@mediatek.com>
13 - $ref: sound-card-common.yaml#
17 const: mediatek,mt7986-wm8960-sound
23 sound-dai:
24 description: The phandle of MT7986 platform.
[all …]
/linux-6.12.1/sound/soc/mediatek/mt7986/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 snd-soc-mt7986-afe-y := \
5 mt7986-afe-pcm.o \
6 mt7986-dai-etdm.o
8 obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o
9 obj-$(CONFIG_SND_SOC_MT7986_WM8960) += mt7986-wm8960.o
Dmt7986-afe-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 * MediaTek ALSA SoC AFE platform driver for MT7986
17 #include "mt7986-afe-common.h"
18 #include "mt7986-reg.h"
19 #include "../common/mtk-afe-platform-driver.h"
20 #include "../common/mtk-afe-fe-dai.h"
111 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt7986_memif_fs() local
113 return mt7986_afe_rate_transform(afe->dev, rate); in mt7986_memif_fs()
121 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component); in mt7986_irq_fs() local
123 return mt7986_afe_rate_transform(afe->dev, rate); in mt7986_irq_fs()
[all …]
Dmt7986-dai-etdm.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "mt7986-afe-common.h"
15 #include "mt7986-reg.h"
121 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_etdm_startup() local
122 struct mt7986_afe_private *afe_priv = afe->platform_priv; in mtk_dai_etdm_startup()
125 ret = clk_bulk_prepare_enable(afe_priv->num_clks, afe_priv->clks); in mtk_dai_etdm_startup()
127 return dev_err_probe(afe->dev, ret, "Failed to enable clocks\n"); in mtk_dai_etdm_startup()
129 regmap_update_bits(afe->regmap, AUDIO_TOP_CON2, CLK_OUT5_PDN_MASK, 0); in mtk_dai_etdm_startup()
130 regmap_update_bits(afe->regmap, AUDIO_TOP_CON2, CLK_IN5_PDN_MASK, 0); in mtk_dai_etdm_startup()
138 struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); in mtk_dai_etdm_shutdown() local
[all …]
Dmt7986-afe-common.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mt7986-afe-common.h -- MediaTek 7986 audio driver definitions
17 #include "../common/mtk-base-afe.h"
48 int mt7986_dai_etdm_register(struct mtk_base_afe *afe);
Dmt7986-wm8960.c1 // SPDX-License-Identifier: GPL-2.0
3 * mt7986-wm8960.c -- MT7986-WM8960 ALSA SoC machine driver
13 #include "mt7986-afe-common.h"
37 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8960-hifi")),
43 .name = "wm8960-playback",
44 .stream_name = "wm8960-playback",
52 .name = "wm8960-capture",
53 .stream_name = "wm8960-capture",
62 .name = "wm8960-codec",
75 .name = "mt7986-wm8960",
[all …]