Home
last modified time | relevance | path

Searched +full:audio +full:- +full:graph +full:- +full:card2 (Results 1 – 17 of 17) sorted by relevance

/linux/sound/soc/generic/
H A 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 …]
H A Daudio-graph-card2-custom-sample.c1 // SPDX-License-Identifier: GPL-2.0
3 // audio-graph-card2-custom-sample.c
36 custom_priv->custom_params = 1; in custom_card_probe()
62 card->probe = custom_card_probe; in custom_hook_post()
113 * audio-graph-card2 has many hooks for your customizing.
126 struct simple_util_priv *priv = snd_soc_card_get_drvdata(rtd->card); in custom_startup()
145 struct device *dev = &pdev->dev; in custom_probe()
150 return -ENOMEM; in custom_probe()
152 simple_priv = &custom_priv->simple_priv; in custom_probe()
153 simple_priv->ops = &custom_ops; /* customize dai_link ops */ in custom_probe()
[all …]
H A DKconfig1 # 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"
26 This option enables generic simple 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
H A Daudio-graph-card2-custom-sample.dtsi1 // 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 …]
H A 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-car
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A Drenesas,rsnd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Sound Driver
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
17 - items:
18 - enum:
19 - renesas,rcar_sound-r8a7778 # R-Car M1A
20 - renesas,rcar_sound-r8a7779 # R-Car H1
21 - const: renesas,rcar_sound-gen1
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A 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 …]
H A 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 …]
H A Dulcb-audio-graph-card2-mix+split.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Audio Graph Card2 (MIX + TDM Split)
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
22 compatible = "audio-graph-card2";
23 label = "snd-ulcb-mix";
35 #address-cells = <1>;
[all …]
H A Dulcb-kf-audio-graph-card2-mix+split.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for ULCB + Kingfisher + Audio Graph Card2 (MIX + TDM Split)
12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0)
13 * (B) CPU1 (2ch) --/ (MIX-1)
14 * (C) CPU3 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU2 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
18 * (G) CPU6 (6ch) <---- (6ch) (Z) PCM3168A-c
20 * (A) aplay -D plughw:0,0 xxx.wav (MIX-0)
[all …]
H A Dr8a779h0-gray-hawk-single.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the R-Car V4M Gray Hawk Single board
11 * Because R-Car V4M has only 1 SSI, it cannot handle both Playback/Capture
28 /dts-v1/;
30 #include <dt-bindings/gpio/gpio.h>
31 #include <dt-bindings/input/input.h>
32 #include <dt-bindings/leds/common.h>
38 compatible = "renesas,gray-hawk-single", "renesas,r8a779h0";
50 can_transceiver0: can-phy0 {
52 #phy-cells = <0>;
[all …]
/linux/arch/arm/boot/dts/cirrus/
H A Dep93xx-edb9302.dts1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
5 /dts-v1/;
9 #address-cells = <1>;
10 #size-cells = <1>;
27 compatible = "audio-graph-card2";
33 compatible = "gpio-leds";
34 led-0 {
37 linux,default-trigger = "heartbeat";
41 led-1 {
55 compatible = "cfi-flash";
[all …]
/linux/sound/soc/sof/imx/
H A Dimx8.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 // Hardware interface for audio DSP on i.MX8
22 #include <dt-bindings/firmware/imx/rsrc.h>
24 #include "../sof-of-dev.h"
25 #include "imx-common.h"
79 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8_dsp_handle_reply()
80 snd_sof_ipc_process_reply(priv->sdev, 0); in imx8_dsp_handle_reply()
81 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); in imx8_dsp_handle_reply()
90 sof_mailbox_read(priv->sdev, priv->sdev->debug_box.offset + 4, &p, sizeof(p)); in imx8_dsp_handle_request()
94 snd_sof_dsp_panic(priv->sdev, p, true); in imx8_dsp_handle_request()
[all …]
H A Dimx8m.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 // Hardware interface for audio DSP on i.MX8M
23 #include "../sof-of-dev.h"
24 #include "imx-common.h"
35 /* DSP audio mix registers */
73 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply()
74 snd_sof_ipc_process_reply(priv->sdev, 0); in imx8m_dsp_handle_reply()
75 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply()
84 sof_mailbox_read(priv->sdev, priv->sdev->debug_box.offset + 4, &p, sizeof(p)); in imx8m_dsp_handle_request()
88 snd_sof_dsp_panic(priv->sdev, p, true); in imx8m_dsp_handle_request()
[all …]
H A Dimx8ulp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 // Copyright 2021-2022 NXP
7 // Hardware interface for audio DSP on i.MX8ULP
9 #include <linux/arm-smccc.h>
26 #include "../sof-of-dev.h"
27 #include "imx-common.h"
59 regmap_update_bits(priv->regmap, SYSCTRL0, RESET_BIT, 0); in imx8ulp_sim_lpav_start()
62 regmap_update_bits(priv->regmap, SYSCTRL0, DEBUG_LOGIC_BIT, 0); in imx8ulp_sim_lpav_start()
65 regmap_update_bits(priv->regmap, SYSCTRL0, EXECUTE_BIT, 0); in imx8ulp_sim_lpav_start()
83 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8ulp_dsp_handle_reply()
[all …]
/linux/Documentation/devicetree/bindings/
H A Dincomplete-devices.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/incomplete-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
16 Examples are devices using ACPI PRP0001 with non-updatable firmware/ACPI
17 tables or old PowerPC platforms without in-tree DTS.
21 un-approved compatible.
29 - description:
30 Rejected compatibles in Devicetree, but used in ACPI-based devices
[all …]