/openbmc/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 - enum: [all …]
|
H A D | qcom,apq8096.txt | 5 - compatible: 8 Definition: must be "qcom,apq8096-sndcard" 10 - audio-routing: 16 source. Valid names could be power supplies, MicBias 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 63 links. Should be connected to another audio component 64 using "audio-routing". [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 | mediatek,mt8188-mt6359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-mt6359.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Trevor Wu <trevor.wu@mediatek.com> 13 - $ref: sound-card-common.yaml# 18 - mediatek,mt8188-mt6359-evb 19 - mediatek,mt8188-nau8825 21 audio-routing: 23 Valid names could be the input or output widgets of audio components, [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 - Srinivasa Rao Mandadapu <srivasam@codeaurora.org> 11 - Judy Hsiao <judyhsiao@chromium.org> 17 - $ref: sound-card-common.yaml# 22 - google,sc7280-herobrine 24 "#address-cells": [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 | 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. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [all …]
|
H A 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 …]
|
H A D | fsl-asoc-card.txt | 3 The Freescale Generic ASoC Sound Card can be used, ideally, for all Freescale 9 this is a specific feature that might be painstakingly controlled and merged 17 and PCM DAI formats. However, it'll be also possible to support those non 23 "fsl,imx-audio-ac97" 25 "fsl,imx-audio-cs42888" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 32 "fsl,imx-audio-sgtl5000" 33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt) 35 "fsl,imx-audio-wm8960" [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 …]
|
H A D | mikroe,mikroe-proto.txt | 1 Mikroe-PROTO audio board 4 - compatible: "mikroe,mikroe-proto" 5 - dai-format: Must be "i2s". 6 - i2s-controller: The phandle of the I2S controller. 7 - audio-codec: The phandle of the WM8731 audio codec. 9 - model: The user-visible name of this sound complex. 10 - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). 11 - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). 13 (1) : There must be the same master for both bit and frame clocks. 17 compatible = "mikroe,mikroe-proto"; [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | dpcm.rst | 18 DPCM re-uses all the existing component codec, platform and DAI drivers without 23 ------------------------------------- 25 Consider the following phone audio subsystem. This will be used in this 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 [all …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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->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 …]
|
/openbmc/linux/sound/soc/generic/ |
H A 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," 41 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_platform() 42 * it will be used as xxx_of_node on soc_bind_dai_link() in asoc_simple_parse_platform() 44 ret = of_parse_phandle_with_args(node, DAI, CELL, 0, &args); in asoc_simple_parse_platform() 50 dlc->of_node = args.np; in asoc_simple_parse_platform() 61 struct snd_soc_dai *dai; in asoc_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 29 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event() 30 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event() 34 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event() 37 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event() 40 return -EINVAL; in graph_outdrv_event() 60 struct snd_soc_dai *dai = snd_soc_find_dai_with_mutex(dlc); in soc_component_is_pcm() local 62 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm() 63 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm() [all …]
|
/openbmc/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 …]
|
/openbmc/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/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 20 /delete-node/ &rmtfs_mem; 29 stdout-path = "serial0:115200n8"; 32 gpio-hall-sensor { [all …]
|
/openbmc/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. All rights reserved. 14 #include <sound/soc-acpi.h> 15 #include <sound/soc-acpi-intel-match.h> 16 #include <sound/soc-component.h> 25 * link stream is stored within substream's runtime 26 * private_data to fulfill the needs of codec BE path 36 avs_dai_find_path_template(struct snd_soc_dai *dai, bool is_fe, int direction) in avs_dai_find_path_template() argument 38 struct snd_soc_dapm_widget *dw = snd_soc_dai_get_widget(dai, direction); in avs_dai_find_path_template() 48 dp = list_first_entry_or_null(&dw->edges[dir], typeof(*dp), list_node[dir]); in avs_dai_find_path_template() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A 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> 19 static int quirk_override = -1; 21 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 23 #define INC_ID(BE, CPU, LINK) d argument 559 struct snd_soc_dai *dai; sdw_prepare() local 577 struct snd_soc_dai *dai; sdw_trigger() local 665 struct snd_soc_dai *dai; sdw_hw_free() local [all...] |