/Linux-v6.1/sound/soc/generic/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 snd-soc-simple-card-utils-objs := simple-card-utils.o 3 snd-soc-simple-card-objs := simple-card.o 4 snd-soc-audio-graph-card-objs := audio-graph-card.o 5 snd-soc-audio-graph-card2-objs := audio-graph-card2.o 6 snd-soc-audio-graph-card2-custom-sample-objs := audio-graph-card2-custom-sample.o 7 snd-soc-test-component-objs := test-component.o 9 obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) += snd-soc-simple-card-utils.o 10 obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o 11 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 tristate "ASoC Audio Graph sound card support" 18 with OF-graph DT bindings. 22 tristate "ASoC Audio Graph sound card2 support" 27 with OF-graph DT bindings. 30 tristate "ASoC Audio Graph Card2 base custom sample support" 33 This option enables Audio Graph Card2 base custom sample
|
D | audio-graph-card2-custom-sample.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // audio-graph-card2-custom-sample.c 35 custom_priv->custom_params = 1; in custom_card_probe() 61 card->probe = custom_card_probe; in custom_hook_post() 112 * audio-graph-card2 has many hooks for your customizing. 125 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); in custom_startup() 144 struct device *dev = &pdev->dev; in custom_probe() 149 return -ENOMEM; in custom_probe() 151 simple_priv = &custom_priv->simple_priv; in custom_probe() 152 simple_priv->ops = &custom_ops; /* customize dai_link ops */ in custom_probe() [all …]
|
D | audio-graph-card2-custom-sample.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * audio-graph-card2-custom-sample.dtsi 8 * This sample indicates how to use audio-graph-card2 and its 9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver 10 * which is using audio-graph-card2. 15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi" 23 * "compatible" on each test-component. see below 26 * - compatible = "test-cpu"; 27 * + compatible = "test-cpu-verbose"; 32 * - compatible = "test-codec"; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | audio-graph-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph Card 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 - $ref: /schemas/sound/audio-graph.yaml# 18 - audio-graph-card 19 - audio-graph-scu-card 22 - compatible [all …]
|
D | nvidia,tegra-audio-graph-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph based Tegra sound card driver 10 This is based on generic audio graph card driver along with additional 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Sameer Pujar <spujar@nvidia.com> 19 - $ref: audio-graph.yaml# 24 - nvidia,tegra210-audio-graph-card [all …]
|
D | audio-graph-card2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-card2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph Card2 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 - audio-graph-card2 17 $ref: /schemas/types.yaml#/definitions/phandle-array 22 A list of the connections between audio components. 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array [all …]
|
D | nvidia,tegra210-dmic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: name-prefix.yaml# 24 pattern: "^dmic@[0-9a-f]*$" 28 - const: nvidia,tegra210-dmic 29 - items: [all …]
|
D | nvidia,tegra210-mixer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-mixer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Mixer supports mixing of up to ten 7.1 audio input streams and 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Mohan Kumar <mkumard@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: name-prefix.yaml# 24 pattern: "^amixer@[0-9a-f]*$" [all …]
|
D | nvidia,tegra186-dspk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Density Modulation (PDM) transmitter that up-samples the input to 13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 21 - $ref: name-prefix.yaml# 25 pattern: "^dspk@[0-9a-f]*$" [all …]
|
D | nvidia,tegra210-amx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-amx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Audio Multiplexer (AMX) block can multiplex up to four input streams 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Mohan Kumar <mkumard@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 21 - $ref: name-prefix.yaml# 25 pattern: "^amx@[0-9a-f]*$" [all …]
|
D | nvidia,tegra210-adx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-adx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Audio Demultiplexer (ADX) block takes an input stream with up to 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Mohan Kumar <mkumard@nvidia.com> 19 - Sameer Pujar <spujar@nvidia.com> 22 - $ref: name-prefix.yaml# 26 pattern: "^adx@[0-9a-f]*$" [all …]
|
D | nvidia,tegra210-sfc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-sfc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Mohan Kumar <mkumard@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: name-prefix.yaml# 24 pattern: "^sfc@[0-9a-f]*$" 28 - const: nvidia,tegra210-sfc [all …]
|
D | nvidia,tegra210-mvc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-mvc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 signal path. It can be used in input or output signal path for per-stream 14 multi-channel (up to 7.1 channels) stream. An independent mute control is 18 - Jon Hunter <jonathanh@nvidia.com> 19 - Mohan Kumar <mkumard@nvidia.com> 20 - Sameer Pujar <spujar@nvidia.com> 23 - $ref: name-prefix.yaml# [all …]
|
D | nvidia,tegra210-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Inter-IC Sound (I2S) controller implements full-duplex, 11 bi-directional and single direction point-to-point serial 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: name-prefix.yaml# 24 pattern: "^i2s@[0-9a-f]*$" [all …]
|
D | nvidia,tegra210-ope.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ope.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Mohan Kumar <mkumard@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: name-prefix.yaml# 25 - const: nvidia,tegra210-ope 26 - items: [all …]
|
D | nvidia,tegra186-asrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-asrc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 21 - Jon Hunter <jonathanh@nvidia.com> 22 - Mohan Kumar <mkumard@nvidia.com> 23 - Sameer Pujar <spujar@nvidia.com> 26 - $ref: name-prefix.yaml# 30 pattern: "^asrc@[0-9a-f]*$" 34 - const: nvidia,tegra186-asrc [all …]
|
D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph Card 'port' Node Bindings 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 - $ref: /schemas/graph.yaml#/$defs/port-base 21 convert-rate: 22 $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-rate" 23 convert-channels: [all …]
|
D | audio-graph.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 $ref: /schemas/types.yaml#/definitions/phandle-array 22 A list of the connections between audio components. 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 27 description: User specified audio sound widgets. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/ |
D | sil,sii9022.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Boris Brezillon <bbrezillon@kernel.org> 15 - items: 16 - enum: 17 - sil,sii9022-cpi # CEC Programming Interface 18 - sil,sii9022-tpi # Transmitter Programming Interface 19 - const: sil,sii9022 20 - const: sil,sii9022 [all …]
|
/Linux-v6.1/Documentation/sound/soc/ |
D | dpcm.rst | 8 Dynamic PCM allows an ALSA PCM device to digitally route its PCM audio to 10 digital audio to I2S DAI0, I2S DAI1 or PDM DAI2. This is useful for on SoC DSP 15 graph representing the DSP internal audio paths and uses the mixer settings to 18 DPCM re-uses all the existing component codec, platform and DAI drivers without 22 Phone Audio System with SoC based DSP 23 ------------------------------------- 25 Consider the following phone audio subsystem. This will be used in this 26 document for all examples :- 29 | Front End PCMs | SoC DSP | Back End DAIs | Audio devices | 32 PCM0 <------------> * * <----DAI0-----> Codec Headset [all …]
|
/Linux-v6.1/sound/soc/tegra/ |
D | tegra_audio_graph_card.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra_audio_graph_card.c - Audio Graph based Tegra Machine Driver 5 // Copyright (c) 2020-2021 NVIDIA CORPORATION. All rights reserved. 41 /* Tegra audio chip data */ 52 struct asoc_simple_priv *simple = snd_soc_card_get_drvdata(rtd->card); in tegra_audio_graph_update_pll() 54 struct device *dev = rtd->card->dev; in tegra_audio_graph_update_pll() 66 plla_out0_rate = data->plla_out0_rates[x11_RATE]; in tegra_audio_graph_update_pll() 67 plla_rate = data->plla_rates[x11_RATE]; in tegra_audio_graph_update_pll() 75 plla_out0_rate = data->plla_out0_rates[x8_RATE]; in tegra_audio_graph_update_pll() 76 plla_rate = data->plla_rates[x8_RATE]; in tegra_audio_graph_update_pll() [all …]
|
/Linux-v6.1/sound/soc/qcom/qdsp6/ |
D | q6apm-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <sound/soc-dapm.h> 13 #include <linux/dma-mapping.h> 18 #define DRV_NAME "q6apm-dai" 55 struct q6apm_graph *graph; member 101 struct snd_pcm_substream *substream = prtd->substream; in event_handler() 105 prtd->state = Q6APM_STREAM_STOPPED; in event_handler() 108 prtd->pos += prtd->pcm_count; in event_handler() 110 if (prtd->state == Q6APM_STREAM_RUNNING) in event_handler() 111 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler() [all …]
|
/Linux-v6.1/include/uapi/sound/ |
D | snd_ar_tokens.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 /** Scenario ID Audio Playback */ 14 /* Scenario ID Audio Record */ 28 /* container graph position Stream */ 30 /* container graph position Per Stream Per Device*/ 32 /* container graph position Stream-Device */ 34 /* container graph position Global Device */ 60 * %AR_TKN_U32_SUB_GRAPH_INSTANCE_ID: Sub Graph Instance Id 85 * %AR_TKN_U32_CONTAINER_GRAPH_POS: Graph Position 169 /* SUB GRAPH Tokens */
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
D | allwinner,sun4i-a10-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The HDMI Encoder supports the HDMI video and audio outputs, and does 14 - Chen-Yu Tsai <wens@csie.org> 15 - Maxime Ripard <mripard@kernel.org> 20 - const: allwinner,sun4i-a10-hdmi 21 - const: allwinner,sun5i-a10s-hdmi 22 - const: allwinner,sun6i-a31-hdmi [all …]
|