/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | samsung,aries-wm8994.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Aries audio complex with WM8994 codec 10 - Jonathan Bakker <xc-racer2@live.ca> 13 - $ref: sound-card-common.yaml# 19 - samsung,aries-wm8994 21 - samsung,fascinate4g-wm8994 27 sound-dai: [all …]
|
H A D | allwinner,sun4i-a10-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Codec 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#sound-dai-cells": 19 - allwinner,sun4i-a10-codec 20 - allwinner,sun6i-a31-codec [all …]
|
H A D | nvidia,tegra-audio-alc5632.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-alc5632.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra audio complex with ALC5632 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-alc5632(-[a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-alc5632 [all …]
|
H A D | rockchip-max98090.txt | 1 ROCKCHIP with MAX98090 CODEC 4 - compatible: "rockchip,rockchip-audio-max98090" 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 7 connected to the CODEC 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 17 /* For max98090-only board. */ [all …]
|
H A D | mt8192-mt6359-rt1015-rt5682.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 11 - Shane Chien <shane.chien@mediatek.com> 19 - mediatek,mt8192_mt6359_rt1015_rt5682 20 - mediatek,mt8192_mt6359_rt1015p_rt5682 21 - mediatek,mt8192_mt6359_rt1015p_rt5682s 27 mediatek,hdmi-codec: [all …]
|
H A D | mt8183-mt6358-ts3a227-max98357.txt | 4 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357" for MAX98357A codec 5 "mediatek,mt8183_mt6358_ts3a227_max98357b" for MAX98357B codec 6 "mediatek,mt8183_mt6358_ts3a227_rt1015" for RT1015 codec 7 "mediatek,mt8183_mt6358_ts3a227_rt1015p" for RT1015P codec 8 - mediatek,platform: the phandle of MT8183 ASoC platform 11 - mediatek,headset-codec: the phandles of ts3a227 codecs 12 - mediatek,ec-codec: the phandle of EC codecs. 13 See google,cros-ec-codec.txt for more details. 14 - mediatek,hdmi-codec: the phandles of HDMI codec 20 mediatek,headset-codec = <&ts3a227>; [all …]
|
H A D | qcom,wcd938x.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: Qualcomm WCD9380/WCD9385 Audio Codec 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9380/WCD9385 Codec is a standalone Hi-Fi audio codec IC. 17 - $ref: dai-common.yaml# 22 - qcom,wcd9380-codec 23 - qcom,wcd9385-codec 25 reset-gpios: [all …]
|
H A D | mt8183-da7219-max98357.txt | 4 - compatible : "mediatek,mt8183_da7219_max98357" for MAX98357A codec 5 "mediatek,mt8183_da7219_rt1015" for RT1015 codec 6 "mediatek,mt8183_da7219_rt1015p" for RT1015P codec 7 - mediatek,headset-codec: the phandles of da7219 codecs 8 - mediatek,platform: the phandle of MT8183 ASoC platform 11 - mediatek,hdmi-codec: the phandles of HDMI codec 17 mediatek,headset-codec = <&da7219>; 18 mediatek,hdmi-codec = <&it6505dptx>;
|
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# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 18 - mediatek,mt8186-mt6366-da7219-max98357-sound 24 headset-codec: 28 sound-dai: 31 - sound-dai 33 playback-codecs: [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | dpcm.rst | 14 way as the analog signal is routed in an ASoC codec driver. DPCM uses a DAPM 18 DPCM re-uses all the existing component codec, platform and DAI drivers without 23 ------------------------------------- 26 document for all examples :- 32 PCM0 <------------> * * <----DAI0-----> Codec Headset 34 PCM1 <------------> * * <----DAI1-----> Codec Speakers 36 PCM2 <------------> * * <----DAI2-----> MODEM 38 PCM3 <------------> * * <----DAI3-----> BT 40 * * <----DAI4-----> DMIC 42 * * <----DAI5-----> FM [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | cht_bsw_rt5672.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms 4 * Cherrytrail and Braswell, with RT5672 codec. 21 #include <sound/soc-acpi.h> 23 #include "../atom/sst-atom-controls.h" 24 #include "../common/soc-intel-quirks.h" 27 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */ 29 #define CHT_CODEC_DAI "rt5670-aif1" 32 struct snd_soc_jack headset; member 38 /* Headset jack detection DAPM pins */ [all …]
|
H A D | sof_da7219_max98373.c | 1 // 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" 31 struct snd_soc_jack headset; member 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() [all …]
|
H A D | bytcr_wm5102.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcr_wm5102.c - ASoc Machine driver for Intel Baytrail platforms with a 4 * Wolfson Microelectronics WM5102 codec 8 * Copyright (C) 2014-2020 Intel Corp 25 #include <sound/soc-acpi.h> 27 #include "../atom/sst-atom-controls.h" 43 struct snd_soc_card *card = w->dapm->card; in byt_wm5102_spkvdd_power_event() 46 gpiod_set_value_cansleep(priv->spkvdd_en_gpio, in byt_wm5102_spkvdd_power_event() 54 struct snd_soc_component *codec_component = codec_dai->component; in byt_wm5102_prepare_and_enable_pll1() 68 dev_err(codec_component->dev, "Error setting PLL: %d\n", ret); in byt_wm5102_prepare_and_enable_pll1() [all …]
|
H A D | cml_rt1011_rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Intel Cometlake I2S Machine driver for RT1011 + RT5682 codec 21 #include <sound/soc-acpi.h> 27 /* The platform clock outputs 24Mhz clock to codec as I2S MCLK */ 29 #define CML_RT1011_CODEC_DAI "rt1011-aif" 30 #define CML_RT5682_CODEC_DAI "rt5682-aif1" 44 sof_rt1011_quirk = (unsigned long)id->driver_data; in sof_rt1011_quirk_cb() 72 struct snd_soc_jack headset; member 79 SOC_DAPM_PIN_SWITCH("Headset Mic"), 93 SND_SOC_DAPM_MIC("Headset Mic", NULL), [all …]
|
H A D | bytcht_cx2072x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 // CX2072X codec 17 #include <sound/soc-acpi.h> 19 #include "../atom/sst-atom-controls.h" 23 SND_SOC_DAPM_MIC("Headset Mic", NULL), 33 {"PORTD", NULL, "Headset Mic"}, 45 SOC_DAPM_PIN_SWITCH("Headset Mic"), 52 /* Headset jack detection DAPM pins */ 55 .pin = "Headset Mic", 66 { "headset-gpios", &byt_cht_cx2072x_headset_gpios, 1 }, [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> 40 SOC_DAPM_PIN_SWITCH("Headset Mic"), 41 SOC_DAPM_PIN_SWITCH("Headset Mic2"), 47 SND_SOC_DAPM_MIC("Headset Mic", NULL), 48 SND_SOC_DAPM_MIC("Headset Mic2", NULL), 56 {"Headset Mic", NULL, "MICBIAS1"}, 57 {"Headset Mic2", NULL, "MICBIAS2"}, [all …]
|
H A D | bdw-rt5650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ASoC machine driver for Intel Broadwell platforms with RT5650 codec 17 #include <sound/soc-acpi.h> 29 SND_SOC_DAPM_MIC("Headset Mic", NULL), 39 /* Headset jack connectors */ 42 {"IN1P", NULL, "Headset Mic"}, 43 {"IN1N", NULL, "Headset Mic"}, 56 /* CODEC BE connections */ 57 {"SSP0 CODEC IN", NULL, "AIF1 Capture"}, 58 {"AIF1 Playback", NULL, "SSP0 CODEC OUT"}, [all …]
|
/openbmc/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 …]
|
H A D | omap-twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap-twl4030.c -- SoC audio for TI SoC based boards with twl4030 codec 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com 20 #include <linux/platform_data/omap-twl4030.h> 31 #include "omap-mcbsp.h" 56 return -EINVAL; in omap_twl4030_hw_params() 69 SND_SOC_DAPM_HP("Headset Stereophone", NULL), 75 SND_SOC_DAPM_MIC("Headset Mic", NULL), 83 /* Headset Stereophone: HSOL, HSOR */ 84 {"Headset Stereophone", NULL, "HSOL"}, [all …]
|
/openbmc/linux/sound/soc/rockchip/ |
H A D | rockchip_max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip machine ASoC driver for boards using a MAX90809 CODEC. 23 #define DRV_NAME "rockchip-snd-max98090" 27 /* Headset jack detection DAPM pins */ 34 .pin = "Headset Mic", 42 SND_SOC_DAPM_MIC("Headset Mic", NULL), \ 63 {"IN34", NULL, "Headset Mic"}, \ 64 {"Headset Mic", NULL, "MICBIAS"}, \ 89 SOC_DAPM_PIN_SWITCH("Headset Mic"), \ 113 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event() [all …]
|
H A D | rockchip_rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip machine ASoC driver for boards using a RT5645/RT5650 CODEC. 22 #define DRV_NAME "rockchip-snd-rt5645" 31 .pin = "Headset Mic", 39 SND_SOC_DAPM_MIC("Headset Mic", NULL), 47 {"RECMIXL", NULL, "Headset Mic"}, 48 {"RECMIXR", NULL, "Headset Mic"}, 60 SOC_DAPM_PIN_SWITCH("Headset Mic"), 90 return -EINVAL; in rk_aif1_hw_params() 96 dev_err(codec_dai->dev, "Can't set codec clock %d\n", ret); in rk_aif1_hw_params() [all …]
|
/openbmc/linux/sound/soc/mediatek/mt8173/ |
H A D | mt8173-rt5650-rt5514.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8173-rt5650-rt5514.c -- MT8173 machine driver with RT5650/5514 codecs 22 SND_SOC_DAPM_MIC("Headset Mic", NULL), 32 {"IN1P", NULL, "Headset Mic"}, 33 {"IN1N", NULL, "Headset Mic"}, 40 SOC_DAPM_PIN_SWITCH("Headset Mic"), 49 .pin = "Headset Mic", 86 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5514_init() 87 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5514_init() 96 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", in mt8173_rt5650_rt5514_init() [all …]
|
H A D | mt8173-rt5650-rt5676.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8173-rt5650-rt5676.c -- MT8173 machine driver with RT5650/5676 codecs 23 SND_SOC_DAPM_MIC("Headset Mic", NULL), 35 {"IN1P", NULL, "Headset Mic"}, 36 {"IN1N", NULL, "Headset Mic"}, 37 {"Sub AIF2RX", NULL, "Headset Mic"}, /* IF2 DAC from 5650 */ 44 SOC_DAPM_PIN_SWITCH("Headset Mic"), 53 .pin = "Headset Mic", 90 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5676_init() 91 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5676_init() [all …]
|
/openbmc/linux/sound/soc/amd/ |
H A D | acp-rt5645.c | 2 * Machine driver for AMD ACP Audio engine using Realtek RT5645 codec 33 #include <sound/soc-dapm.h> 51 .pin = "Headset Mic", 66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params() 73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params() 84 struct snd_soc_component *codec; in cz_init() local 86 codec = asoc_rtd_to_codec(rtd, 0)->component; in cz_init() 87 card = rtd->card; in cz_init() 89 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", in cz_init() 97 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init() [all …]
|
/openbmc/linux/sound/soc/amd/acp/ |
H A D | acp-mach-common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 19 #include <sound/soc-dapm.h> 29 #include "acp-mach.h" 35 #define NAU8821_CODEC_DAI "nau8821-hifi" 38 #define MAX98388_CODEC_DAI "max98388-aif1" 44 /* Google skyrim proto-0 */ 77 clk_set_rate(drvdata->wclk, srate); in acp_clk_enable() 78 clk_set_rate(drvdata->bclk, srate * bclk_ratio); in acp_clk_enable() 80 return clk_prepare_enable(drvdata->wclk); in acp_clk_enable() 83 /* Declare RT5682 codec components */ [all …]
|