Home
last modified time | relevance | path

Searched +full:micfil +full:- +full:audio (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dfsl,micfil.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP MICFIL Digital Audio Interface (MICFIL)
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
13 The MICFIL digital interface provides a 16-bit or 24-bit audio signal
19 - items:
20 - enum:
21 - fsl,imx95-micfil
[all …]
Dfsl,rpmsg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP Audio RPMSG CPU DAI Controller
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
13 fsl_rpmsg is a virtual audio device. Mapping to real hardware devices
14 are SAI, MICFIL, DMA controlled by Cortex M core. What we see from
15 Linux side is a device which provides audio service by rpmsg channel.
17 such as SAI, MICFIL, .etc through building rpmsg channels between
18 Cortex-A and Cortex-M.
[all …]
/linux-6.12.1/include/linux/dma/
Dimx-dma.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved.
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
85 * @sw_done: Use software done. Needed for PDM (micfil)
87 * Some i.MX Audio devices (SAI, micfil) have multiple successive FIFO
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx95-19x19-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
13 compatible = "fsl,imx95-19x19-evk", "fsl,imx95";
21 bt_sco_codec: audio-codec-bt-sco {
22 #sound-dai-cells = <1>;
23 compatible = "linux,bt-sco";
27 stdout-path = &lpuart1;
35 fan0: pwm-fan {
36 compatible = "pwm-fan";
[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";
26 hdmi-connector {
27 compatible = "hdmi-connector";
[all …]
Dimx8mm-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
9 #include <dt-bindings/usb/pd.h>
14 stdout-path = &uart2;
22 hdmi-connector {
23 compatible = "hdmi-connector";
29 remote-endpoint = <&adv7535_out>;
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
[all …]
Dimx93-11x11-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-11x11-evk", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
27 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
Dimx8mp-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
13 compatible = "fsl,imx8mp-evk", "fsl,imx8mp";
16 stdout-path = &uart2;
19 backlight_lvds: backlight-lvds {
20 compatible = "pwm-backlight";
22 brightness-levels = <0 100>;
23 num-interpolated-steps = <100>;
24 default-brightness-level = <100>;
[all …]
Dimx8mn-beacon-baseboard.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 dmic_codec: dmic-codec {
8 compatible = "dmic-codec";
9 num-channels = <1>;
10 #sound-dai-cells = <0>;
14 compatible = "gpio-leds";
16 led-0 {
19 default-state = "off";
22 led-1 {
25 default-state = "off";
[all …]
Dimx8mm-beacon-baseboard.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 dmic_codec: dmic-codec {
11 compatible = "dmic-codec";
12 num-channels = <1>;
13 #sound-dai-cells = <0>;
17 compatible = "gpio-leds";
22 default-state = "off";
28 default-state = "off";
34 default-state = "off";
[all …]
Dimx8mp-beacon-kit.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
9 #include <dt-bindings/phy/phy-imx8-pcie.h>
11 #include "imx8mp-beacon-som.dtsi"
15 compatible = "beacon,imx8mp-beacon-kit", "fsl,imx8mp";
23 stdout-path = &uart2;
26 clk_xtal25: clock-xtal25 {
27 compatible = "fixed-clock";
28 #clock-cells = <0>;
[all …]
Dimx8mn.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx8mn-clock.h>
7 #include <dt-bindings/power/imx8mn-power.h>
8 #include <dt-bindings/reset/imx8mq-reset.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/thermal/thermal.h>
14 #include "imx8mn-pinfunc.h"
17 interrupt-parent = <&gic>;
[all …]
Dimx8mm.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx8mm-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/power/imx8mm-power.h>
11 #include <dt-bindings/reset/imx8mq-reset.h>
12 #include <dt-bindings/thermal/thermal.h>
14 #include "imx8mm-pinfunc.h"
17 interrupt-parent = <&gic>;
[all …]
Dimx8mp.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx8mp-clock.h>
7 #include <dt-bindings/power/imx8mp-power.h>
8 #include <dt-bindings/reset/imx8mp-reset.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interconnect/fsl,imx8mp.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/thermal/thermal.h>
15 #include "imx8mp-pinfunc.h"
[all …]
/linux-6.12.1/sound/soc/fsl/
DMakefile1 # 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
14 snd-soc-fsl-lpc3xxx-y := lpc3xxx-pcm.o lpc3xxx-i2s.o
15 snd-soc-fsl-sai-y := fsl_sai.o
[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-audio-rpmsg.c1 // 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 …]
Dimx-pcm-rpmsg.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2021 NXP
4 #include <linux/dma-mapping.h>
15 #include "imx-pcm.h"
17 #include "imx-pcm-rpmsg.h"
39 struct rpmsg_device *rpdev = info->rpdev; in imx_rpmsg_pcm_send_message()
42 mutex_lock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
44 dev_err(info->dev, "rpmsg channel not ready\n"); in imx_rpmsg_pcm_send_message()
45 mutex_unlock(&info->msg_lock); in imx_rpmsg_pcm_send_message()
46 return -EINVAL; in imx_rpmsg_pcm_send_message()
[all …]
/linux-6.12.1/sound/soc/sof/
Dipc3-pcm.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
11 #include "ipc3-priv.h"
13 #include "sof-priv.h"
14 #include "sof-audio.h"
26 return -EINVAL; in sof_ipc3_pcm_hw_free()
28 if (!spcm->prepared[substream->stream]) in sof_ipc3_pcm_hw_free()
33 stream.comp_id = spcm->stream[substream->stream].comp_id; in sof_ipc3_pcm_hw_free()
36 return sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeof(stream)); in sof_ipc3_pcm_hw_free()
46 struct sof_ipc_fw_version *v = &sdev->fw_ready.version; in sof_ipc3_pcm_hw_params()
47 struct snd_pcm_runtime *runtime = substream->runtime; in sof_ipc3_pcm_hw_params()
[all …]
Dipc3-topology.c1 // 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"
291 /* MICFIL PDM */
345 [SOF_MICFIL_TOKENS] = {"MICFIL PDM tokens",
351 * sof_comp_alloc - allocate and initialize buffer for a new component
364 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc()
366 /* only non-zero UUID is valid */ in sof_comp_alloc()
367 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc()
[all …]
Dtopology.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include "sof-priv.h"
19 #include "sof-audio.h"
25 * from dB gain 20th root of 10 in Q1.16 fixed-point notation
28 /* 40th root of 10 in Q1.16 fixed-point notation*/
40 * sof_update_ipc_object - Parse multiple sets of tokens within the token array associated with the
62 token_list = tplg_ops ? tplg_ops->token_list : NULL; in sof_update_ipc_object()
68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id); in sof_update_ipc_object()
69 return -EINVAL; in sof_update_ipc_object()
78 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id); in sof_update_ipc_object()
[all …]
/linux-6.12.1/include/uapi/sound/sof/
Dtokens.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
32 * Tokens - must match values in topology configurations
181 /* CAVS AUDIO FORMAT */
217 /* MICFIL PDM */
/linux-6.12.1/sound/soc/sof/imx/
Dimx8m.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 // Hardware interface for audio DSP on i.MX8M
23 #include "../sof-of-dev.h"
24 #include "imx-common.h"
35 /* DSP audio mix registers */
73 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply()
74 snd_sof_ipc_process_reply(priv->sdev, 0); in imx8m_dsp_handle_reply()
75 spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply()
84 sof_mailbox_read(priv->sdev, priv->sdev->debug_box.offset + 4, &p, sizeof(p)); in imx8m_dsp_handle_request()
88 snd_sof_dsp_panic(priv->sdev, p, true); in imx8m_dsp_handle_request()
[all …]