st,stm32-sai

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/i2s/i2s_stm32_sai.c.

Description

These nodes are “i2s” bus nodes.

STM32 SAI controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.

mclk-enable

boolean

Master Clock Output function.
An mck pin must be listed within pinctrl-0 when enabling this property.

mclk-divider

string

Master Clock Divider Configuration.

When no-div property is present:
- MCKDIV = SAI_CK_x / (FS * (FRL + 1))
Otherwise:
- MCKDIV = SAI_CK_x / (FS * (OSR + 1) * 256)

When div-256 is present OSR is set to 0.
When div-512 is present OSR is set to 1.

Default value: no-div

Legal values: 'no-div', 'div-256', 'div-512'

synchronous

boolean

Synchronous mode.
When present, the SAI controller is configured to work in synchronous mode.

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.