| /linux/sound/soc/generic/ |
| H A D | Makefile | 1 # 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 D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 tristate "ASoC Simple sound card support" 11 This option enables generic simple sound card support 15 tristate "ASoC Audio Graph sound card support" 19 This option enables generic simple sound card support 20 with OF-graph DT bindings. 24 tristate "ASoC Audio Graph sound card2 support" 29 with OF-graph DT bindings. 32 tristate "ASoC Audio Graph Card2 base custom sample support" 35 This option enables Audio Graph Card2 base custom sample
|
| H A D | audio-graph-card2-custom-sample.c | 1 // 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 …]
|
| H A D | audio-graph-card2.c | 1 // 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/Documentation/devicetree/bindings/sound/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 21 $ref: audio-graph.yaml#/properties/routing 22 aux-devs: [all …]
|
| H A 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' 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 …]
|
| H A D | davinci-mcasp-audio.yaml | 1 # 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/sound/soc/tegra/ |
| H A D | tegra_audio_graph_card.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION. All rights reserved. 4 // tegra_audio_graph_card.c - Audio Graph based Tegra Machine Driver 12 #include <sound/soc-dai.h> 41 /* Tegra audio chip data */ 50 !dai->driver->ops || in need_clk_update() 51 !dai->driver->name) in need_clk_update() 54 if (strstr(dai->driver->name, "I2S") || in need_clk_update() 55 strstr(dai->driver->name, "DMIC") || in need_clk_update() 56 strstr(dai->driver->name, "DSPK")) in need_clk_update() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 tristate "SoC Audio for the Tegra System-on-Chip" 12 Say Y or M here if you want support for SoC audio on Tegra. 65 Config to enable Audio Hub (AHUB) module, which comprises of a 66 switch called Audio Crossbar (AXBAR) used to configure or modify 67 the audio routing path between various HW accelerators present in 85 Config to enable the Inter-IC Sound (I2S) Controller which 86 implements full-duplex and bidirectional and single direction 87 point-to-point serial interfaces. It can interface with I2S 116 converts the multi-bit Pulse Code Modulation (PCM) audio input to [all …]
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | ulcb-audio-graph-card2.dtsi | 1 // 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 D | ulcb-kf-audio-graph-card2.dtsi | 1 // 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 D | ulcb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car Gen3 ULCB board 8 * Sample Audio settings: 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 18 model = "Renesas R-Car Gen3 ULCB board"; 37 stdout-path = "serial0:115200n8"; 40 audio_clkout: audio-clkout { 43 * but needed to avoid cs2000/rcar_sound probe dead-lock 45 compatible = "fixed-clock"; [all …]
|
| H A D | ulcb-audio-graph-card.dtsi | 1 // 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 …]
|
| H A D | ulcb-audio-graph-card-mix+split.dtsi | 1 // 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 …]
|
| H A D | ulcb-kf-audio-graph-card.dtsi | 1 // 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 …]
|
| H A D | ulcb-kf-audio-graph-card-mix+split.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for ULCB + Kingfisher + Audio Graph Card (MIX + TDM Split) 12 * (A) CPU0 (2ch) <----> (2ch) (X) ak4613 (MIX-0) 13 * (B) CPU1 (2ch) --/ (MIX-1) 14 * (C) CPU2 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch) 15 * (D) CPU3 (2ch) --/ (TDM-1 : 2,3ch) 16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch) 17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch) 18 * (G) CPU6 (2ch) <---- (6ch) (Z) PCM3168A-c (TDM-a: 0,1ch) 19 * (H) CPU7 (2ch) <--/ (TDM-b: 2,3ch) [all …]
|
| H A D | white-hawk-ard-audio-da7212.dtso | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for White Hawk (Single) board with ARD-AUDIO-DA7212 board 5 * You can find and buy "ARD-AUDIO-DA7212" at Digi-Key 7 * https://www.digikey.jp/en/products/detail/ARD-AUDIO-DA7212/1564-1021-ND/5456357 14 * White Hawk ARD-AUDIO-DA7212 15 * +----------------------------+ 19 * | AUDIO_CLKIN_V pin1 |<--\ +---------------+ 20 * |(*) GP1_25/SL_SW2_V pin2 |<--/ |J2 | 21 * | AUDIO_CLKOUT_V pin5 |<----->| pin7 MCLK | 22 * | SSI_SCK_V pin9 |<----->| pin1 BCLK | [all …]
|
| /linux/tools/sound/ |
| H A D | dapm-graph | 2 # 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/sound/soc/atmel/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 in PDC mode configured using audio-graph-card in device-tree. 33 in DMA mode configured using audio-graph-card in device-tree. 36 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 42 Say Y if you want to add support for SoC audio on WM8731-based 56 tristate "SoC Audio support for WM8731-based at91sam9x5 board" 62 Say Y if you want to add support for audio SoC on an 84 tristate "ASoC driver for the Axentia TSE-850" 91 Axentia TSE-850 with a PCM5142 codec. 103 tristate "Support for Mikroe-PROTO board" [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 comment "Common SoC Audio options for Freescale CPUs:" 17 This option is only useful for out-of-tree drivers since 18 in-tree drivers select it automatically. 21 tristate "Synchronous Audio Interface (SAI) module support" 27 Say Y if you want to add Synchronous Audio Interface (SAI) 29 This option is only useful for out-of-tree drivers since 30 in-tree drivers select it automatically. 40 This option is only useful for out-of-tree drivers since 41 in-tree drivers select it automatically. [all …]
|
| /linux/include/sound/ |
| H A D | graph_card.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * ASoC audio graph card support
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-rock-5b.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3588-rock-5b-5bp-5t.dtsi" 8 analog-sound { 9 compatible = "audio-graph-card"; 10 label = "rk3588-es8316"; 20 hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&hp_detect>; 26 compatible = "gpio-leds"; [all …]
|
| /linux/arch/arm/boot/dts/socionext/ |
| H A D | uniphier-pxs2-gentil.dts | 1 // 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 …]
|