/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | amlogic,axg-sound-card.txt | 5 - compatible: "amlogic,axg-sound-card" 6 - model : User specified audio sound card name, one string 10 - audio-aux-devs : List of phandles pointing to auxiliary devices 11 - audio-widgets : Please refer to widgets.txt. 12 - audio-routing : A list of the connections between audio components. 16 - dai-link: Container for dai-link level properties and the CODEC 17 sub-nodes. There should be at least one (and probably more) 20 Required dai-link properties: 22 - sound-dai: phandle and port of the CPU DAI. 24 Required TDM Backend dai-link properties: [all …]
|
D | amlogic,gx-sound-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 15 - const: amlogic,gx-sound-card 17 audio-aux-devs: 18 $ref: /schemas/types.yaml#/definitions/phandle-array 21 audio-routing: 22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array [all …]
|
D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 16 $ref: /schemas/types.yaml#/definitions/phandle-array 19 bitclock-master: 20 description: Indicates dai-link bit clock master [all …]
|
D | qcom,sdm845.txt | 5 - compatible: 9 "qcom,sdm845-sndcard" 10 "qcom,db845c-sndcard" 11 "lenovo,yoga-c630-sndcard" 13 - audio-routing: 22 - model: 25 Definition: The user-visible name of this sound card. 27 - aux-devs 31 amplifiers) that do not appear directly within the DAI 33 using "audio-routing". [all …]
|
D | qcom,apq8096.txt | 5 - compatible: 8 Definition: must be "qcom,apq8096-sndcard" 10 - audio-routing: 53 - model: 56 Definition: The user-visible name of this sound card. 58 - aux-devs 62 amplifiers) that do not appear directly within the DAI 64 using "audio-routing". 70 - link-name: 73 Definition: User friendly name for dai link [all …]
|
D | qcom,apq8016-sbc.txt | 7 - compatible : "qcom,apq8016-sbc-sndcard" 9 - pinctrl-N : One property must exist for each entry in 10 pinctrl-names. See ../pinctrl/pinctrl-bindings.txt 12 - pinctrl-names : Must contain a "default" entry. 13 - reg : Must contain an address for each entry in reg-names. 14 - reg-names : A list which must include the following entries: 15 * "mic-iomux" 16 * "spkr-iomux" 17 - qcom,model : Name of the sound card. 19 - qcom,audio-routing : A list of the connections between audio components. [all …]
|
D | amlogic,g12a-tohdmitx.txt | 4 - compatible: "amlogic,g12a-tohdmitx" or 5 "amlogic,sm1-tohdmitx" 6 - reg: physical base address of the controller and length of memory 8 - #sound-dai-cells: should be 1. 9 - resets: phandle to the dedicated reset line of the hdmitx glue. 13 tohdmitx: audio-controller@744 { 14 compatible = "amlogic,g12a-tohdmitx"; 16 #sound-dai-cells = <1>; 20 Example of an 'amlogic,axg-sound-card': 23 compatible = "amlogic,axg-sound-card"; [all …]
|
/linux-5.10/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"; 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"; [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 = "G12B-UGOOS-AM6"; [all …]
|
D | meson-g12b-gtking-pro.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 Pro"; 17 gpio-keys-polled { 18 compatible = "gpio-keys-polled"; 19 #address-cells = <1>; 20 #size-cells = <0>; 21 poll-interval = <100>; [all …]
|
D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
D | meson-g12a-sei510.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/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/gpio/meson-g12a-gpio.h> 9 #include <dt-bindings/sound/meson-g12a-toacodec.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 18 dioo2133: audio-amplifier-0 { 19 compatible = "simple-audio-amplifier"; 20 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 21 VCC-supply = <&vcc_5v>; 22 sound-name-prefix = "U19"; [all …]
|
D | meson-gx-p23x-q20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs. 11 #include <dt-bindings/sound/meson-aiu.h> 19 dio2133: analog-amplifier { 20 compatible = "simple-audio-amplifier"; 21 sound-name-prefix = "AU2"; 22 VCC-supply = <&hdmi_5v>; 23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; 26 spdif_dit: audio-codec-0 { 27 #sound-dai-cells = <0>; [all …]
|
D | meson-g12a-x96-max.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> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
/linux-5.10/sound/soc/sof/intel/ |
D | hda-dai.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 13 #include "../sof-priv.h" 14 #include "../sof-audio.h" 35 * to the link DMA stream_tag argument is assigned to one 36 * of the FEs connected to the BE DAI. 46 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes() 47 fe_hstream = fe_substream->runtime->private_data; in hda_check_fes() 48 if (fe_hstream->stream_tag == stream_tag) in hda_check_fes() 64 int stream_dir = substream->stream; in hda_link_stream_assign() 66 if (!bus->ppcap) { in hda_link_stream_assign() [all …]
|
/linux-5.10/sound/soc/intel/boards/ |
D | sof_sdw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw - ASOC Machine driver for Intel SoundWire platforms 14 #include <sound/soc-acpi.h> 18 static int quirk_override = -1; 20 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 22 #define INC_ID(BE, CPU, LINK) do { (BE)++; (CPU)++; (LINK)++; } while (0) argument 27 dev_dbg(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks() 46 sof_sdw_quirk = (unsigned long)id->driver_data; in sof_sdw_quirk_cb() 150 .name = "dmic-codec", 151 .dai_name = "dmic-hifi", [all …]
|
/linux-5.10/Documentation/sound/soc/ |
D | dpcm.rst | 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 49 of the BE DAIs. The FE PCM devices can also route audio to more than 1 BE DAI. [all …]
|
/linux-5.10/sound/soc/qcom/ |
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 14 struct device *dev = card->dev; in qcom_snd_parse_of() 15 struct snd_soc_dai_link *link; in qcom_snd_parse_of() local 21 if (ret == 0 && !card->name) in qcom_snd_parse_of() 30 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of() 31 ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); in qcom_snd_parse_of() 36 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of() 37 ret = snd_soc_of_parse_audio_routing(card, "qcom,audio-routing"); in qcom_snd_parse_of() 42 ret = snd_soc_of_parse_aux_devs(card, "aux-devs"); in qcom_snd_parse_of() 47 num_links = of_get_child_count(dev->of_node); in qcom_snd_parse_of() [all …]
|
/linux-5.10/include/sound/ |
D | simple_card_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 60 #define simple_priv_to_card(priv) (&(priv)->snd_card) 61 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i)) 62 #define simple_priv_to_dev(priv) (simple_priv_to_card(priv)->dev) 63 #define simple_priv_to_link(priv, i) (simple_priv_to_card(priv)->dai_link + (i)) 66 int dais; /* number of dai */ 67 int link; /* number of link */ member 85 asoc_simple_parse_clk(dev, node, simple_dai, dai_link->cpus) 87 asoc_simple_parse_clk(dev, node, simple_dai, dai_link->codecs) 101 asoc_simple_parse_dai(node, dai_link->cpus, is_single_link) [all …]
|
/linux-5.10/sound/soc/generic/ |
D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <sound/soc-dai.h> 21 #define DAI "sound-dai" macro 22 #define CELL "#sound-dai-cells" 23 #define PREFIX "simple-audio-card," 42 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_dai() 45 ret = of_parse_phandle_with_args(node, DAI, CELL, 0, &args); in asoc_simple_parse_dai() 52 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() 54 * dlc->dai_name is keeping unbinded CPU or Codec in asoc_simple_parse_dai() 57 * If user re-bind CPU or Codec driver again, ALSA SoC will try in asoc_simple_parse_dai() [all …]
|
/linux-5.10/sound/soc/meson/ |
D | meson-codec-glue.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/soc-dai.h> 11 #include "meson-codec-glue.h" 20 if (!p->connect) in meson_codec_glue_get_input() 24 if (snd_soc_dapm_to_component(w->dapm) != in meson_codec_glue_get_input() 25 snd_soc_dapm_to_component(p->source->dapm)) in meson_codec_glue_get_input() 28 if (p->source->id == snd_soc_dapm_dai_in) in meson_codec_glue_get_input() 29 return p->source; in meson_codec_glue_get_input() 31 in = meson_codec_glue_get_input(p->source); in meson_codec_glue_get_input() 39 static void meson_codec_glue_input_set_data(struct snd_soc_dai *dai, in meson_codec_glue_input_set_data() argument [all …]
|
/linux-5.10/sound/soc/ |
D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 17 // topology data can contain kcontrols, DAPM graphs, widgets, DAIs, DAI links, 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 90 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 92 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 93 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 95 return -EINVAL; in soc_tplg_check_elem_count() 101 dev_err(tplg->dev, in soc_tplg_check_elem_count() [all …]
|
D | soc-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-core.c -- ALSA SoC Audio Layer 11 // with code, comments and ideas from :- 39 #include <sound/soc-dpcm.h> 40 #include <sound/soc-topology.h> 41 #include <sound/soc-link.h> 75 return sprintf(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 85 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_set() 109 return attr->mode; /* always visible */ in soc_dev_attr_is_visible() 110 return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible() [all …]
|