/linux/sound/soc/fsl/ |
H A D | fsl_micfil.c | 115 { .compatible = "fsl,imx8mm-micfil", .data = &fsl_micfil_imx8mm }, 116 { .compatible = "fsl,imx8mp-micfil", .data = &fsl_micfil_imx8mp }, 117 { .compatible = "fsl,imx93-micfil", .data = &fsl_micfil_imx93 }, 137 static int micfil_set_quality(struct fsl_micfil *micfil) in micfil_set_quality() argument 141 switch (micfil->quality) { in micfil_set_quality() 162 return regmap_update_bits(micfil->regmap, REG_MICFIL_CTRL2, in micfil_set_quality() 171 struct fsl_micfil *micfil = snd_soc_component_get_drvdata(cmpnt); in micfil_quality_get() local 173 ucontrol->value.integer.value[0] = micfil->quality; in micfil_quality_get() 182 struct fsl_micfil *micfil = snd_soc_component_get_drvdata(cmpnt); in micfil_quality_set() local 184 micfil->quality = ucontrol->value.integer.value[0]; in micfil_quality_set() [all …]
|
H A D | fsl_micfil.h | 10 /* MICFIL Register Map */ 38 /* MICFIL Control Register 1 -- REG_MICFILL_CTRL1 0x00 */ 55 /* MICFIL Control Register 2 -- REG_MICFILL_CTRL2 0x04 */ 68 /* MICFIL Status Register -- REG_MICFIL_STAT 0x08 */ 74 /* MICFIL FIFO Control Register -- REG_MICFIL_FIFO_CTRL 0x10 */ 77 /* MICFIL FIFO Status Register -- REG_MICFIL_FIFO_STAT 0x14 */ 81 /* MICFIL DC Remover Control Register -- REG_MICFIL_DC_CTRL */ 90 /* MICFIL VERID Register -- REG_MICFIL_VERID */ 98 /* MICFIL PARAM Register -- REG_MICFIL_PARAM */ 113 /* MICFIL HWVAD0 Control 1 Register -- REG_MICFIL_VAD0_CTRL1*/ [all …]
|
H A D | Makefile | 20 snd-soc-fsl-micfil-y := fsl_micfil.o 38 obj-$(CONFIG_SND_SOC_FSL_MICFIL) += snd-soc-fsl-micfil.o
|
H A D | Kconfig | 82 tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support" 89 interface (MICFIL) support for NXP.
|
H A D | imx-audio-rpmsg.c | 127 { .name = "rpmsg-micfil-channel" },
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,micfil.yaml | 4 $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml# 7 title: NXP MICFIL Digital Audio Interface (MICFIL) 13 The MICFIL digital interface provides a 16-bit or 24-bit audio signal 21 - fsl,imx95-micfil 22 - const: fsl,imx93-micfil 25 - fsl,imx8mm-micfil 26 - fsl,imx8mp-micfil 27 - fsl,imx93-micfil 50 - description: internal micfil clock 83 micfil: audio-controller@30080000 { [all …]
|
H A D | fsl,rpmsg.yaml | 14 are SAI, MICFIL, DMA controlled by Cortex M core. What we see from 17 such as SAI, MICFIL, .etc through building rpmsg channels between 93 - rpmsg-micfil-channel 122 model = "micfil-audio"; 123 fsl,rpmsg-channel-name = "rpmsg-micfil-channel";
|
/linux/sound/soc/sof/ |
H A D | ipc3-pcm.c | 388 rate->min = private->dai_config->micfil.pdm_rate; in sof_ipc3_pcm_dai_link_fixup() 389 rate->max = private->dai_config->micfil.pdm_rate; in sof_ipc3_pcm_dai_link_fixup() 390 channels->min = private->dai_config->micfil.pdm_ch; in sof_ipc3_pcm_dai_link_fixup() 391 channels->max = private->dai_config->micfil.pdm_ch; in sof_ipc3_pcm_dai_link_fixup() 394 "MICFIL PDM rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup() 395 dev_dbg(component->dev, "MICFIL PDM channels_min: %d channels_max: %d\n", in sof_ipc3_pcm_dai_link_fixup()
|
H A D | ipc3-topology.c | 294 /* MICFIL PDM */ 348 [SOF_MICFIL_TOKENS] = {"MICFIL PDM tokens", 1180 /* parse the required set of MICFIL PDM tokens based on num_hw_cfgs */ in sof_link_micfil_load() 1181 ret = sof_update_ipc_object(scomp, &config->micfil, SOF_MICFIL_TOKENS, slink->tuples, in sof_link_micfil_load() 1186 dev_info(scomp->dev, "MICFIL PDM config dai_index %d channel %d rate %d\n", in sof_link_micfil_load() 1187 config->dai_index, config->micfil.pdm_ch, config->micfil.pdm_rate); in sof_link_micfil_load()
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-9x9-qsb.dts | 125 sound-micfil { 127 model = "micfil-audio"; 130 link-name = "micfil hifi"; 134 sound-dai = <&micfil>; 378 &micfil {
|
H A D | imx8mn-evk.dtsi | 144 sound-micfil { 146 model = "micfil-audio"; 149 link-name = "micfil hifi"; 153 sound-dai = <&micfil>; 330 &micfil {
|
H A D | imx95-19x19-evk.dts | 165 sound-micfil { 167 model = "micfil-audio"; 170 link-name = "micfil hifi"; 173 sound-dai = <&micfil>; 320 &micfil {
|
H A D | imx8mm-evk.dtsi | 169 sound-micfil { 171 model = "micfil-audio"; 174 link-name = "micfil hifi"; 178 sound-dai = <&micfil>; 485 &micfil {
|
H A D | imx93-11x11-evk.dts | 145 sound-micfil { 147 model = "micfil-audio"; 150 link-name = "micfil hifi"; 154 sound-dai = <&micfil>; 498 &micfil {
|
H A D | imx8mp-evk.dts | 210 sound-micfil { 212 model = "micfil-audio"; 215 link-name = "micfil hifi"; 219 sound-dai = <&micfil>; 645 &micfil {
|
H A D | imx8mn-beacon-baseboard.dtsi | 105 sound-dai = <&micfil>; 262 &micfil {
|
H A D | imx8mm-beacon-baseboard.dtsi | 130 sound-dai = <&micfil>; 270 &micfil {
|
H A D | imx8mp-beacon-kit.dts | 201 sound-dai = <&micfil>; 506 &micfil {
|
H A D | imx95.dtsi | 1355 micfil: micfil@44520000 { label 1356 compatible = "fsl,imx95-micfil", "fsl,imx93-micfil";
|
H A D | imx93.dtsi | 565 micfil: micfil@44520000 { label 566 compatible = "fsl,imx93-micfil";
|
H A D | imx8mn.dtsi | 358 micfil: audio-controller@30080000 { label 359 compatible = "fsl,imx8mm-micfil";
|
/linux/include/sound/sof/ |
H A D | dai.h | 91 SOF_DAI_IMX_MICFIL, /** < i.MX MICFIL PDM */ 122 struct sof_ipc_dai_micfil_params micfil; member
|
H A D | dai-imx.h | 55 /* MICFIL Configuration Request - SOF_IPC_DAI_MICFIL_CONFIG */
|
/linux/include/uapi/sound/sof/ |
H A D | tokens.h | 217 /* MICFIL PDM */
|
/linux/sound/soc/sof/imx/ |
H A D | imx8m.c | 309 .name = "micfil",
|