/Linux-v6.1/sound/pci/hda/ |
D | patch_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * patch_hdmi.c - routines for HDMI/DisplayPort codecs 6 * Copyright(c) 2008-2010 Intel Corporation. All rights reserved. 48 MODULE_PARM_DESC(enable_silent_stream, "Enable Silent Stream for HDMI devices"); 78 struct hda_codec *codec; member 82 struct hdmi_pcm *pcm; /* pointer to spec->pcm_rec[n] dynamically*/ 83 int pcm_idx; /* which pcm is attached. -1 means no pcm is attached */ 89 bool chmap_set; /* channel-map override by ALSA API? */ 90 unsigned char chmap[8]; /* ALSA API channel-map */ 98 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid, [all …]
|
D | hda_eld.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 "HDMI", 36 "2-reserved", 37 "3-reserved" 74 /* 2 */ "AC-3", 78 /* 6 */ "AAC-LC", 82 /* 10 */ "E-AC-3/DD+ (Dolby Digital Plus)", 83 /* 11 */ "DTS-HD", 87 /* 15 */ "HE-AAC", 88 /* 16 */ "HE-AACv2", [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 23 This option enables the HD-audio controller. Don't forget 24 to choose the appropriate codec options below. 27 will be called snd-hda-intel. 40 to the HDMI output. 43 will be called snd-hda-tegra. 48 bool "Build hwdep interface for HD-audio driver" 51 Say Y here to build a hwdep interface for HD-audio driver. 52 This interface can be used for out-of-band communication [all …]
|
D | hda_bind.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec driver binding 20 * find a matching codec id 24 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local 29 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match() 30 u32 rev_id = codec->core.revision_id; in hda_codec_match() 32 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 33 if (list->vendor_id == id && in hda_codec_match() 34 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match() 35 codec->preset = list; in hda_codec_match() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 snd-hda-intel-objs := hda_intel.o 3 snd-hda-tegra-objs := hda_tegra.o 5 snd-hda-codec-y := hda_bind.o hda_codec.o hda_jack.o hda_auto_parser.o hda_sysfs.o 6 snd-hda-codec-y += hda_controller.o 7 snd-hda-codec-$(CONFIG_SND_PROC_FS) += hda_proc.o 9 snd-hda-codec-$(CONFIG_SND_HDA_HWDEP) += hda_hwdep.o 10 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += hda_beep.o 12 # for trace-points 13 CFLAGS_hda_controller.o := -I$(src) [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
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 …]
|
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 …]
|
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>;
|
D | samsung,snow.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: Google Snow audio complex with MAX9809x codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - google,snow-audio-max98090 17 - google,snow-audio-max98091 18 - google,snow-audio-max98095 20 codec: [all …]
|
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 …]
|
D | qcom,apq8096.txt | 5 - compatible: 8 Definition: must be "qcom,apq8096-sndcard" 10 - audio-routing: 17 of codec and the jacks on the board: 37 Audio pins and MicBias on WCD9335 Codec: 53 - model: 56 Definition: The user-visible name of this sound card. 58 - aux-devs 64 using "audio-routing". 68 dailinks would be cpu/codec/platform dais. [all …]
|
D | st,sti-asoc-card.txt | 3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas 4 codec or external codecs. 8 Documentation/devicetree/bindings/sound/simple-card.yaml. 10 1) sti-uniperiph-dai: audio dai device. 11 --------------------------------------- 14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out", 15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif", 16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi", 18 - st,syscfg: phandle to boot-device system configuration registers 20 - clock-names: name of the clocks listed in clocks property in the same order [all …]
|
D | rockchip,rk3288-hdmi-analog.txt | 1 ROCKCHIP RK3288 with HDMI and analog audio 4 - compatible: "rockchip,rk3288-hdmi-analog" 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 8 - rockchip,audio-codec: The phandle of the analog audio codec. 9 - rockchip,routing: A list of the connections between audio components. 16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the 18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone 20 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt [all …]
|
D | mt8173-rt5650.txt | 1 MT8173 with RT5650 CODECS and HDMI via I2S 4 - compatible : "mediatek,mt8173-rt5650" 5 - mediatek,audio-codec: the phandles of rt5650 codecs 6 and of the hdmi encoder node 7 - mediatek,platform: the phandle of MT8173 ASoC platform 10 - codec-capture : the subnode of rt5650 codec capture 11 Required codec-capture subnode properties: 12 - sound-dai: audio codec dai name on capture path 13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) 14 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) [all …]
|
/Linux-v6.1/sound/soc/rockchip/ |
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" 47 SND_SOC_DAPM_LINE("HDMI", NULL) 72 {"HDMI", NULL, "TX"} 94 SOC_DAPM_PIN_SWITCH("HDMI") 113 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event() 169 return -EINVAL; in rk_aif1_hw_params() 175 dev_err(cpu_dai->dev, "Can't set cpu dai clock %d\n", ret); in rk_aif1_hw_params() 182 /* HDMI codec dai does not need to set sysclk. */ in rk_aif1_hw_params() [all …]
|
D | rk3288_hdmi_analog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip machine ASoC driver for RK3288 boards that have an HDMI and analog 22 #include <sound/soc-dapm.h> 26 #define DRV_NAME "rk3288-snd-hdmi-analog" 36 struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); in rk_hp_power() 38 if (!gpio_is_valid(machine->gpio_hp_en)) in rk_hp_power() 41 gpio_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power() 57 SND_SOC_DAPM_LINE("HDMI", NULL), 62 SOC_DAPM_PIN_SWITCH("HDMI"), 94 return -EINVAL; in rk_hw_params() [all …]
|
/Linux-v6.1/sound/soc/ti/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 - daVinci devices 37 - Sitara line of SoCs (AM335x, AM438x, etc) 38 - OMAP4 39 - DRA7x devices 40 - Keystone devices 41 - K3 devices (am654, j721e) 84 tristate "SoC Audio support for Nokia RX-51" 90 Say Y or M if you want to add support for SoC audio on Nokia RX-51 103 tristate "SoC Audio support for OMAP3 based boards with twl4030 codec" [all …]
|
/Linux-v6.1/include/sound/ |
D | hdmi-codec.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * hdmi-codec.h - HDMI Codec driver API 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com 14 #include <linux/hdmi.h> 21 * Protocol between ASoC cpu-dai and HDMI-encoder 45 * HDMI audio parameters 67 * Configures HDMI-encoder for audio stream. 75 * Configures HDMI-encoder for audio stream. Can be called 91 * Mute/unmute HDMI audio stream. 98 * Provides EDID-Like-Data from connected HDMI device. [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | hdac_hda.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright(c) 2015-18 Intel Corporation. 5 * hdac_hda.c - ASoC extensions to reuse the legacy HDA codec drivers 7 * codec drivers using hdac_ext_bus_ops ops. 66 .name = "Analog Codec DAI", 69 .stream_name = "Analog Codec Playback", 77 .stream_name = "Analog Codec Capture", 87 .name = "Digital Codec DAI", 90 .stream_name = "Digital Codec Playback", 98 .stream_name = "Digital Codec Capture", [all …]
|
/Linux-v6.1/sound/soc/meson/ |
D | aiu-codec-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/soc-dai.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-codec-glue.h" 30 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in aiu_codec_ctrl_mux_put_enum() 33 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in aiu_codec_ctrl_mux_put_enum() 34 changed = snd_soc_component_test_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 45 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 52 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 68 SOC_DAPM_ENUM_EXT("HDMI Source", aiu_hdmi_ctrl_mux_enum, [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b-gtking.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "Beelink GT-King"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; 26 sound-name-prefix = "DIT"; 30 compatible = "amlogic,axg-sound-card"; [all …]
|
D | meson-g12b-ugoos-am6.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 25 compatible = "amlogic,axg-sound-card"; 26 model = "UGOOS-AM6"; [all …]
|
/Linux-v6.1/sound/soc/intel/boards/ |
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> 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() 86 pcm->codec_dai = dai; in hdmi_init() 88 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in hdmi_init() [all …]
|
D | skl_hda_dsp_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2015-18 Intel Corporation. 28 pcm = devm_kzalloc(card->dev, sizeof(*pcm), GFP_KERNEL); in skl_hda_hdmi_add_pcm() 30 return -ENOMEM; in skl_hda_hdmi_add_pcm() 32 snprintf(dai_name, sizeof(dai_name), "intel-hdmi-hifi%d", in skl_hda_hdmi_add_pcm() 33 ctx->dai_index); in skl_hda_hdmi_add_pcm() 34 pcm->codec_dai = snd_soc_card_get_codec_dai(card, dai_name); in skl_hda_hdmi_add_pcm() 35 if (!pcm->codec_dai) in skl_hda_hdmi_add_pcm() 36 return -EINVAL; in skl_hda_hdmi_add_pcm() 38 pcm->device = device; in skl_hda_hdmi_add_pcm() [all …]
|
/Linux-v6.1/sound/soc/mediatek/mt8173/ |
D | mt8173-rt5650.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8173-rt5650.c -- MT8173 machine driver with RT5650 codecs 105 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_init() 106 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_init() 107 const char *codec_capture_dai = asoc_rtd_to_codec(runtime, 1)->name; in mt8173_rt5650_init() 114 if (!strcmp(codec_capture_dai, "rt5645-aif1")) { in mt8173_rt5650_init() 118 } else if (!strcmp(codec_capture_dai, "rt5645-aif2")) { in mt8173_rt5650_init() 123 dev_warn(card->dev, in mt8173_rt5650_init() 124 "Only one dai codec found in DTS, enabled rt5645 AD filter\n"); in mt8173_rt5650_init() 137 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_init() [all …]
|