NXP MICFIL Digital Audio Interface (MICFIL)
Schema identifier ($id): "http://devicetree.org/schemas/sound/fsl,micfil.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shengjiu Wang <shengjiu.wang@nxp.com>"
The MICFIL digital interface provides a 16-bit or 24-bit audio signal from a PDM microphone bitstream in a configurable output sampling rate.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx93-micfil"
Rule 2
Allowed values (
enum):"fsl,imx8mm-micfil","fsl,imx8mp-micfil","fsl,imx93-micfil","fsl,imx943-micfil"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Digital Microphone interface interrupt
Item 2
Digital Microphone interface error interrupt
Item 3
voice activity detector event interrupt
Item 4
voice activity detector error interrupt
dmas — required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
clocks — required here #
Array item rules (items) #
Item 1
The ipg clock for register access
Item 2
internal micfil clock
Item 3
PLL clock source for 8kHz series
Item 4
PLL clock source for 11kHz series
Item 5
External clock 3
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg_clk"
Item 2
Exact value (
const):"ipg_clk_app"
Item 3
Exact value (
const):"pll8k"
Item 4
Exact value (
const):"pll11k"
Item 5
Exact value (
const):"clkext3"
Minimum number of items (minItems): 2
#sound-dai-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/imx8mm-clock.h>
micfil: audio-controller@30080000 {
compatible = "fsl,imx8mm-micfil";
reg = <0x30080000 0x10000>;
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_PDM_IPG>,
<&clk IMX8MM_CLK_PDM_ROOT>;
clock-names = "ipg_clk", "ipg_clk_app";
dmas = <&sdma2 24 25 0>;
dma-names = "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)