Home
last modified time | relevance | path

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

123

/Linux-v6.1/sound/soc/generic/
DMakefile1 # 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 …]
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
27 static int custom_card_probe(struct snd_soc_card *card) in custom_card_probe() argument
29 struct asoc_simple_priv *simple_priv = snd_soc_card_get_drvdata(card); in custom_card_probe()
35 custom_priv->custom_params = 1; in custom_card_probe()
38 return asoc_graph_card_probe(card); in custom_card_probe()
54 struct snd_soc_card *card; in custom_hook_post() local
60 card = simple_priv_to_card(priv); in custom_hook_post()
61 card->probe = custom_card_probe; in custom_hook_post()
112 * 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
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()
69 if (ret != -ENOTSUPP) in graph_get_dai_id()
97 id = -1; in graph_get_dai_id()
[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
28 bitclock-master;
30 frame-master;
42 sample0: left_j, bitclock-master, frame-master
43 sample1: i2s, bitclock-master
51 Normal Audio-Graph
54 CPU <---> Codec
57 compatible = "audio-graph-card2";
[all …]
/Linux-v6.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 …]
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-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' 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 …]
Ddavinci-mcasp-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,dm646x-mcasp-audio
16 - ti,da830-mcasp-audio
17 - ti,am33xx-mcasp-audio
18 - ti,dra7-mcasp-audio
19 - ti,omap4-mcasp-audio
[all …]
/Linux-v6.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-v6.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.
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 …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 snd-soc-tegra-pcm-objs := tegra_pcm.o
4 snd-soc-tegra-utils-objs += tegra_asoc_utils.o
5 snd-soc-tegra20-ac97-objs := tegra20_ac97.o
6 snd-soc-tegra20-das-objs := tegra20_das.o
7 snd-soc-tegra20-i2s-objs := tegra20_i2s.o
8 snd-soc-tegra20-spdif-objs := tegra20_spdif.o
9 snd-soc-tegra30-ahub-objs := tegra30_ahub.o
10 snd-soc-tegra30-i2s-objs := tegra30_i2s.o
11 snd-soc-tegra210-ahub-objs := tegra210_ahub.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
10 Say Y or M here if you want support for SoC audio on Tegra.
63 Config to enable Audio Hub (AHUB) module, which comprises of a
64 switch called Audio Crossbar (AXBAR) used to configure or modify
65 the audio routing path between various HW accelerators present in
82 Config to enable the Inter-IC Sound (I2S) Controller which
83 implements full-duplex and bidirectional and single direction
84 point-to-point serial interfaces. It can interface with I2S
113 converts the multi-bit Pulse Code Modulation (PCM) audio input to
[all …]
/Linux-v6.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-v6.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 …]
/Linux-v6.1/Documentation/sound/soc/
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-v6.1/include/sound/
Dgraph_card.h1 /* SPDX-License-Identifier: GPL-2.0
3 * ASoC audio graph card support
/Linux-v6.1/arch/arm/boot/dts/
Duniphier-pxs2-vodka.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2016 Socionext Inc.
8 /dts-v1/;
9 #include "uniphier-pxs2.dtsi"
13 compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
16 stdout-path = "serial0:115200n8";
36 compatible = "audio-graph-card";
42 spdif-out {
43 compatible = "linux,spdif-dit";
44 #sound-dai-cells = <0>;
[all …]
Duniphier-pxs2-gentil.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2016 Socionext Inc.
8 /dts-v1/;
9 #include "uniphier-pxs2.dtsi"
13 compatible = "socionext,uniphier-pxs2-gentil",
14 "socionext,uniphier-pxs2";
17 stdout-path = "serial0:115200n8";
38 compatible = "audio-graph-card";
59 dai-format = "i2s";
60 remote-endpoint = <&wm_speaker>;
[all …]
Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/clock/marvell,mmp2-audio.h>
16 model = "OLPC XO-1.75";
17 compatible = "olpc,xo-1.75", "mrvl,mmp2";
20 #address-cells = <1>;
21 #size-cells = <1>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/socionext/
Duniphier-ld20-global.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2017 Socionext Inc.
9 /dts-v1/;
10 #include <dt-bindings/gpio/uniphier-gpio.h>
11 #include "uniphier-ld20.dtsi"
15 compatible = "socionext,uniphier-ld20-global",
16 "socionext,uniphier-ld20";
19 stdout-path = "serial0:115200n8";
41 dvdd_reg: reg-fixed {
42 compatible = "regulator-fixed";
[all …]
Duniphier-ld11-global.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2016-2017 Socionext Inc.
9 /dts-v1/;
10 #include <dt-bindings/gpio/uniphier-gpio.h>
11 #include "uniphier-ld11.dtsi"
15 compatible = "socionext,uniphier-ld11-global",
16 "socionext,uniphier-ld11";
19 stdout-path = "serial0:115200n8";
41 dvdd_reg: reg-fixed {
42 compatible = "regulator-fixed";
[all …]
Duniphier-ld20-akebi96.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Derived from uniphier-ld20-global.dts.
7 // Copyright (C) 2015-2017 Socionext Inc.
8 // Copyright (C) 2019-2020 Linaro Ltd.
10 /dts-v1/;
11 #include <dt-bindings/gpio/uniphier-gpio.h>
12 #include "uniphier-ld20.dtsi"
16 compatible = "socionext,uniphier-ld20-akebi96",
17 "socionext,uniphier-ld20";
20 stdout-path = "serial0:115200n8";
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3399-firefly.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pwm/pwm.h>
10 #include <dt-bindings/usb/pd.h>
12 #include "rk3399-opp.dtsi"
15 model = "Firefly-RK3399 Board";
16 compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
25 stdout-path = "serial2:1500000n8";
[all …]

123