| /linux/sound/soc/fsl/ |
| H A 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 82 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 89 * @card: ASoC card structure 93 * @asrc_rate: ASRC sample rate used by Back-Ends 94 * @asrc_format: ASRC sample format used by Back-Ends [all …]
|
| H A 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 36 struct imx_hdmi_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_hdmi_hw_params() 37 bool tx = substream->strea in imx_hdmi_hw_params() 39 struct snd_soc_card *card = rtd->card; imx_hdmi_hw_params() local 72 struct snd_soc_card *card = rtd->card; imx_hdmi_init() local [all...] |
| H A D | imx-es8328.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include "imx-audmux.h" 22 struct snd_soc_card card; member 30 .name = "headset-gpio", 51 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init() 52 struct imx_es8328_data, card); in imx_es8328_dai_init() 55 if (data->jack_gpiod) { in imx_es8328_dai_init() 57 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init() 65 headset_jack_gpios[0].desc = data->jack_gpiod; in imx_es8328_dai_init() 78 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0), [all …]
|
| H A 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 …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 comment "Common SoC Audio options for Freescale CPUs:" 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 30 in-tree drivers select it automatically. 40 This option is only useful for out-of-tree drivers since 41 in-tree drivers select it automatically. [all …]
|
| H A D | imx-audio-rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2020 NXP 6 #include "imx-pcm-rpmsg.h" 21 struct imx_audio_rpmsg *rpmsg = dev_get_drvdata(&rpdev->dev); in imx_audio_rpmsg_cb() 27 if (!rpmsg->rpmsg_pdev) in imx_audio_rpmsg_cb() 30 info = platform_get_drvdata(rpmsg->rpmsg_pdev); in imx_audio_rpmsg_cb() 32 dev_dbg(&rpdev->dev, "get from%d: cmd:%d. %d\n", in imx_audio_rpmsg_cb() 33 src, r_msg->header.cmd, r_msg->param.resp); in imx_audio_rpmsg_cb() 35 switch (r_msg->header.type) { in imx_audio_rpmsg_cb() 38 switch (r_msg->header.cmd) { in imx_audio_rpmsg_cb() [all …]
|
| H A D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #include <sound/soc-dapm.h> 56 * struct imx_card_plat_data - specific info for codecs 90 * struct dai_link_data - specific info for dai link 105 * struct imx_card_data - platform device data 110 * @card: card instance 119 struct snd_soc_card card; member 144 * Table 13 - Audio Interface Format 155 * Table 7 - mapping multiplier and speed mode [all …]
|
| H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 60 * FSLSSI_I2S_FORMATS: audio formats supported by the SSI 66 * (bit-endianness must match byte-endianness). Processors typically write [all …]
|
| H A D | fsl_rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2018-2021 NXP 5 #include <linux/clk-provider.h> 18 #include "imx-pcm.h" 46 struct clk *p = rpmsg->mclk, *pll = NULL, *npll = NULL; in fsl_rpmsg_hw_params() 51 while (p && rpmsg->pll8k && rpmsg->pll11k) { in fsl_rpmsg_hw_params() 54 if (clk_is_match(pp, rpmsg->pll8k) || in fsl_rpmsg_hw_params() 55 clk_is_match(pp, rpmsg->pll11k)) { in fsl_rpmsg_hw_params() 64 npll = (do_div(rate, 8000) ? rpmsg->pll11k : rpmsg->pll8k); in fsl_rpmsg_hw_params() 68 dev_warn(dai->dev, "failed to set parent %s: %d\n", in fsl_rpmsg_hw_params() [all …]
|
| H A D | fsl_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale S/PDIF ALSA SoC Digital Audio Interface (DAI) driver 25 #include "imx-pcm.h" 50 * @imx: for imx platform 61 bool imx; member 97 * struct fsl_spdif_priv - Freescale SPDIF private data 101 * @snd_card: sound card pointer 152 .imx = false, 162 .imx = true, 172 .imx = true, [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A 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 …]
|
| H A D | fsl,imx-audio-es8328.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX audio complex with ES8328 codec 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 14 - $ref: sound-card-common.yaml# 18 const: fsl,imx-audio-es8328 22 description: The user-visible name of this sound complex [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | imx6qdl-icore.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/sound/fsl-imx-audmux.h> 18 stdout-path = &uart4; 21 backlight_lvds: backlight-lvds { 22 compatible = "pwm-backlight"; 24 brightness-levels = <0 4 8 16 32 64 128 255>; 25 default-brightness-level = <7>; 28 reg_1p8v: regulator-1p8v { [all …]
|
| H A D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
| H A D | imx6qdl-icore-rqs.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/imx6qdl-clock.h> 9 #include <dt-bindings/sound/fsl-imx-audmux.h> 17 reg_1p8v: regulator-1p8v { 18 compatible = "regulator-fixed"; 19 regulator-name = "1P8V"; 20 regulator-min-microvolt = <1800000>; 21 regulator-max-microvolt = <1800000>; 22 regulator-boot-on; [all …]
|
| H A D | imx6qdl-var-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Support for Variscite VAR-SOM-MX6 Module 7 * Copyright (C) 2014-2016 Variscite, Ltd. 12 /dts-v1/; 15 #include <dt-bindings/clock/imx6qdl-clock.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/sound/fsl-imx-audmux.h> 20 model = "Variscite VAR-SOM-MX6 module"; 21 compatible = "variscite,var-som-imx6q", "fsl,imx6q"; 24 stdout-path = &uart1; [all …]
|
| H A 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 …]
|
| H A D | imx6q-pistachio.dts | 6 * This file is dual-licensed: you can use it either under the terms 45 /dts-v1/; 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/input/input.h> 53 compatible = "nutsboard,imx6q-pistachio", "fsl,imx6q"; 56 stdout-path = &uart4; 64 reg_3p3v: regulator-3p3v { 65 compatible = "regulator-fixed"; 66 regulator-name = "3P3V"; 67 regulator-min-microvolt = <3300000>; [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx943-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2024-2025 NXP 6 /dts-v1/; 11 compatible = "fsl,imx943-evk", "fsl,imx94"; 23 bt_sco_codec: bt-sco-codec { 24 compatible = "linux,bt-sco"; 25 #sound-dai-cells = <1>; 29 stdout-path = &lpuart1; 33 compatible = "dmic-codec"; 34 #sound-dai-cells = <0>; [all …]
|
| H A D | imx95-19x19-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/usb/pd.h> 15 #define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */ 16 #define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */ 17 #define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */ 18 #define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */ 19 #define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */ 23 compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; [all …]
|
| /linux/Documentation/sound/soc/ |
| H A D | overview.rst | 6 provide better ALSA support for embedded system-on-chip processors (e.g. 7 pxa2xx, au1x00, iMX, etc) and portable audio codecs. Prior to the ASoC 8 subsystem there was some support in the kernel for SoC audio, however it 9 had some limitations:- 12 CPU. This is not ideal and leads to code duplication - for example, 15 * There was no standard method to signal user initiated audio events (e.g. 18 machine specific code to re-route audio, enable amps, etc., after such an 22 recording) audio. This is fine for a PC, but tends to waste a lot of 31 features :- 36 * Easy I2S/PCM audio interface setup between codec and SoC. Each SoC [all …]
|
| /linux/sound/soc/sof/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 generic open source audio DSP firmware for multiple devices. 21 For backwards-compatibility with previous configurations the selection will 22 be used as default for platform-specific drivers. 32 For backwards-compatibility with previous configurations the selection will 33 be used as default for platform-specific drivers. 61 gather data directly from specific points of the audio pipeline. 62 This option is not user-selectable but automagically handled by 69 This option is not user-selectable but automagically handled by 104 enabled for developers or devices where the sound card is [all …]
|