/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 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
|
H A D | audio-graph-card2-custom-sample.c | 1 // 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 …]
|
H A D | audio-graph-card.c | 1 // 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() 62 if (dai && (dai->component->driver->pcm_construct || in soc_component_is_pcm() 63 (dai->driver->ops && dai->driver->ops->pcm_new))) in soc_component_is_pcm() [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 28 bitclock-master; 30 frame-master; 42 sample0: left_j, bitclock-master, frame-master 43 sample1: i2s, bitclock-master 59 linux/sound/soc/soc-utils.c 60 linux/sound/soc/generic/test-component.c 63 Normal Audio-Graph [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-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: 16 $ref: /schemas/graph.yaml#/$defs/port-base 18 convert-rate: 19 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate [all …]
|
H A D | renesas,rsnd.txt | 1 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 …]
|
H A D | renesas,rsnd.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: Renesas R-Car Sound Driver 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 port-def: 14 $ref: audio-graph-port.yaml#/definitions/port-base 17 "^endpoint(@[0-9a-f]+)?": 18 $ref: audio-graph-port.yaml#/definitions/endpoint-base 21 $ref: /schemas/types.yaml#/definitions/phandle-array [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 …]
|
/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 …]
|
/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 …]
|
H A D | Makefile | 1 # 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 …]
|
H A D | Kconfig | 1 # 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 …]
|
/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 …]
|
H A D | ulcb-kf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 18 #clock-cells = <0>; 19 compatible = "gpio-mux-clock"; 21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>; 24 hdmi1-out { 25 compatible = "hdmi-connector"; 30 remote-endpoint = <&adv7513_out>; 35 accel_3v3: regulator-acc-3v3 { 36 compatible = "regulator-fixed"; 37 regulator-name = "accel-3v3"; [all …]
|
H A D | ulcb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car Gen3 ULCB board 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 13 model = "Renesas R-Car Gen3 ULCB board"; 32 stdout-path = "serial0:115200n8"; 35 audio_clkout: audio-clkout { 38 * but needed to avoid cs2000/rcar_sound probe dead-lock 40 compatible = "fixed-clock"; 41 #clock-cells = <0>; [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 = "rcar-sound"; 23 dais = <&rsnd_port0 /* (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 = "rcar-sound"; 38 #address-cells = <1>; [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:0,2 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav [all …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | Kconfig | 1 # 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 …]
|
/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/include/sound/ |
H A D | graph_card.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * ASoC audio graph card support
|