Home
last modified time | relevance | path

Searched +full:imx +full:- +full:audio +full:- +full:card (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dfsl-asoc-card.txt1 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 …]
Dimx-audio-card.yaml1 # 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>
15 - fsl,imx-audio-card
19 description: User specified audio sound card name
21 audio-routing:
22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
[all …]
Dimx-audio-hdmi.yaml1 # 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 …]
/Linux-v6.1/sound/soc/fsl/
Dfsl-asoc-card.c1 // SPDX-License-Identifier: GPL-2.0
3 // Freescale Generic ASoC Sound Card driver with ASRC
23 #include "imx-audmux.h"
40 * struct codec_priv - CODEC private data
56 * struct cpu_priv - CPU private data
72 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data
79 * @card: ASoC card structure
83 * @asrc_rate: ASRC sample rate used by Back-Ends
84 * @asrc_format: ASRC sample format used by Back-Ends
86 * @name: Card name
[all …]
DMakefile1 # 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 …]
Dimx-hdmi.c1 // 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 …]
Dimx-rpmsg.c1 // 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 …]
Dimx-es8328.c1 // 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 …]
Dimx-sgtl5000.c1 // 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 …]
DKconfig1 # 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 …]
Dimx-spdif.c1 // 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 …]
Dimx-pcm-fiq.c1 // SPDX-License-Identifier: GPL-2.0+
2 // imx-pcm-fiq.c -- ALSA Soc Audio Layer
12 #include <linux/dma-mapping.h>
28 #include <linux/platform_data/asoc-imx-ssi.h>
30 #include "imx-ssi.h"
31 #include "imx-pcm.h"
48 struct snd_pcm_substream *substream = iprtd->substream; in snd_hrtimer_callback()
51 if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) in snd_hrtimer_callback()
56 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hrtimer_callback()
57 iprtd->offset = regs.ARM_r8 & 0xffff; in snd_hrtimer_callback()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mq-evk.dts1 // 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 …]
Dimx8mn-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/usb/pd.h>
11 stdout-path = &uart2;
14 gpio-leds {
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_led>;
22 default-state = "on";
31 reg_usdhc2_vmmc: regulator-usdhc2 {
32 compatible = "regulator-fixed";
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dimx6q-cm-fx6.dts6 * 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 …]
Dimx6q-prti6q.dts1 // 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 …]
Dimx6qdl-hummingboard.dtsi4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/sound/fsl-imx-audmux.h>
51 stdout-path = &uart1;
54 ir_recv: ir-receiver {
55 compatible = "gpio-ir-receiver";
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
61 v_3v2: regulator-v-3v2 {
62 compatible = "regulator-fixed";
63 regulator-always-on;
[all …]
Dimx6q-kp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include <dt-bindings/sound/fsl-imx-audmux.h>
16 backlight_lcd: backlight-lcd {
17 compatible = "pwm-backlight";
19 brightness-levels = <0 255>;
20 num-interpolated-steps = <255>;
21 default-brightness-level = <250>;
[all …]
Dimx6qdl-phytec-pbab01.dtsi1 // 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 …]
Dimx6dl-prtvt7.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/display/sdtv-standards.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
23 backlight_lcd: backlight-lcd {
24 compatible = "pwm-backlight";
26 brightness-levels = <0 20 81 248 1000>;
[all …]
Dimx6qdl-icore.dtsi1 // 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 …]
Dimx51-zii-rdu1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/sound/fsl-imx-audmux.h>
12 compatible = "zii,imx51-rdu1", "fsl,imx51";
15 stdout-path = &uart1;
25 mdio-gpio0 = &mdio_gpio;
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <26000000>;
36 compatible = "gpio-gate-clock";
[all …]
Dimx6qdl-zii-rdu2.dtsi1 // 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 …]
Dimx6qdl-icore-rqs.dtsi1 // 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 …]
/Linux-v6.1/Documentation/sound/soc/
Doverview.rst6 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 …]

123