| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | fsl-asoc-card.txt | 1 Freescale Generic ASoC Sound Card with ASRC support 3 The Freescale Generic ASoC Sound Card can be used, ideally, for all Freescale 6 The idea of this generic sound card is a bit like ASoC Simple Card. However, 10 into the Simple Card. 12 So having this generic sound card allows all Freescale SoC users to benefit 13 from the simplification of a new card support and the capability of the wide 16 Note: The card is initially designed for those sound cards who use AC'97, I2S 18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 22 The compatible list for this generic sound card currently: 23 "fsl,imx-audio-ac97" [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 <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 29 link-name: [all …]
|
| D | imx-audio-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio complex with HDMI 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-hdmi 16 - fsl,imx-audio-sii902x 20 description: User specified audio sound card name 22 audio-cpu: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | fsl-asoc-card.txt | 1 Freescale Generic ASoC Sound Card with ASRC support 3 The Freescale Generic ASoC Sound Card can be used, ideally, for all Freescale 6 The idea of this generic sound card is a bit like ASoC Simple Card. However, 10 into the Simple Card. 12 So having this generic sound card allows all Freescale SoC users to benefit 13 from the simplification of a new card support and the capability of the wide 16 Note: The card is initially designed for those sound cards who use AC'97, I2S 18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 22 The compatible list for this generic sound card currently: 23 "fsl,imx-audio-ac97" [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" 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 86 * @card: ASoC card structure 90 * @asrc_rate: ASRC sample rate used by Back-Ends 91 * @asrc_format: ASRC sample format used by Back-Ends [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-mpc8610-hpcd-objs := mpc8610_hpcd.o 4 obj-$(CONFIG_SND_SOC_MPC8610_HPCD) += snd-soc-mpc8610-hpcd.o 7 snd-soc-p1022-ds-objs := p1022_ds.o 8 obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o 11 snd-soc-p1022-rdk-objs := p1022_rdk.o 12 obj-$(CONFIG_SND_SOC_P1022_RDK) += snd-soc-p1022-rdk.o 15 snd-soc-fsl-audmix-objs := fsl_audmix.o 16 snd-soc-fsl-asoc-card-objs := fsl-asoc-card.o 17 snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o [all …]
|
| D | imx-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright 2017-2020 NXP 8 #include <sound/hdmi-codec.h> 12 * struct cpu_priv - CPU private data 25 struct snd_soc_card card; member 35 struct snd_soc_pcm_runtime *rtd = substream->private_data; in imx_hdmi_hw_params() 36 struct imx_hdmi_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_hdmi_hw_params() 37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in imx_hdmi_hw_params() 39 struct snd_soc_card *card = rtd->card; in imx_hdmi_hw_params() local 40 struct device *dev = card->dev; in imx_hdmi_hw_params() [all …]
|
| D | imx-rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2020 NXP 16 #include <sound/soc-dapm.h> 17 #include "imx-pcm-rpmsg.h" 21 struct snd_soc_card card; member 32 static int imx_rpmsg_late_probe(struct snd_soc_card *card) in imx_rpmsg_late_probe() argument 34 struct imx_rpmsg *data = snd_soc_card_get_drvdata(card); in imx_rpmsg_late_probe() 35 struct snd_soc_pcm_runtime *rtd = list_first_entry(&card->rtd_list, in imx_rpmsg_late_probe() 38 struct device *dev = card->dev; in imx_rpmsg_late_probe() 41 if (!data->sysclk) in imx_rpmsg_late_probe() [all …]
|
| D | imx-es8328.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include "imx-audmux.h" 23 struct snd_soc_card card; member 31 .gpio = -1, 32 .name = "headset-gpio", 53 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init() 54 struct imx_es8328_data, card); in imx_es8328_dai_init() 58 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init() 59 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init() 67 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init() [all …]
|
| D | imx-sgtl5000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include "imx-audmux.h" 20 struct snd_soc_card card; member 29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_sgtl5000_dai_init() 30 struct device *dev = rtd->card->dev; in imx_sgtl5000_dai_init() 34 data->clk_frequency, SND_SOC_CLOCK_IN); in imx_sgtl5000_dai_init() 53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe() 62 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_sgtl5000_probe() 64 dev_err(&pdev->dev, "mux-int-port missing or invalid\n"); in imx_sgtl5000_probe() 67 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_sgtl5000_probe() [all …]
|
| 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 …]
|
| D | imx-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 struct snd_soc_card card; member 16 struct device_node *spdif_np, *np = pdev->dev.of_node; in imx_spdif_audio_probe() 21 spdif_np = of_parse_phandle(np, "spdif-controller", 0); in imx_spdif_audio_probe() 23 dev_err(&pdev->dev, "failed to find spdif-controller\n"); in imx_spdif_audio_probe() 24 ret = -EINVAL; in imx_spdif_audio_probe() 28 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in imx_spdif_audio_probe() 29 comp = devm_kzalloc(&pdev->dev, sizeof(*comp), GFP_KERNEL); in imx_spdif_audio_probe() 31 ret = -ENOMEM; in imx_spdif_audio_probe() 37 * platform is using soc-generic-dmaengine-pcm in imx_spdif_audio_probe() [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" 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 75 * @card: ASoC card structure 79 * @asrc_rate: ASRC sample rate used by Back-Ends 80 * @asrc_format: ASRC sample format used by Back-Ends 82 * @name: Card name [all …]
|
| D | imx-es8328.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include "imx-audmux.h" 23 struct snd_soc_card card; member 31 .gpio = -1, 32 .name = "headset-gpio", 43 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init() 44 struct imx_es8328_data, card); in imx_es8328_dai_init() 48 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init() 49 ret = snd_soc_card_jack_new(rtd->card, "Headphone", in imx_es8328_dai_init() 55 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-mpc8610-hpcd-objs := mpc8610_hpcd.o 4 obj-$(CONFIG_SND_SOC_MPC8610_HPCD) += snd-soc-mpc8610-hpcd.o 7 snd-soc-p1022-ds-objs := p1022_ds.o 8 obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o 11 snd-soc-p1022-rdk-objs := p1022_rdk.o 12 obj-$(CONFIG_SND_SOC_P1022_RDK) += snd-soc-p1022-rdk.o 15 snd-soc-fsl-audmix-objs := fsl_audmix.o 16 snd-soc-fsl-asoc-card-objs := fsl-asoc-card.o 17 snd-soc-fsl-asrc-objs := fsl_asrc.o fsl_asrc_dma.o [all …]
|
| D | imx-sgtl5000.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include "imx-audmux.h" 20 struct snd_soc_card card; member 29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_sgtl5000_dai_init() 30 struct device *dev = rtd->card->dev; in imx_sgtl5000_dai_init() 34 data->clk_frequency, SND_SOC_CLOCK_IN); in imx_sgtl5000_dai_init() 53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe() 62 ret = of_property_read_u32(np, "mux-int-port", &int_port); in imx_sgtl5000_probe() 64 dev_err(&pdev->dev, "mux-int-port missing or invalid\n"); in imx_sgtl5000_probe() 67 ret = of_property_read_u32(np, "mux-ext-port", &ext_port); in imx_sgtl5000_probe() [all …]
|
| D | wm1133-ev1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm1133-ev1.c - Audio for WM1133-EV1 on i.MX31ADS 19 #include "imx-ssi.h" 21 #include "imx-audmux.h" 86 /* find the correct audio parameters */ in wm1133_ev1_hw_params() 96 return -EINVAL; in wm1133_ev1_hw_params() 110 return -EINVAL; in wm1133_ev1_hw_params() 152 /* imx32ads soc_card audio map */ 156 /* SiMIC --> IN1LN (with automatic bias) via SP1 */ 161 /* Mic 1 Jack --> IN1LN and IN1LP (with automatic bias) */ [all …]
|
| D | imx-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 struct snd_soc_card card; member 16 struct device_node *spdif_np, *np = pdev->dev.of_node; in imx_spdif_audio_probe() 21 spdif_np = of_parse_phandle(np, "spdif-controller", 0); in imx_spdif_audio_probe() 23 dev_err(&pdev->dev, "failed to find spdif-controller\n"); in imx_spdif_audio_probe() 24 ret = -EINVAL; in imx_spdif_audio_probe() 28 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in imx_spdif_audio_probe() 29 comp = devm_kzalloc(&pdev->dev, 3 * sizeof(*comp), GFP_KERNEL); in imx_spdif_audio_probe() 31 ret = -ENOMEM; in imx_spdif_audio_probe() 35 data->dai.cpus = &comp[0]; in imx_spdif_audio_probe() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 /dts-v1/; 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 30 reg_pcie1: regulator-pcie { [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6q-cm-fx6.dts | 6 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 50 model = "CompuLab CM-FX6"; 51 compatible = "compulab,cm-fx6", "fsl,imx6q"; 59 compatible = "gpio-leds"; 61 heartbeat-led { 64 linux,default-trigger = "heartbeat"; 69 pinctrl-names = "default"; [all …]
|
| D | imx6q-prti6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 backlight_lcd: backlight-lcd { 22 compatible = "pwm-backlight"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_backlight>; 26 brightness-levels = <0 16 64 255>; [all …]
|
| D | imx6qdl-phytec-pbab01.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/sound/fsl-imx-audmux.h> 10 stdout-path = &uart4; 13 sound_1v8: regulator-sound-1v8 { 14 compatible = "regulator-fixed"; 15 regulator-name = "i2s-audio-1v8"; 16 regulator-min-microvolt = <1800000>; 17 regulator-max-microvolt = <1800000>; 20 sound_3v3: regulator-sound-3v3 { 21 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6q-cm-fx6.dts | 6 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 50 model = "CompuLab CM-FX6"; 51 compatible = "compulab,cm-fx6", "fsl,imx6q"; 59 compatible = "gpio-leds"; 61 heartbeat-led { 64 linux,default-trigger = "heartbeat"; 69 pinctrl-names = "default"; [all …]
|
| D | imx6q-prti6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 backlight_lcd: backlight-lcd { 22 compatible = "pwm-backlight"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_backlight>; 26 brightness-levels = <0 16 64 255>; [all …]
|
| D | imx6qdl-phytec-pbab01.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/sound/fsl-imx-audmux.h> 10 stdout-path = &uart4; 15 compatible = "regulator-fixed"; 17 regulator-name = "i2s-audio-1v8"; 18 regulator-min-microvolt = <1800000>; 19 regulator-max-microvolt = <1800000>; 23 compatible = "regulator-fixed"; 25 regulator-name = "i2s-audio-3v3"; 26 regulator-min-microvolt = <3300000>; [all …]
|