| /kernel/linux/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 17 maxItems: 1 19 bitclock-master: [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 …]
|
| 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 …]
|
| /kernel/linux/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-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-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-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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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() 47 return 1; in sof_sdw_quirk_cb() 167 * (e.g. 15-eb1xxx, 14t-ea000 or 13-aw2xxx) [all …]
|
| /kernel/linux/linux-5.10/sound/soc/generic/ |
| D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <sound/soc-dai.h> 19 #define DPCM_SELECTABLE 1 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() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | sdm850-lenovo-yoga-c630.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 19 compatible = "lenovo,yoga-c630", "qcom,sdm845"; 27 firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn"; 32 pm8998-rpmh-regulators { 33 compatible = "qcom,pm8998-rpmh-regulators"; [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | simple_card_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 15 asoc_simple_init_jack(card, sjack, 1, prefix, NULL) 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) [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | axg-card.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 #include <sound/soc-dai.h> 11 #include "axg-tdm.h" 12 #include "meson-card.h" 30 * Those will be over-written by the CPU side of the link 36 .channels_min = 1, 44 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_be_hw_params() 46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_be_hw_params() 48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params() 57 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_dai_init() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ |
| 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 :- 40 #include <sound/soc-dpcm.h> 41 #include <sound/soc-topology.h> 42 #include <sound/soc-link.h> 76 return sprintf(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_set() 110 return attr->mode; /* always visible */ in soc_dev_attr_is_visible() 111 return rtd->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible() [all …]
|
| 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> 42 #define SOC_TPLG_PASS_VENDOR 1 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() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/samsung/ |
| D | odroid.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 13 #include "i2s-regs.h" 28 struct snd_pcm_runtime *runtime = substream->runtime; in odroid_card_fe_startup() 39 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_fe_hw_params() 43 spin_lock_irqsave(&priv->lock, flags); in odroid_card_fe_hw_params() 44 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params() 45 ret = -EINVAL; in odroid_card_fe_hw_params() 46 spin_unlock_irqrestore(&priv->lock, flags); in odroid_card_fe_hw_params() 60 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_be_hw_params() [all …]
|