/linux/sound/pci/hda/ |
H A 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 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 */ 90 bool chmap_set; /* channel-map override by ALSA API? */ 91 unsigned char chmap[8]; /* ALSA API channel-map */ 99 int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid, [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | hda_bind.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec driver binding 19 * find a matching codec id 23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() local 28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match() 29 u32 rev_id = codec->core.revision_id; in hda_codec_match() 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 32 if (list->vendor_id == id && in hda_codec_match() 33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match() 34 codec->preset = list; in hda_codec_match() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
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 | 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 | 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 | mt8195-mt6359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Trevor Wu <trevor.wu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8195_mt6359_rt1019_rt5682 22 - mediatek,mt8195_mt6359_rt1011_rt5682 23 - mediatek,mt8195_mt6359_max98390_rt5682 29 audio-routing: [all …]
|
H A 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 …]
|
H A 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 …]
|
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> 17 - $ref: sound-card-common.yaml# 22 - mediatek,mt8192_mt6359_rt1015_rt5682 23 - mediatek,mt8192_mt6359_rt1015p_rt5682 24 - mediatek,mt8192_mt6359_rt1015p_rt5682s [all …]
|
H A 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 …]
|
/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. 21 #define DRV_NAME "rockchip-snd-max98090" 45 SND_SOC_DAPM_LINE("HDMI", NULL) 70 {"HDMI", NULL, "TX"} 92 SOC_DAPM_PIN_SWITCH("HDMI") 111 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event() 167 return -EINVAL; in rk_aif1_hw_params() 173 dev_err(cpu_dai->dev, "Can't set cpu dai clock %d\n", ret); in rk_aif1_hw_params() 180 /* HDMI codec dai does not need to set sysclk. */ in rk_aif1_hw_params() [all …]
|
H A 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 21 #include <sound/soc-dapm.h> 25 #define DRV_NAME "rk3288-snd-hdmi-analog" 34 struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); in rk_hp_power() 36 gpiod_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power() 52 SND_SOC_DAPM_LINE("HDMI", NULL), 57 SOC_DAPM_PIN_SWITCH("HDMI"), 89 return -EINVAL; in rk_hw_params() 95 if (ret && ret != -ENOTSUPP) { in rk_hw_params() [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "../common/soc-intel-quirks.h" 11 * Intel HDMI DAI Link 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() [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> 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 …]
|
H A D | sof_board_helpers.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <sound/soc-acpi-intel-ssp-common.h> 18 /* SSP port number for headphone codec: 3 bits */ 36 /* SSP port mask for HDMI capture: 6 bits */ 42 /* Number of idisp HDMI BE link: 3 bits */ 115 * @hdmi: init data for hdmi dai link 116 * @codec_type: type of headset codec 119 * @hdmi_num: number of Intel HDMI BE link 123 * @ssp_mask_hdmi_in: ssp port mask of HDMI-IN BE link 125 * @hda_codec_present: true to create HDA codec BE links [all …]
|
/linux/sound/soc/codecs/ |
H A 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. 43 …ESC(patch, "Patch file array for Intel HD audio interface. The array index is the codec address."); 74 .name = "Analog Codec DAI", 77 .stream_name = "Analog Codec Playback", 85 .stream_name = "Analog Codec Capture", 95 .name = "Digital Codec DAI", 98 .stream_name = "Digital Codec Playback", [all …]
|
/linux/include/sound/ |
H A 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> 20 * Protocol between ASoC cpu-dai and HDMI-encoder 44 * HDMI audio parameters 66 * Configures HDMI-encoder for audio stream. 74 * Configures HDMI-encoder for audio stream. Can be called 90 * Mute/unmute HDMI audio stream. 97 * Provides EDID-Like-Data from connected HDMI device. [all …]
|
/linux/sound/soc/meson/ |
H A 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/sound/soc/ti/ |
H A 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) 77 tristate "SoC Audio support for Nokia RX-51" 83 Say Y or M if you want to add support for SoC audio on Nokia RX-51 96 tristate "SoC Audio support for OMAP3 based boards with twl4030 codec" [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-dreambox.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-w400.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 cvbs-connector { 16 sdio_pwrseq: sdio-pwrseq { 17 compatible = "mmc-pwrseq-simple"; 18 reset-gpios = <&gpio GPIOA_11 GPIO_ACTIVE_LOW>; 20 clock-names = "ext_clock"; [all …]
|
H A D | meson-g12a-u200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 23 dioo2133: audio-amplifier-0 { 24 compatible = "simple-audio-amplifier"; 25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; [all …]
|
H A 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"; 25 sound-name-prefix = "DIT"; 29 compatible = "amlogic,axg-sound-card"; [all …]
|
H A 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"; 20 sound-name-prefix = "DIT"; 24 compatible = "amlogic,axg-sound-card"; 25 model = "UGOOS-AM6"; [all …]
|