/linux/Documentation/devicetree/bindings/sound/ |
H A D | dmic-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/dmic-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic PDM Digital microphone (DMIC) codec 10 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 13 - $ref: dai-common.yaml# 17 const: dmic-codec 19 '#sound-dai-cells': 22 dmicen-gpios: [all …]
|
H A D | nvidia,tegra-audio-rt5677.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5677.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra audio complex with RT5677 CODEC 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-rt5677(-[a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-rt5677 [all …]
|
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# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound 23 - mediatek,mt8186-mt6366-rt5650-sound 25 audio-routing: [all …]
|
H A D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Realtek rt5682s codec 10 - Derek Fang <derek.fang@realtek.com> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 28 description: The CODEC's interrupt output. 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used [all …]
|
H A D | rockchip,rk3399-gru-sound.txt | 4 - compatible: "rockchip,rk3399-gru-sound" 5 - rockchip,cpu: The phandle of the Rockchip I2S controller that's 7 - rockchip,codec: The phandle of the audio codecs 10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. 11 If this option is specified, which means it's required dmic need 12 delay for DMIC to ready so that rt5514 can avoid recording before 13 DMIC send valid data 18 compatible = "rockchip,rk3399-gru-sound"; 20 rockchip,codec = <&max98357a &rt5514 &da7219>; 21 dmic-wakeup-delay-ms = <20>;
|
H A D | dlg,da7213.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dialog Semiconductor DA7212/DA7213 Audio Codec 10 - Support Opensource <support.opensource@diasemi.com> 13 - $ref: dai-common.yaml# 18 - dlg,da7212 19 - dlg,da7213 27 clock-names: 30 "#sound-dai-cells": [all …]
|
H A D | rt5665.txt | 1 RT5665/RT5666 audio CODEC 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin [all …]
|
H A D | realtek,rt5659.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RT5659/RT5658 audio CODEC 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 16 * DMIC L1 17 * DMIC R1 18 * DMIC L2 19 * DMIC R2 40 - $ref: dai-common.yaml# [all …]
|
H A D | rt5651.txt | 1 RT5651 audio CODEC 7 - compatible : "realtek,rt5651". 9 - reg : The I2C address of the device. 13 - realtek,in2-differential 14 Boolean. Indicate MIC2 input are differential, rather than single-ended. 16 - realtek,dmic-en 17 Boolean. true if dmic is used. 19 - realtek,jack-detect-source 21 1: Use JD1_1 pin for jack-detect 22 2: Use JD1_2 pin for jack-detect [all …]
|
H A D | rt5660.txt | 1 RT5660 audio CODEC 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 21 Boolean. If the codec will be powered off in suspend, the resume should be [all …]
|
H A D | realtek,rt5645.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RT5650/RT5645 audio CODEC 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 16 * DMIC L1 17 * DMIC R1 18 * DMIC L2 19 * DMIC R2 35 - $ref: dai-common.yaml# [all …]
|
H A D | google,sc7180-trogdor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google SC7180-Trogdor ASoC sound card driver 10 - Rohit kumar <quic_rohkumar@quicinc.com> 11 - Cheng-Yi Chiang <cychiang@chromium.org> 17 - $ref: sound-card-common.yaml# 22 - google,sc7180-trogdor 23 - google,sc7180-coachz [all …]
|
/linux/sound/soc/codecs/ |
H A D | dmic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dmic.c -- SoC audio for Generic Digital MICs 17 #include <sound/soc-dapm.h> 26 struct dmic { struct 29 /* Delay after DMIC mode switch */ 36 struct snd_soc_component *component = dai->component; in dmic_daiops_trigger() 37 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_daiops_trigger() argument 41 if (dmic->modeswitch_delay) in dmic_daiops_trigger() 42 mdelay(dmic->modeswitch_delay); in dmic_daiops_trigger() 56 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in dmic_aif_event() [all …]
|
H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
/linux/sound/soc/ti/ |
H A D | omap-abe-twl6040.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and 4 * twl6040 codec 20 #include "omap-dmic.h" 21 #include "omap-mcpdm.h" 26 DAILINK_COMP_ARRAY(COMP_CODEC("twl6040-codec", 27 "twl6040-legacy")), 32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec", 33 "dmic-hifi")), 50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params() [all …]
|
/linux/arch/riscv/boot/dts/allwinner/ |
H A D | sun20i-d1-lichee-rv-dock.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include <dt-bindings/input/input.h> 7 #include "sun20i-d1-lichee-rv.dts" 11 compatible = "sipeed,lichee-rv-dock", "sipeed,lichee-rv", 12 "allwinner,sun20i-d1"; 18 dmic_codec: dmic-codec { 19 compatible = "dmic-codec"; 20 num-channels = <2>; 21 #sound-dai-cells = <0>; 24 dmic-sound { [all …]
|
H A D | sun20i-d1-lichee-rv-86-panel.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include "sun20i-d1-lichee-rv.dts" 12 dmic_codec: dmic-codec { 13 compatible = "dmic-codec"; 14 num-channels = <2>; 15 #sound-dai-cells = <0>; 18 dmic-sound { 19 compatible = "simple-audio-card"; 20 simple-audio-card,name = "DMIC"; 21 #address-cells = <1>; [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_pcm512x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2018-2020 Intel Corporation. 5 * Intel SOF Machine Driver for Intel platforms with TI PCM512x codec, 20 #include <sound/soc-acpi.h> 22 #include "../common/soc-intel-quirks.h" 55 sof_pcm512x_quirk = (unsigned long)id->driver_data; in sof_pcm512x_quirk_cb() 64 DMI_MATCH(DMI_PRODUCT_NAME, "UP-CHT01"), 73 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in sof_hdmi_init() 77 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_hdmi_init() 79 return -ENOMEM; in sof_hdmi_init() [all …]
|
H A D | sof_board_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "../common/soc-intel-quirks.h" 15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init() 18 ctx->hdmi.hdmi_comp = dai->component; in hdmi_init() 27 if (!ctx->hdmi_num) in sof_intel_board_card_late_probe() 30 if (!ctx->hdmi.idisp_codec) in sof_intel_board_card_late_probe() 33 if (!ctx->hdmi.hdmi_comp) in sof_intel_board_card_late_probe() 34 return -EINVAL; in sof_intel_board_card_late_probe() 36 return hda_dsp_hdmi_build_controls(card, ctx->hdmi.hdmi_comp); in sof_intel_board_card_late_probe() 41 * DMIC DAI Link [all …]
|
H A D | ehl_rt5660.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * ehl_rt5660 - ASOC Machine driver for Elkhart Lake platforms 6 * with rt5660 codec 21 #include <sound/soc-acpi.h> 49 SND_SOC_DAPM_MIC("SoC DMIC", NULL), 65 {"DMic", NULL, "SoC DMIC"}, 76 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init() 80 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in hdmi_init() 82 return -ENOMEM; in hdmi_init() 85 pcm->device = rtd->dai_link->id; in hdmi_init() [all …]
|
H A D | sof_es8336.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Intel SOF Machine Driver with es8336 Codec 21 #include <sound/soc-acpi.h> 24 /* jd-inv + terminating entry */ 56 static int quirk_override = -1; 58 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 79 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO }, 84 { "speakers-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO }, 88 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO }, 89 { "headphone-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO }, [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | board_selection.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 17 #include <sound/soc-acpi.h> 18 #include <sound/soc-component.h> 23 MODULE_PARM_DESC(i2s_test, "Probe I2S test-board and skip all other I2S boards"); 57 if (mach->quirk_data == NULL) in dmi_match_quirk() 60 dmi_table = (struct dmi_system_id *)mach->quirk_data; in dmi_match_quirk() 72 /* supported I2S board codec configurations */ 80 .tplg_filename = "rt286-tplg.bin", 88 .tplg_filename = "nau8825-tplg.bin", [all …]
|
/linux/sound/soc/sunxi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 tristate "Allwinner A10 Codec Support" 10 Select Y or M to add support for the Codec embedded in the Allwinner 14 tristate "Allwinner SUN8I audio codec" 20 This option enables the digital part of the internal audio codec for 23 Say Y or M if you want to add sun8i digital audio codec support. 26 tristate "Allwinner sun8i Codec Analog Controls Support" 31 the codec embedded in newer Allwinner SoCs. 34 tristate "Allwinner sun50i Codec Analog Controls Support" 39 the codec embedded in Allwinner A64 SoC. [all …]
|
/linux/sound/soc/tegra/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Tegra System-on-Chip" 70 tristate "Tegra210 DMIC module" 72 Config to enable the Digital MIC (DMIC) controller which is used 74 The DMIC controller implements a converter to convert PDM signals 77 Say Y or M if you want to add support for Tegra210 DMIC module. 83 Config to enable the Inter-IC Sound (I2S) Controller which 84 implements full-duplex and bidirectional and single direction 85 point-to-point serial interfaces. It can interface with I2S 114 converts the multi-bit Pulse Code Modulation (PCM) audio input to [all …]
|
/linux/sound/soc/amd/acp/ |
H A D | acp-sdw-sof-mach.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * acp-sdw-sof-mach - ASoC Machine driver for AMD SoundWire platforms 15 #include <sound/soc-acpi.h> 20 static int quirk_override = -1; 22 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 27 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() 35 sof_sdw_quirk = (unsigned long)id->driver_data; in sof_sdw_quirk_cb() 44 DMI_MATCH(DMI_PRODUCT_NAME, "Birman-PHX"), 74 struct device *dev = card->dev; in create_sdw_dailink() 76 struct amd_mc_ctx *amd_ctx = (struct amd_mc_ctx *)ctx->private; in create_sdw_dailink() [all …]
|