Home
last modified time | relevance | path

Searched +full:dmic +full:- +full:codec (Results 1 – 25 of 249) sorted by relevance

12345678910

/openbmc/linux/sound/soc/intel/boards/
H A Dbdw-rt5650.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ASoC machine driver for Intel Broadwell platforms with RT5650 codec
17 #include <sound/soc-acpi.h>
30 SND_SOC_DAPM_MIC("DMIC Pair1", NULL),
31 SND_SOC_DAPM_MIC("DMIC Pair2", NULL),
46 * DMIC Pair1 are the two DMICs connected on the DMICN1 connector.
47 * DMIC Pair2 are the two DMICs connected on the DMICN2 connector.
48 * Facing the camera, DMIC Pair1 are on the left side, DMIC Pair2
51 {"DMIC L1", NULL, "DMIC Pair1"},
52 {"DMIC R1", NULL, "DMIC Pair1"},
[all …]
H A Dkbl_da7219_max98357a.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2017-18 Intel Corporation.
23 #define KBL_DIALOG_CODEC_DAI "da7219-hifi"
56 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
57 struct snd_soc_card *card = dapm->card; in platform_clock_control()
63 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
64 return -EIO; in platform_clock_control()
71 dev_err(card->dev, "failed to stop PLL: %d\n", ret); in platform_clock_control()
76 dev_err(card->dev, "failed to start PLL: %d\n", ret); in platform_clock_control()
94 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
[all …]
H A Dsof_pcm512x.c1 // 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 Dglk_rt5682_max98357a.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <sound/soc-acpi.h>
25 /* The platform clock outputs 19.2Mhz clock to codec as I2S MCLK */
28 #define RT5682_DAI_NAME "rt5682-aif1"
29 #define RT5682S_DAI_NAME "rt5682s-aif1"
31 #define RT5682_DEV0_NAME "i2c-10EC5682:00"
32 #define RT5682S_DEV0_NAME "i2c-RTL5682:00"
75 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
93 /* HP jack connectors - unknown if we have jack detection */
104 { "DMic", NULL, "SoC DMIC" },
[all …]
H A Dbxt_rt298.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel Broxton-P I2S Machine Driver
5 * Copyright (C) 2014-2016, Intel Corporation. All rights reserved.
16 #include <sound/soc-acpi.h>
70 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
81 /* HP jack connectors - unknown if we have jack detect */
89 {"DMic", NULL, "SoC DMIC"},
91 {"HDMI1", NULL, "hif5-0 Output"},
92 {"HDMI2", NULL, "hif6-0 Output"},
93 {"HDMI2", NULL, "hif7-0 Output"},
[all …]
H A Dkbl_da7219_max98927.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #define KBL_DIALOG_CODEC_DAI "da7219-hifi"
24 #define MAX98927_CODEC_DAI "max98927-aif1"
25 #define MAX98927_DEV0_NAME "i2c-MX98927:00"
26 #define MAX98927_DEV1_NAME "i2c-MX98927:01"
28 #define MAX98373_CODEC_DAI "max98373-aif1"
29 #define MAX98373_DEV0_NAME "i2c-MX98373:00"
30 #define MAX98373_DEV1_NAME "i2c-MX98373:01"
66 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
67 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]
H A Dskl_hda_dsp_generic.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2015-18 Intel Corporation.
15 #include <sound/soc-acpi.h>
26 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
37 { "Analog Out", NULL, "Codec Output Pin1" },
38 { "Digital Out", NULL, "Codec Output Pin2" },
39 { "Alt Analog Out", NULL, "Codec Output Pin3" },
41 { "Codec Input Pin1", NULL, "Analog In" },
42 { "Codec Input Pin2", NULL, "Digital In" },
43 { "Codec Input Pin3", NULL, "Alt Analog In" },
[all …]
H A Dsof_da7219_max98373.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Intel SOF Machine driver for DA7219 + MAX98373/MAX98360A codec
15 #include <sound/soc-acpi.h>
19 #define DIALOG_CODEC_DAI "da7219-hifi"
20 #define MAX98373_CODEC_DAI "max98373-aif1"
21 #define MAXIM_DEV0_NAME "i2c-MX98373:00"
22 #define MAXIM_DEV1_NAME "i2c-MX98373:01"
39 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
40 struct snd_soc_card *card = dapm->card; in platform_clock_control()
46 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Ddmic-codec.yaml1 # 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 Dnvidia,tegra-audio-rt5677.yaml1 # 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 Drt5682.txt1 RT5682 audio CODEC
7 - compatible : "realtek,rt5682" or "realtek,rt5682i"
9 - reg : The I2C address of the device.
11 - AVDD-supply: phandle to the regulator supplying analog power through the
14 - MICVDD-supply: phandle to the regulator supplying power for the microphone
17 - VBAT-supply: phandle to the regulator supplying battery power through the
20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD
23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core
28 - interrupts : The CODEC's interrupt output.
30 - realtek,dmic1-data-pin
[all …]
H A Dmt8186-mt6366-rt1019-rt5682s.yaml1 # 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>
18 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound
19 - mediatek,mt8186-mt6366-rt5682s-max98360-sound
25 dmic-gpios:
28 dmic-gpios optional prop for switching between two DMICs.
30 dmic clk and data form a Front or Rear dmic.
[all …]
H A Drt5659.txt1 RT5659/RT5658 audio CODEC
7 - compatible : One of "realtek,rt5659" or "realtek,rt5658".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - clocks: The phandle of the master clock to the CODEC
16 - clock-names: Should be "mclk"
18 - realtek,in1-differential
19 - realtek,in3-differential
20 - realtek,in4-differential
21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended.
[all …]
H A Drealtek,rt5682s.yaml1 # 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 Drockchip,rk3399-gru-sound.txt4 - 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 Dda7213.txt1 Dialog Semiconductor DA7212/DA7213 Audio Codec bindings
6 - compatible : Should be "dlg,da7212" or "dlg,da7213"
7 - reg: Specifies the I2C slave address
10 - clocks : phandle and clock specifier for codec MCLK.
11 - clock-names : Clock name string for 'clocks' attribute, should be "mclk".
13 - dlg,micbias1-lvl : Voltage (mV) for Mic Bias 1
15 - dlg,micbias2-lvl : Voltage (mV) for Mic Bias 2
17 - dlg,dmic-data-sel : DMIC channel select based on clock edge.
19 - dlg,dmic-samplephase : When to sample audio from DMIC.
21 - dlg,dmic-clkrate : DMIC clock frequency (Hz).
[all …]
H A Drt5665.txt1 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 Drt5645.txt1 RT5650/RT5645 audio CODEC
7 - compatible : One of "realtek,rt5645" or "realtek,rt5650".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
13 - avdd-supply: Power supply for AVDD, providing 1.8V.
15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V.
19 - hp-detect-gpios:
20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
21 we will get the JD status by getting the value of hp-detect-gpios.
23 - cbj-sleeve-gpios:
[all …]
H A Drt5651.txt1 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 …]
/openbmc/linux/sound/soc/codecs/
H A Ddmic.c1 // 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 …]
/openbmc/linux/sound/soc/ti/
H A Domap-abe-twl6040.c1 // 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 …]
/openbmc/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1-lichee-rv-dock.dts1 // 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 Dsun20i-d1-lichee-rv-86-panel.dtsi1 // 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 …]
/openbmc/openbmc/poky/meta/recipes-multimedia/alsa/alsa-utils/
H A D0002-alsactl-90-alsa-restore.rules-fix-AMD-acp-pdm-mach-l.patch4 Subject: [PATCH 2/2] alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach
7 The link name of AMD ACP digital microphones driver acp-pdm-mach
8 is acp-dmic-codec. Fix it to make UCM initialize it again.
10 Closes: https://github.com/alsa-project/alsa-utils/pull/281
11 Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")
12 Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
13 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 Upstream-Status: Backport [https://github.com/alsa-project/alsa-utils/commit/6f7ce73159c02b726a6f0f…
15 Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
16 ---
[all …]
/openbmc/linux/sound/soc/sunxi/
H A DKconfig1 # 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 …]

12345678910