/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt8186-mt6366-rt1019-rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT8186 with MT6366, RT1019 and RT5682S ASoC sound card driver 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 13 This binding describes the MT8186 sound card. 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound [all …]
|
H A D | mt8186-mt6366-da7219-max98357.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-da7219-max98357.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT8186 with MT6366, DA7219 and MAX98357 ASoC sound card driver 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 13 This binding describes the MT8186 sound card. 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-da7219-max98357-sound 23 audio-routing: [all …]
|
H A D | mt8186-afe-pcm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-afe-pcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek AFE PCM controller for mt8186 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 14 const: mediatek,mt8186-sound 25 reset-names: 42 - description: audio infra sys clock 43 - description: audio infra 26M clock [all …]
|
/linux/sound/soc/sof/mediatek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 8 This adds support for Sound Open Firmware for Mediatek platforms. 22 This option is not user-selectable but automagically handled by 26 tristate "SOF support for MT8186 audio DSP" 30 This adds support for Sound Open Firmware for Mediatek platforms 31 using the mt8186 processors. 40 This adds support for Sound Open Firmware for Mediatek platforms
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-mt6366-common.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8186-mt6366-common.c 4 // -- MT8186 MT6366 ALSA common driver 9 #include <sound/soc.h> 12 #include "../common/mtk-afe-platform-driver.h" 13 #include "mt8186-afe-common.h" 14 #include "mt8186-mt6366-common.h" 21 snd_soc_rtd_to_codec(rtd, 0)->component; in mt8186_mt6366_init() 23 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_mt6366_init() 24 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in mt8186_mt6366_init() [all …]
|
H A D | mt8186-afe-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * mt8186-afe-common.h -- Mediatek 8186 audio driver definitions 11 #include <sound/soc.h> 14 #include "mt8186-reg.h" 15 #include "../common/mtk-base-afe.h" 119 /* SA suggest apply -0.3db to audio/speech path */
|
H A D | mt8186-dai-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/pcm_params.h> 10 #include "mt8186-afe-common.h" 11 #include "mt8186-afe-gpio.h" 12 #include "mt8186-interconnection.h" 122 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_pcm_en_event() 125 dev_dbg(afe->dev, "%s(), name %s, event 0x%x\n", in mtk_pcm_en_event() 126 __func__, w->name, event); in mtk_pcm_en_event() 130 mt8186_afe_gpio_request(afe->dev, true, MT8186_DAI_PCM, 0); in mtk_pcm_en_event() 133 mt8186_afe_gpio_request(afe->dev, false, MT8186_DAI_PCM, 0); in mtk_pcm_en_event() [all …]
|
H A D | mt8186-dai-tdm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/pcm_params.h> 11 #include "mt8186-afe-clk.h" 12 #include "mt8186-afe-common.h" 13 #include "mt8186-afe-gpio.h" 14 #include "mt8186-interconnection.h" 65 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width() 103 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() 105 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event() 106 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_en_event() [all …]
|
H A D | mt8186-misc-control.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 12 #include <sound/soc.h> 14 #include "../common/mtk-afe-fe-dai.h" 15 #include "../common/mtk-afe-platform-driver.h" 16 #include "mt8186-afe-common.h" 40 14, -1, 18, 20, 50 166, -1, 168, 170, 53 194, 196, -1, -1, 79 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_sgen_get() [all …]
|
H A D | mt8186-dai-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <sound/pcm_params.h> 11 #include "mt8186-afe-clk.h" 12 #include "mt8186-afe-common.h" 13 #include "mt8186-afe-gpio.h" 14 #include "mt8186-interconnection.h" 88 return -EINVAL; in get_i2s_id_by_name() 94 struct mt8186_afe_private *afe_priv = afe->platform_priv; in get_i2s_priv_by_name() 100 return afe_priv->dai_priv[dai_id]; in get_i2s_priv_by_name() 120 i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name); in mt8186_i2s_hd_get() [all …]
|
H A D | mt8186-afe-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 15 #include <sound/soc.h> 17 #include "../common/mtk-afe-platform-driver.h" 18 #include "../common/mtk-afe-fe-dai.h" 20 #include "mt8186-afe-common.h" 21 #include "mt8186-afe-clk.h" 22 #include "mt8186-afe-gpio.h" 23 #include "mt8186-interconnection.h" 45 struct snd_pcm_runtime *runtime = substream->runtime; in mt8186_fe_startup() [all …]
|
/linux/sound/soc/sof/mediatek/mt8186/ |
H A D | mt8186.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 5 // Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com> 9 * Hardware interface for audio DSP on mt8186 21 #include <sound/sof.h> 22 #include <sound/sof/xtensa.h> 24 #include "../../sof-of-dev.h" 25 #include "../../sof-audio.h" 27 #include "../mtk-adsp-common.h" 28 #include "mt8186.h" 29 #include "mt8186-clk.h" [all …]
|
H A D | mt8186-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 5 // Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com> 8 // Hardware interface for mt8186 DSP code loader 10 #include <sound/sof.h> 11 #include "mt8186.h"
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8186.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 * Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com> 6 /dts-v1/; 7 #include <dt-bindings/clock/mt8186-clk.h> 8 #include <dt-bindings/gce/mt8186-gce.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/memory/mt8186-memory-port.h> 12 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 13 #include <dt-bindings/power/mt8186-power.h> [all …]
|
H A D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 6 #include "mt8186.dtsi" 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { [all …]
|
H A D | mt8365.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <dt-bindings/clock/mediatek,mt8365-clk.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/power/mediatek,mt8365-power.h> 18 interrupt-parent = <&sysirq>; 19 #address-cells = <2>; 20 #size-cells = <2>; 23 #address-cells = <1>; [all …]
|
H A D | mt8188.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 8 #include <dt-bindings/clock/mediatek,mt8188-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/mailbox/mediatek,mt8188-gce.h> 12 #include <dt-bindings/memory/mediatek,mt8188-memory-port.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h> 15 #include <dt-bindings/power/mediatek,mt8188-power.h> [all …]
|
/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,audsys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eugen Hristev <eugen.hristev@collabora.com> 18 - items: 19 - enum: 20 - mediatek,mt2701-audsys 21 - mediatek,mt6765-audsys 22 - mediatek,mt6779-audsys 23 - mediatek,mt7622-audsys [all …]
|