/openbmc/linux/sound/soc/generic/ |
H A D | Makefile | 1 # 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 …]
|
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 35 custom_priv->custom_params = 1; in custom_card_probe() 61 card->probe = custom_card_probe; in custom_hook_post() 112 * audio-graph-card2 has many hooks for your customizing. 125 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(rtd->card); in custom_startup() 144 struct device *dev = &pdev->dev; in custom_probe() 149 return -ENOMEM; in custom_probe() 151 simple_priv = &custom_priv->simple_priv; in custom_probe() 152 simple_priv->ops = &custom_ops; /* customize dai_link ops */ in custom_probe() [all …]
|
H A D | audio-graph-card2-custom-sample.dtsi | 1 // 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 …]
|
/openbmc/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 22 A list of the connections between audio components. 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array [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 | 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-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-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-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.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 $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 28 User specified audio sound widgets. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | sil,sii9022.yaml | 1 # 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 …]
|
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 The IT6505 is a high-performance DisplayPort 1.1a transmitter, 16 and ensures robust transmission of high-quality uncompressed video 17 content, along with uncompressed and compressed digital audio content. 20 also encodes and transmits up to 8 channels of I2S digital audio, 22 In addition, an S/PDIF input port takes in compressed audio of up to 27 transmission of high-definition content. Users of the IT6505 need not [all …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | dpcm.rst | 8 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|