Home
last modified time | relevance | path

Searched +full:audio +full:- +full:graph +full:- +full:card (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.12.1/sound/soc/generic/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 snd-soc-simple-card-utils-y := simple-card-utils.o
3 snd-soc-simple-card-y := simple-card.o
4 snd-soc-audio-graph-card-y := audio-graph-card.o
5 snd-soc-audio-graph-card2-y := audio-graph-card2.o
6 snd-soc-audio-graph-card2-custom-sample-y := audio-graph-card2-custom-sample.o
7 snd-soc-test-component-y := 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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "ASoC Simple sound card support"
9 This option enables generic simple sound card support
13 tristate "ASoC Audio Graph sound card support"
17 This option enables generic simple 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
Daudio-graph-card2-custom-sample.c1 // SPDX-License-Identifier: GPL-2.0
3 // audio-graph-card2-custom-sample.c
28 static int custom_card_probe(struct snd_soc_card *card) in custom_card_probe() argument
30 struct simple_util_priv *simple_priv = snd_soc_card_get_drvdata(card); in custom_card_probe()
36 custom_priv->custom_params = 1; in custom_card_probe()
39 return graph_util_card_probe(card); in custom_card_probe()
55 struct snd_soc_card *card; in custom_hook_post() local
61 card = simple_priv_to_card(priv); in custom_hook_post()
62 card->probe = custom_card_probe; in custom_hook_post()
113 * audio-graph-card2 has many hooks for your customizing.
[all …]
Daudio-graph-card.c1 // SPDX-License-Identifier: GPL-2.0
3 // ASoC audio graph sound card support
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()
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 …]
Daudio-graph-card2.c1 // SPDX-License-Identifier: GPL-2.0
3 // ASoC Audio Graph Card2 support
8 // based on ${LINUX}/sound/soc/generic/audio-graph-card.c
25 bitclock-master;
27 frame-master;
39 sample0: left_j, bitclock-master, frame-master
40 sample1: i2s, bitclock-master
56 linux/sound/soc/soc-utils.c
57 linux/sound/soc/generic/test-component.c
60 Normal Audio-Graph
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Daudio-graph-card.yaml1 # 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 …]
Dnvidia,tegra-audio-graph-card.yaml1 # 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 …]
Daudio-graph-port.yaml1 # 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'
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
15 port-base:
17 - $ref: /schemas/graph.yaml#/$defs/port-base
18 - $ref: /schemas/sound/dai-params.yaml#
20 mclk-fs:
[all …]
Drenesas,rsnd.txt1 Renesas R-Car sound
7 Renesas R-Car and RZ/G sound is constructed from below modules
11 - SRC : Sampling Rate Converter
12 - CMD
13 - CTU : Channel Transfer Unit
14 - MIX : Mixer
15 - DVC : Digital Volume and Mute Function
25 Multi channel is supported by Multi-SSI, or TDM-SSI.
27 Multi-SSI : 6ch case, you can use stereo x 3 SSI
28 TDM-SSI : 6ch case, you can use TDM
[all …]
Daudio-graph-card2.yaml1 # 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/display/bridge/
Dsil,sii9022.yaml1 # 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-6.12.1/sound/soc/tegra/
Dtegra_audio_graph_card.c1 // 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.
13 #include <sound/soc-dai.h>
42 /* Tegra audio chip data */
51 !dai->driver->ops || in need_clk_update()
52 !dai->driver->name) in need_clk_update()
55 if (strstr(dai->driver->name, "I2S") || in need_clk_update()
56 strstr(dai->driver->name, "DMIC") || in need_clk_update()
57 strstr(dai->driver->name, "DSPK")) in need_clk_update()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 snd-soc-tegra-pcm-y := tegra_pcm.o
4 snd-soc-tegra-utils-y += tegra_asoc_utils.o
5 snd-soc-tegra20-ac97-y := tegra20_ac97.o
6 snd-soc-tegra20-das-y := tegra20_das.o
7 snd-soc-tegra20-i2s-y := tegra20_i2s.o
8 snd-soc-tegra20-spdif-y := tegra20_spdif.o
9 snd-soc-tegra30-ahub-y := tegra30_ahub.o
10 snd-soc-tegra30-i2s-y := tegra30_i2s.o
11 snd-soc-tegra210-ahub-y := tegra210_ahub.o
[all …]
/linux-6.12.1/Documentation/sound/soc/
Ddapm.rst2 Dynamic Audio Power Management for Portable Devices
8 Dynamic Audio Power Management (DAPM) is designed to allow portable
9 Linux devices to use the minimum amount of power within the audio
11 management frameworks and, as such, can easily co-exist with them.
16 switching decisions based upon any audio stream (capture/playback)
17 activity and audio mixer settings within the device.
21 * a **widget** is every part of the audio hardware that can be enabled by
27 audio routing graph. This graph is specific to each sound card and spans
28 the whole sound card, so some DAPM routes connect two widgets belonging to
32 The graph for the STM32MP1-DK1 sound card is shown in picture:
[all …]
Ddpcm.rst8 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-6.12.1/arch/arm64/boot/dts/renesas/
Dulcb-audio-graph-card2.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Audio Graph Card2
9 * (A) CPU0 <----> ak4613
10 * (B) CPU1 ----> HDMI
12 * (A) aplay -D plughw:0,0 xxx.wav
13 * (B) aplay -D plughw:0,1 xxx.wav
15 * (A) arecord -D plughw:0,0 xxx.wav
17 #include "ulcb-audio-graph-card.dtsi"
20 compatible = "audio-graph-card2";
22 /delete-property/ dais;
[all …]
Dulcb-kf-audio-graph-card2.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Kingfisher + Audio Graph Card2
9 * (A) CPU0 <----> ak4613
10 * (B) CPU1 ----> HDMI
11 * (C) CPU2 ----> PCM3168A-p (8ch)
12 * (D) CPU3 <---- PCM3168A-c (6ch)
14 * (A) aplay -D plughw:0,0 xxx.wav
15 * (B) aplay -D plughw:0,1 xxx.wav
16 * (C) aplay -D plughw:1,0 xxx.wav
18 * (A) arecord -D plughw:0,0 xxx.wav
[all …]
Dulcb-kf.dtsi1 // SPDX-License-Identifier: GPL-2.0
18 #clock-cells = <0>;
19 compatible = "gpio-mux-clock";
21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>;
24 hdmi1-out {
25 compatible = "hdmi-connector";
30 remote-endpoint = <&adv7513_out>;
35 reg_t1p8v: regulator-t1p8v {
36 compatible = "regulator-fixed";
37 regulator-name = "T1.8V";
[all …]
Dulcb.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car Gen3 ULCB board
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
13 model = "Renesas R-Car Gen3 ULCB board";
32 stdout-path = "serial0:115200n8";
35 audio_clkout: audio-clkout {
38 * but needed to avoid cs2000/rcar_sound probe dead-lock
40 compatible = "fixed-clock";
41 #clock-cells = <0>;
[all …]
Dulcb-audio-graph-card.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Audio Graph Card
9 * (A) CPU0 <-----> ak4613
10 * (B) CPU1 -----> HDMI
12 * (A) aplay -D plughw:0,0 xxx.wav
13 * (B) aplay -D plughw:0,1 xxx.wav
15 * (A) arecord -D plughw:0,0 xxx.wav
20 compatible = "audio-graph-card";
21 label = "snd-ulcb";
23 dais = <&snd_ulcb1 /* (A) CPU0 <-> ak4613 */
[all …]
Dulcb-audio-graph-card-mix+split.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Audio Graph Card (MIX)
12 * (A) CPU0 (2ch) <-----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
15 * (A) aplay -D plughw:0,0 xxx.wav
16 * (B) aplay -D plughw:0,1 xxx.wav
18 * (A) arecord -D plughw:0,0 xxx.wav
23 compatible = "audio-graph-scu-card";
24 label = "snd-ulcb-mix";
38 #address-cells = <1>;
[all …]
Dulcb-kf-audio-graph-card.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Kingfisher + Audio Graph Card
9 * (A) CPU0 <----> ak4613
10 * (B) CPU1 ----> HDMI
11 * (C) CPU2 ----> PCM3168A-p (8ch)
12 * (D) CPU3 <---- PCM3168A-c (6ch)
14 * (A) aplay -D plughw:0,0 xxx.wav
15 * (B) aplay -D plughw:0,1 xxx.wav
16 * (C) aplay -D plughw:1,0 xxx.wav
18 * (A) arecord -D plughw:0,0 xxx.wav
[all …]
/linux-6.12.1/tools/sound/
Ddapm-graph2 # SPDX-License-Identifier: GPL-2.0
4 # Generate a graph of the current DAPM state for an audio card
9 set -eu
22 if [ "${1}" -ne 0 ]; then
27 Generate a graph of the current DAPM state for an audio card.
29 The DAPM state can be obtained via debugfs for a card on the local host or
30 a remote target, or from a local copy of the debugfs tree for the card.
33 $(basename $0) [options] -c CARD - Local sound card
34 $(basename $0) [options] -c CARD -r REMOTE_TARGET - Card on remote system
35 $(basename $0) [options] -d STATE_DIR - Local directory
[all …]
/linux-6.12.1/sound/soc/atmel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Atmel System-on-Chip"
8 to select the audio interfaces to support below.
31 in PDC mode configured using audio-graph-card in device-tree.
40 in DMA mode configured using audio-graph-card in device-tree.
43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
49 Say Y if you want to add support for SoC audio on WM8731-based
63 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
69 Say Y if you want to add support for audio SoC on an
91 tristate "ASoC driver for the Axentia TSE-850"
[all …]
/linux-6.12.1/sound/soc/fsl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "SoC Audio for Freescale CPUs"
4 comment "Common SoC Audio options for Freescale CPUs:"
14 This option is only useful for out-of-tree drivers since
15 in-tree drivers select it automatically.
18 tristate "Synchronous Audio Interface (SAI) module support"
24 Say Y if you want to add Synchronous Audio Interface (SAI)
26 This option is only useful for out-of-tree drivers since
27 in-tree drivers select it automatically.
36 This option is only useful for out-of-tree drivers since
[all …]

1234