st,stm32-mdf

Description

STM32 MDF (Multi-function Digital Filter)

The MDF is a sigma-delta (Σ∆) analog-to-digital converter dedicated to
interface external Σ∆ modulators to STM32 MCUs.

It features up to 6 serial digital interfaces (SITFx) and
digital filters (DFLTx) and up to 24-bit final resolution.

Properties

Top level properties

These property descriptions apply to “st,stm32-mdf” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

resets

phandle-array

Reset information

This property is required.

reset-names

string-array

Name of each reset

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.

interrupts

array

Information about interrupts generated by the device, encoded as an array
of one or more interrupt specifiers. The format of the data in this property
varies by where the device appears in the interrupt tree. Devices with the same
"interrupt-parent" will use the same format in their interrupts properties.

For details, see "2.4 Interrupts and Interrupt Mapping" in
Devicetree Specification v0.4.

This property is required.

See Important properties for more information.

pinctrl-0

phandles

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

This property is required.

pinctrl-names

string-array

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

This property is required.

filter-order

int

SinC filter order from 0 to 5.
- 0: FastSinC
- [1-5]: order 1 to 5.
For audio purpose it is recommended to use order 3 to 5.

Default value: 4

Legal values: 0, 1, 2, 3, 4, 5

offset

int

Offset error compensation.

Default value: 0

Value range: 0 to 67108863

gain

int

Filter gain in dB. Value must be a multiple of 3dB.

Default value: 0

Value range: -48 to 72

st,reshape-filter-decimation

int

Reshape filter decimation ratio.
Reshape filter is not enabled if this property is not present.

Legal values: 1, 4

st,highpass-filter-cutoff

int

High pass filter cut-off frequency.
- 0: 0.000625 x FPCM
- 1: 0.00125 x FPCM
- 2: 0.00250 x FPCM
- 3: 0.00950 x FPCM

Legal values: 0, 1, 2, 3

st,integrator-on

boolean

Enable the integrator.

st,sound-activity-on

boolean

Enable the sound activity interrupts.

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.