/linux/Documentation/devicetree/bindings/sound/ |
H A D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 23 Each subnode represents a dai link. Subnodes of each dai links would be 29 link-name: [all …]
|
H A D | qcom,sm8250.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 19 - items: 20 - enum: 21 - lenovo,yoga-c630-sndcard 22 - qcom,db845c-sndcard 23 - const: qcom,sdm845-sndcard 24 - items: [all …]
|
H A D | qcom,apq8016-sbc-sndcard.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Stephan Gerhold <stephan@gerhold.net> 16 - qcom,apq8016-sbc-sndcard 17 - qcom,msm8916-qdsp6-sndcard 21 - description: Microphone I/O mux register address 22 - description: Speaker I/O mux register address [all …]
|
H A D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array 23 audio-widgets: [all …]
|
H A D | google,sc7280-herobrine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google SC7280-Herobrine ASoC sound card driver 10 - Judy Hsiao <judyhsiao@chromium.org> 16 - $ref: sound-card-common.yaml# 21 - google,sc7280-herobrine 23 "#address-cells": 26 "#size-cells": [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 | 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 | google,sc7180-trogdor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google SC7180-Trogdor ASoC sound card driver 10 - Rohit kumar <quic_rohkumar@quicinc.com> 11 - Cheng-Yi Chiang <cychiang@chromium.org> 17 - $ref: sound-card-common.yaml# 22 - google,sc7180-trogdor 23 - google,sc7180-coachz [all …]
|
H A 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> 13 - $ref: sound-card-common.yaml# 18 - const: amlogic,gx-sound-card 20 audio-aux-devs: 21 $ref: /schemas/types.yaml#/definitions/phandle-array 24 audio-widgets: [all …]
|
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> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-da7219-max98357-sound 23 audio-routing: 24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 29 Valid names could be the input or output widgets of audio components, [all …]
|
H A D | mt8186-mt6366-rt1019-rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8186-mt6366-rt1019-rt5682s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jiaxin Yu <jiaxin.yu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8186-mt6366-rt1019-rt5682s-sound 22 - mediatek,mt8186-mt6366-rt5682s-max98360-sound 23 - mediatek,mt8186-mt6366-rt5650-sound 25 audio-routing: [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 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 22 - reg: CPU DAI IP Base address and size entries, listed in same [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_board_helpers.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <sound/soc-acpi-intel-ssp-common.h> 42 /* Number of idisp HDMI BE link: 3 bits */ 115 * @hdmi: init data for hdmi dai link 118 * @dmic_be_num: number of Intel PCH DMIC BE link 119 * @hdmi_num: number of Intel HDMI BE link 120 * @ssp_codec: ssp port number of headphone BE link 121 * @ssp_amp: ssp port number of speaker BE link 122 * @ssp_bt: ssp port number of BT offload BE link 123 * @ssp_mask_hdmi_in: ssp port mask of HDMI-IN BE link [all …]
|
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() 16 struct snd_soc_dai *dai = snd_soc_rtd_to_codec(rtd, 0); in hdmi_init() local 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() [all …]
|
/linux/sound/soc/ |
H A 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> 36 * We make several passes over the data (since it wont necessarily be ordered) 38 * drivers will be ready with any vendor data before the mixers and DAPM objects 83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() [all …]
|
H A 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> 63 * It can be used to eliminate pops between different playback streams, e.g. 75 return sysfs_emit(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 85 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_store() 109 return attr->mode; /* always visible */ in soc_dev_attr_is_visible() [all …]
|
/linux/sound/soc/generic/ |
H A D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <sound/soc-dai.h> 22 #define DAI "sound-dai" macro 23 #define CELL "#sound-dai-cells" 24 #define PREFIX "simple-audio-card," 41 * Get node via "sound-dai = <&phandle port>" in simple_parse_platform() 42 * it will be used as xxx_of_node on soc_bind_dai_link() in simple_parse_platform() 44 ret = of_parse_phandle_with_args(node, DAI, CELL, 0, &args); in simple_parse_platform() 50 dlc->of_node = args.np; in simple_parse_platform() 61 struct snd_soc_dai *dai; in simple_parse_dai() local [all …]
|
H A D | audio-graph-card.c | 1 // SPDX-License-Identifier: GPL-2.0 8 // based on ${LINUX}/sound/soc/generic/simple-card.c 39 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event() 40 struct simple_util_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event() 44 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event() 47 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event() 50 return -EINVAL; in graph_outdrv_event() 70 struct snd_soc_dai *dai = snd_soc_find_dai_with_mutex(dlc); in soc_component_is_pcm() local 72 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm() 73 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm() [all …]
|
/linux/sound/soc/meson/ |
H A 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 44 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_be_hw_params() 45 struct axg_dai_link_tdm_data *be = in axg_card_tdm_be_hw_params() local 46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->id]; 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 …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b-odroid.dtsi" 14 dio2133: audio-amplifier-0 { 15 compatible = "simple-audio-amplifier"; 16 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 17 VCC-supply = <&vcc_5v>; 18 sound-name-prefix = "U19"; 22 hub_5v: regulator-hub-5v { 23 compatible = "regulator-fixed"; 24 regulator-name = "HUB_5V"; [all …]
|
H A D | meson-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 22 stdout-path = "serial0:115200n8"; 30 adc-keys { 31 compatible = "adc-keys"; 32 io-channels = <&saradc 2>; 33 io-channel-names = "buttons"; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include "sdm845-wcd9340.dtsi" 21 /delete-node/ &rmtfs_mem; 30 stdout-path = "serial0:115200n8"; [all …]
|
/linux/sound/soc/intel/avs/ |
H A D | pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 14 #include <sound/soc-acpi.h> 15 #include <sound/soc-acpi-intel-match.h> 16 #include <sound/soc-component.h> 28 /* LINK-stream utilized in BE operations while HOST in FE ones. */ 39 avs_dai_find_path_template(struct snd_soc_dai *dai, bool is_fe, int direction) in avs_dai_find_path_template() argument 41 struct snd_soc_dapm_widget *dw = snd_soc_dai_get_widget(dai, direction); in avs_dai_find_path_template() 51 dp = list_first_entry_or_null(&dw->edges[dir], typeof(*dp), list_node[dir]); in avs_dai_find_path_template() 56 dw = (dp->source == dw) ? dp->sink : dp->source; in avs_dai_find_path_template() [all …]
|
/linux/include/sound/ |
H A D | simple_card_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 79 #define simple_priv_to_card(priv) (&(priv)->snd_card) 80 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i)) 81 #define simple_priv_to_dev(priv) (simple_priv_to_card(priv)->dev) 82 #define simple_priv_to_link(priv, i) (simple_priv_to_card(priv)->dai_link + (i)) 84 #define simple_props_to_dlc_cpu(props, i) ((props)->cpus + i) 85 #define simple_props_to_dlc_codec(props, i) ((props)->codecs + i) 86 #define simple_props_to_dlc_platform(props, i) ((props)->platforms + i) 88 #define simple_props_to_dai_cpu(props, i) ((props)->cpu_dai + i) 89 #define simple_props_to_dai_codec(props, i) ((props)->codec_dai + i) [all …]
|
/linux/Documentation/sound/soc/ |
H A D | codec-to-codec.rst | 2 Creating codec to codec dai link for ALSA dapm 9 --------- --------- 10 | | dai | | 11 CPU -------> codec 13 --------- --------- 18 --------- 20 codec-2 22 --------- 24 dai-2 26 ---------- --------- [all …]
|