/linux-6.14.4/Documentation/devicetree/bindings/sound/ |
D | fsl-asoc-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Generic ASoC Sound Card with ASRC support 15 most of them have ASRC inside. And this is a specific feature that might 20 of the wide sample rates support through ASRC. 24 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 28 - Shengjiu Wang <[email protected]> 33 - items: [all …]
|
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# 7 title: Tegra186 ASRC 10 Asynchronous Sample Rate Converter (ASRC) converts the sampling frequency 13 ASRC has two modes of operation. One where ratio can be programmed in SW 21 - Jon Hunter <[email protected]> 22 - Mohan Kumar <[email protected]> 23 - Sameer Pujar <[email protected]> [all …]
|
D | fsl,imx-asrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,imx-asrc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Asynchronous Sample Rate Converter (ASRC) Controller 10 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of 13 with other Back Ends Audio controller such as ESAI, SSI and SAI. It has 17 - Shawn Guo <[email protected]> 18 - Sascha Hauer <[email protected]> 23 - enum: [all …]
|
D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio sound card. 10 - Shengjiu Wang <[email protected]> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 29 link-name: [all …]
|
D | nvidia,tegra210-ahub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Audio Hub (AHUB) comprises a collection of hardware accelerators 11 for audio pre-processing, post-processing and a programmable full 12 crossbar for routing audio data across these accelerators. It has 17 - Jon Hunter <[email protected]> 18 - Sameer Pujar <[email protected]> 22 pattern: "^ahub@[0-9a-f]*$" [all …]
|
/linux-6.14.4/sound/soc/fsl/ |
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:" 7 tristate "Asynchronous Sample Rate Converter (ASRC) module support" 15 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC) 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 [all …]
|
D | fsl-asoc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale Generic ASoC Sound Card driver with ASRC 23 #include "imx-audmux.h" 33 #define DRIVER_NAME "fsl-asoc-card" 44 * struct codec_priv - CODEC private data 62 * struct cpu_priv - CPU private data 80 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 91 * @asrc_rate: ASRC sample rate used by Back-Ends 92 * @asrc_format: ASRC sample format used by Back-Ends 118 * Note: keep all ASRC routes in the second half [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-p1022-ds-y := p1022_ds.o 4 obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o 7 snd-soc-p1022-rdk-y := p1022_rdk.o 8 obj-$(CONFIG_SND_SOC_P1022_RDK) += snd-soc-p1022-rdk.o 11 snd-soc-fsl-audmix-y := fsl_audmix.o 12 snd-soc-fsl-asoc-card-y := fsl-asoc-card.o 13 snd-soc-fsl-asrc-y := fsl_asrc.o fsl_asrc_dma.o fsl_asrc_m2m.o 14 snd-soc-fsl-lpc3xxx-y := lpc3xxx-pcm.o lpc3xxx-i2s.o 15 snd-soc-fsl-sai-y := fsl_sai.o [all …]
|
D | fsl_asrc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale ASRC ALSA SoC Digital Audio Interface (DAI) driver 11 #include <linux/dma-mapping.h> 14 #include <linux/dma/imx-dma.h> 26 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 29 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 32 dev_warn(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 159 * fsl_asrc_sel_proc - Select the pre-processing and post-processing options 162 * @pre_proc: return value for pre-processing option 163 * @post_proc: return value for post-processing option [all …]
|
D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #include <sound/soc-dapm.h> 55 * struct imx_card_plat_data - specific info for codecs 89 * struct dai_link_data - specific info for dai link 104 * struct imx_card_data - platform device data 111 * @asrc_rate: asrc rates 112 * @asrc_format: asrc format 143 * Table 13 - Audio Interface Format 154 * Table 7 - mapping multiplier and speed mode [all …]
|
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/ |
D | imx6sx-sdb-mqs.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "imx6sx-sdb.dts" 12 sound-mqs { 13 compatible = "fsl,imx6sx-sdb-mqs", 14 "fsl,imx-audio-mqs"; 15 model = "mqs-audio"; 16 audio-cpu = <&sai1>; 17 audio-asrc = <&asrc>; 18 audio-codec = <&mqs>; 28 pinctrl-names = "default"; [all …]
|
D | imx6sx-sabreauto.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 11 compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx"; 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_led>; 23 led-user { 26 linux,default-trigger = "heartbeat"; 30 vcc_sd3: regulator-vcc-sd3 { 31 compatible = "regulator-fixed"; [all …]
|
D | imx6qdl-mba6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2013-2021 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 9 #include <dt-bindings/clock/imx6qdl-clock.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 18 /delete-property/ mmc2; 19 /delete-property/ mmc3; 24 stdout-path = &uart2; [all …]
|
D | imx6ul-14x14-evk.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/media/video-interfaces.h> 9 stdout-path = &uart1; 17 backlight_display: backlight-display { 18 compatible = "pwm-backlight"; 20 brightness-levels = <0 4 8 16 32 64 128 255>; 21 default-brightness-level = <6>; 26 reg_sd1_vmmc: regulator-sd1-vmmc { 27 compatible = "regulator-fixed"; 28 regulator-name = "VSD_3V3"; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx8mn-bsh-smm-s2pro.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 9 #include "imx8mn-bsh-smm-s2-common.dtsi" 10 #include <dt-bindings/sound/tlv320aic31xx.h> 14 compatible = "bsh,imx8mn-bsh-smm-s2pro", "fsl,imx8mn"; 21 sound-tlv320aic31xx { 22 compatible = "fsl,imx-audio-tlv320aic31xx"; 23 model = "tlv320aic31xx-hifi"; 24 audio-cpu = <&sai3>; 25 audio-codec = <&tlv320dac3101>; [all …]
|
D | imx8-ss-audio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-clock.h> 8 #include <dt-bindings/clock/imx8-lpcg.h> 9 #include <dt-bindings/dma/fsl-edma.h> 10 #include <dt-bindings/firmware/imx/rsrc.h> 12 audio_ipg_clk: clock-audio-ipg { 13 compatible = "fixed-clock"; 14 #clock-cells = <0>; 15 clock-frequency = <120000000>; [all …]
|
/linux-6.14.4/sound/soc/tegra/ |
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 83 Config to enable the Inter-IC Sound (I2S) Controller which 84 implements full-duplex and bidirectional and single direction 85 point-to-point serial interfaces. It can interface with I2S 99 tristate "Tegra186 ASRC module" [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-tegra-pcm-y := tegra_pcm.o 4 snd-soc-tegra-utils-y += tegra_asoc_utils.o 5 snd-soc-tegra20-ac97-y := tegra20_ac97.o 6 snd-soc-tegra20-das-y := tegra20_das.o 7 snd-soc-tegra20-i2s-y := tegra20_i2s.o 8 snd-soc-tegra20-spdif-y := tegra20_spdif.o 9 snd-soc-tegra30-ahub-y := tegra30_ahub.o 10 snd-soc-tegra30-i2s-y := tegra30_i2s.o 11 snd-soc-tegra210-ahub-y := tegra210_ahub.o [all …]
|
/linux-6.14.4/include/linux/dma/ |
D | imx-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. 37 IMX_DMATYPE_ASRC, /* ASRC */ 40 IMX_DMATYPE_ASRC_SP, /* Shared ASRC */ 42 IMX_DMATYPE_MULTI_SAI, /* MULTI FIFOs For Audio */ 43 IMX_DMATYPE_HDMI, /* HDMI Audio */ 62 return !strcmp(dev_name(chan->device->dev), "ipu-core"); in imx_dma_is_ipu() 67 return !strcmp(chan->device->dev->driver->name, "imx-sdma") || in imx_dma_is_general_purpose() 68 !strcmp(chan->device->dev->driver->name, "imx-dma"); in imx_dma_is_general_purpose() 72 * struct sdma_peripheral_config - SDMA config for audio [all …]
|
/linux-6.14.4/sound/soc/intel/boards/ |
D | bdw-rt5650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <sound/soc-acpi.h> 91 /* The ADSP will convert the FE rate to 48k, max 4-channels */ in broadwell_ssp0_fixup() 92 rate->min = rate->max = 48000; in broadwell_ssp0_fixup() 93 chan->min = 2; in broadwell_ssp0_fixup() 94 chan->max = 4; in broadwell_ssp0_fixup() 116 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in bdw_rt5650_hw_params() 122 * ASRC is enabled on AD and DA filters to ensure good audio quality. in bdw_rt5650_hw_params() 127 dev_err(rtd->dev, "can't set codec sysclk configuration\n"); in bdw_rt5650_hw_params() 150 struct snd_pcm_runtime *runtime = substream->runtime; in bdw_rt5650_fe_startup() [all …]
|
D | bdw-rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <sound/soc-acpi.h> 30 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp() 31 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp() 37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp() 104 .name = "plug-det", 110 .name = "mic-present", 130 { "plug-det-gpios", &plug_det_gpio, 1 }, 131 { "mic-present-gpios", &mic_present_gpio, 1 }, 132 { "headphone-enable-gpios", &headphone_enable_gpio, 1 }, [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-clock-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt2701-afe-clock-ctrl.c -- Mediatek 2701 afe clock ctrl 10 #include "mt2701-afe-common.h" 11 #include "mt2701-afe-clock-ctrl.h" 27 struct mt2701_afe_private *afe_priv = afe->platform_priv; in mt2701_init_clock() 31 afe_priv->base_ck[i] = devm_clk_get(afe->dev, base_clks[i]); in mt2701_init_clock() 32 if (IS_ERR(afe_priv->base_ck[i])) { in mt2701_init_clock() 33 dev_err(afe->dev, "failed to get %s\n", base_clks[i]); in mt2701_init_clock() 34 return PTR_ERR(afe_priv->base_ck[i]); in mt2701_init_clock() 39 for (i = 0; i < afe_priv->soc->i2s_num; i++) { in mt2701_init_clock() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/dma/ |
D | fsl,imx-sdma.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl,imx-sdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Joy Zou <[email protected]> 13 - $ref: dma-controller.yaml# 18 - items: 19 - enum: 20 - fsl,imx50-sdma 21 - fsl,imx51-sdma [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | rt5670.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5670.c -- RT5670 ALSA SoC audio codec driver 25 #include <sound/soc-dapm.h> 31 #include "rt5670-dsp.h" 50 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 422 * rt5670_headset_detect - Detect headset. 423 * @component: SoC audio component device. 457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect() 464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect() 471 rt5670->jack_type = 0; in rt5670_headset_detect() [all …]
|
D | rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5651.c -- RT5651 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 356 /* ASRC */ 357 SOC_SINGLE("IF1 ASRC Switch", RT5651_PLL_MODE_1, 359 SOC_SINGLE("IF2 ASRC Switch", RT5651_PLL_MODE_1, [all …]
|