nxp,micfil

Description

NXP PDM Microphone Interface (MICFIL)

Properties

Top level properties

These property descriptions apply to “nxp,micfil” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

quality-mode

int

Decimation filter quality mode.
0 = Medium, default value, PoR reset value of register
1 = High
4 = VeryLow2
5 = VeryLow1
6 = VeryLow0
7 = Low

Legal values: 0, 1, 4, 5, 6, 7

cic-decimation-rate

int

CIC filter decimation rate setting,
range is SoC specific, may [0, 15] or [8, 31]
The final OSR = (16 - cic-decimation-rate)
CIC decimation rate = 2 * OSR; If HQ, VLQ0 mode.
CIC decimation rate = OSR; If other modes.
0: CIC oversampling rate = 0, default value, PoR reset value
1: CIC oversampling rate = 1
...
15: CIC oversampling rate = 15

fifo-watermark

int

FIFO watermark level (implementation defined, typically 7),
range is SoC specific, may [0, 7] or [0, 15].
Default is PoR reset value of register.

sample-rate

int

Sample rate in Hz.

Legal values: 8000, 12000, 16000, 24000, 32000, 48000, 96000

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

Child node properties

Name

Type

Details

reg

array

Information used to address the device. The value is specific to
the device (i.e. is different depending on the compatible
property).

The "reg" property is typically a sequence of (address, length) pairs.
Each pair is called a "register block". Values are
conventionally written in hex.

For details, see "2.3.6 reg" in Devicetree Specification v0.4.

This property is required.

See Important properties for more information.

dc-remover-cutoff-freq

int

DC remover cutoff frequency in Hz
0: 20Hz (FS=48KHz), default value, PoR reset value
1: 13.3Hz (FS=48KHz)
2: 40Hz (FS=48KHz)
3: DC remover is bypassed

Legal values: 0, 1, 2, 3

decimation-filter-gain

int

Decimation filter gain setting, range: [0, 15].
Default is PoR reset value of register.