/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 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
|
H A D | audio-graph-card2-custom-sample.c | 1 // 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 …]
|
/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 | ti,pcm3168a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments PCM3168A Audio Codec 10 - Damien Horsley <Damien.Horsley@imgtec.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 12 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 The Texas Instruments PCM3168A is a 24-bit Multi-channel Audio CODEC with 27 - description: System clock input 29 clock-names: [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 22 A list of the connections between audio components. 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array [all …]
|
H A 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: dai-common.yaml# 24 pattern: "^dmic@[0-9a-f]*$" 28 - const: nvidia,tegra210-dmic 29 - items: [all …]
|
H A 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: dai-common.yaml# 24 pattern: "^amixer@[0-9a-f]*$" [all …]
|
H A 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: dai-common.yaml# 25 pattern: "^dspk@[0-9a-f]*$" [all …]
|
H A 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: dai-common.yaml# 25 pattern: "^amx@[0-9a-f]*$" [all …]
|
H A 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: dai-common.yaml# 26 pattern: "^adx@[0-9a-f]*$" [all …]
|
H A 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: dai-common.yaml# 24 pattern: "^sfc@[0-9a-f]*$" 28 - const: nvidia,tegra210-sfc [all …]
|
H A 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: dai-common.yaml# 24 pattern: "^i2s@[0-9a-f]*$" [all …]
|
H A 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: dai-common.yaml# [all …]
|
H A 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: dai-common.yaml# 25 - const: nvidia,tegra210-ope 26 - items: [all …]
|
H A 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: dai-common.yaml# 30 pattern: "^asrc@[0-9a-f]*$" 34 - const: nvidia,tegra186-asrc [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 …]
|
/linux/Documentation/devicetree/bindings/display/xlnx/ |
H A D | xlnx,zynqmp-dpsub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 implements the display and audio pipelines based on the DisplayPort v1.2 14 +------------------------------------------------------------+ 15 +--------+ | +----------------+ +-----------+ | 16 | DPDMA | --->| | --> | Video | Video +-------------+ | 17 | 4x vid | | | | | Rendering | -+--> | | | +------+ 18 | 2x aud | | | Audio/Video | --> | Pipeline | | | DisplayPort |---> | PHY0 | [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | qcom,wcd939x-usbss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,wcd939x-usbss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm WCD9380/WCD9385 USB SubSystem Altmode/Analog Audio Switch 10 - Neil Armstrong <neil.armstrong@linaro.org> 13 Qualcomm WCD9390/WCD9395 is a standalone Hi-Fi audio codec IC with a 14 functionally separate USB SubSystem for Altmode/Analog Audio Switch 16 The Audio Headphone and Microphone data path between the Codec and the 17 USB-C Mux subsystems are external to the IC, thus requiring DT port-endpoint [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 …]
|
/linux/sound/soc/tegra/ |
H A 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. 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 …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | ite,it6505.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Allen Chen <allen.chen@ite.com.tw> 13 - $ref: /schemas/sound/dai-common.yaml# 16 The IT6505 is a high-performance DisplayPort 1.1a transmitter, 19 and ensures robust transmission of high-quality uncompressed video 20 content, along with uncompressed and compressed digital audio content. 23 also encodes and transmits up to 8 channels of I2S digital audio, 25 In addition, an S/PDIF input port takes in compressed audio of up to [all …]
|
/linux/include/uapi/sound/ |
H A 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 */
|