| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | fsl,easrc.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: NXP Asynchronous Sample Rate Converter (ASRC) Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 17 const: fsl,imx8mn-easrc 27 - description: Peripheral clock 29 clock-names: 31 - const: mem 36 dma-names: [all …]
|
| D | fsl,asrc.txt | 1 Freescale Asynchronous Sample Rate Converter (ASRC) Controller 3 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a 11 - compatible : Compatible list, should contain one of the following 13 "fsl,imx35-asrc", 14 "fsl,imx53-asrc", 15 "fsl,imx8qm-asrc", 16 "fsl,imx8qxp-asrc", 18 - reg : Offset and length of the register set for the device. 20 - interrupts : Contains the spdif interrupt. 22 - dmas : Generic dma devicetree binding as described in [all …]
|
| D | fsl-asoc-card.txt | 1 Freescale Generic ASoC Sound Card with ASRC support 8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And 14 sample rates support through ASRC. 23 "fsl,imx-audio-ac97" 25 "fsl,imx-audio-cs42888" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 32 "fsl,imx-audio-sgtl5000" 33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt) 35 "fsl,imx-audio-wm8960" [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | fsl,easrc.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: NXP Asynchronous Sample Rate Converter (ASRC) Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 18 - enum: 19 - fsl,imx8mn-easrc 20 - items: 21 - enum: 22 - fsl,imx8mp-easrc [all …]
|
| D | fsl,asrc.txt | 1 Freescale Asynchronous Sample Rate Converter (ASRC) Controller 3 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of a 11 - compatible : Compatible list, should contain one of the following 13 "fsl,imx35-asrc", 14 "fsl,imx53-asrc", 15 "fsl,imx8qm-asrc", 16 "fsl,imx8qxp-asrc", 18 - reg : Offset and length of the register set for the device. 20 - interrupts : Contains the spdif interrupt. 22 - dmas : Generic dma devicetree binding as described in [all …]
|
| D | fsl-asoc-card.txt | 1 Freescale Generic ASoC Sound Card with ASRC support 8 have ASRC (Documentation/devicetree/bindings/sound/fsl,asrc.txt) inside. And 14 sample rates support through ASRC. 23 "fsl,imx-audio-ac97" 25 "fsl,imx-audio-cs42888" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 32 "fsl,imx-audio-sgtl5000" 33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt) 35 "fsl,imx-audio-wm8960" [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# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 29 link-name: 30 description: Indicates dai-link name and PCM stream name. [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| 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" 34 /* Default DAI format without Master and Slave flag */ 38 * struct codec_priv - CODEC private data 52 * struct cpu_priv - CPU private data 68 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 78 * @sample_format: Current sample format 79 * @asrc_rate: ASRC sample rate used by Back-Ends 80 * @asrc_format: ASRC sample format used by Back-Ends [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/platform_data/dma-imx.h> 25 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 28 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 155 * fsl_asrc_sel_proc - Select the pre-processing and post-processing options 158 * @pre_proc: return value for pre-processing option 159 * @post_proc: return value for post-processing option 188 /* Condition for selection of post-processing */ in fsl_asrc_sel_proc() [all …]
|
| D | fsl_asrc_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 ASRC_INVALID_PAIR = -1, 25 * fsl_asrc_pair: ASRC Pair common data 27 * @asrc: pointer to its parent module 39 struct fsl_asrc *asrc; member 55 * fsl_asrc: ASRC common data 67 * @channel_avail: non-occupied channel numbers 68 * @asrc_rate: default sample rate for ASoC Back-Ends 69 * @asrc_format: default sample format for ASoC Back-Ends 105 #define DRV_NAME "fsl-asrc-dai"
|
| D | fsl_easrc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/dma-mapping.h> 32 #include "imx-pcm.h" 51 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_put_bits() 53 (struct soc_mreg_control *)kcontrol->private_value; in fsl_easrc_iec958_put_bits() 54 unsigned int regval = ucontrol->value.integer.value[0]; in fsl_easrc_iec958_put_bits() 56 easrc_priv->bps_iec958[mc->regbase] = regval; in fsl_easrc_iec958_put_bits() 66 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_get_bits() 68 (struct soc_mreg_control *)kcontrol->private_value; in fsl_easrc_iec958_get_bits() 70 ucontrol->value.enumerated.item[0] = easrc_priv->bps_iec958[mc->regbase]; in fsl_easrc_iec958_get_bits() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| 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" 32 #define DRIVER_NAME "fsl-asoc-card" 39 /* Default DAI format without Master and Slave flag */ 43 * struct codec_priv - CODEC private data 61 * struct cpu_priv - CPU private data 79 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 89 * @sample_format: Current sample format 90 * @asrc_rate: ASRC sample rate used by Back-Ends [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 | fsl_asrc_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 ASRC_INVALID_PAIR = -1, 25 * fsl_asrc_pair: ASRC Pair common data 27 * @asrc: pointer to its parent module 39 struct fsl_asrc *asrc; member 55 * fsl_asrc: ASRC common data 67 * @channel_avail: non-occupied channel numbers 68 * @asrc_rate: default sample rate for ASoC Back-Ends 69 * @asrc_format: default sample format for ASoC Back-Ends 105 #define DRV_NAME "fsl-asrc-dai"
|
| D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 15 #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 …]
|
| D | fsl_easrc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/dma-mapping.h> 32 #include "imx-pcm.h" 51 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_put_bits() 53 (struct soc_mreg_control *)kcontrol->private_value; in fsl_easrc_iec958_put_bits() 54 unsigned int regval = ucontrol->value.integer.value[0]; in fsl_easrc_iec958_put_bits() 56 easrc_priv->bps_iec958[mc->regbase] = regval; in fsl_easrc_iec958_put_bits() 66 struct fsl_easrc_priv *easrc_priv = easrc->private; in fsl_easrc_iec958_get_bits() 68 (struct soc_mreg_control *)kcontrol->private_value; in fsl_easrc_iec958_get_bits() 70 ucontrol->value.enumerated.item[0] = easrc_priv->bps_iec958[mc->regbase]; in fsl_easrc_iec958_get_bits() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | fsl-imx-sdma.txt | 4 - compatible : Should be one of 5 "fsl,imx25-sdma" 6 "fsl,imx31-sdma", "fsl,imx31-to1-sdma", "fsl,imx31-to2-sdma" 7 "fsl,imx35-sdma", "fsl,imx35-to1-sdma", "fsl,imx35-to2-sdma" 8 "fsl,imx51-sdma" 9 "fsl,imx53-sdma" 10 "fsl,imx6q-sdma" 11 "fsl,imx7d-sdma" 12 "fsl,imx8mq-sdma" 13 "fsl,imx8mm-sdma" [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/ |
| D | ipc3-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 #include "sof-priv.h" 13 #include "sof-audio.h" 14 #include "ipc3-priv.h" 136 /* ASRC */ 269 offsetof(struct sof_ipc_dai_mtk_afe_params, format)}, 314 [SOF_ASRC_TOKENS] = {"ASRC tokens", asrc_tokens, ARRAY_SIZE(asrc_tokens)}, 331 * sof_comp_alloc - allocate and initialize buffer for a new component 344 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc() 346 /* only non-zero UUID is valid */ in sof_comp_alloc() [all …]
|
| /kernel/linux/linux-6.6/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 <joy.zou@nxp.com> 13 - $ref: dma-controller.yaml# 18 - items: 19 - enum: 20 - fsl,imx50-sdma 21 - fsl,imx51-sdma [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/ |
| D | topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 19 #include "sof-priv.h" 20 #include "sof-audio.h" 26 * from dB gain 20th root of 10 in Q1.16 fixed-point notation 29 /* 40th root of 10 in Q1.16 fixed-point notation*/ 33 * the volume linear gain value to use Qx.16 format 61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params() 71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params() 73 dev_err(scomp->dev, "error: cannot find PCM for %s\n", in ipc_pcm_params() 74 swidget->widget->name); in ipc_pcm_params() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
| D | 0009_linux_sound.patch | 7 Change-Id: Ic34341fbcce5e6d02fefc2acad4ea1058da94b66 9 diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c 11 --- a/sound/core/pcm_dmaengine.c 13 @@ -125,6 +125,8 @@ void snd_dmaengine_pcm_set_config_from_dai_data( 16 slave_config->slave_id = dma_data->slave_id; 17 + slave_config->peripheral_config = dma_data->peripheral_config; 18 + slave_config->peripheral_size = dma_data->peripheral_size; 22 diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c 24 --- a/sound/soc/codecs/hdmi-codec.c 25 +++ b/sound/soc/codecs/hdmi-codec.c [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | cs42l43.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and 15 #include <linux/mfd/cs42l43-regs.h> 22 #include <sound/soc-component.h> 23 #include <sound/soc-dapm.h> 24 #include <sound/soc-dai.h> 72 { name_str, "ASRC INT1", "ASRC_INT1" }, \ 73 { name_str, "ASRC INT2", "ASRC_INT2" }, \ 74 { name_str, "ASRC INT3", "ASRC_INT3" }, \ 75 { name_str, "ASRC INT4", "ASRC_INT4" }, \ [all …]
|
| D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 38 "LDO1-IN", 60 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 749 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 750 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 817 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset() 818 if (!rt5682->is_sdw) in rt5682_reset() 819 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset() [all …]
|
| /kernel/linux/linux-5.10/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. 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() 476 return rt5670->jack_type; in rt5670_headset_detect() [all …]
|