| .. | .. |
|---|
| 31 | 31 | - reg: Base address and size of SAI sub-block register set. |
|---|
| 32 | 32 | - clocks: Must contain one phandle and clock specifier pair |
|---|
| 33 | 33 | for sai_ck which feeds the internal clock generator. |
|---|
| 34 | + If the SAI shares a master clock, with another SAI set as MCLK |
|---|
| 35 | + clock provider, SAI provider phandle must be specified here. |
|---|
| 34 | 36 | - clock-names: Must contain "sai_ck". |
|---|
| 35 | | - - dmas: see Documentation/devicetree/bindings/dma/stm32-dma.txt |
|---|
| 37 | + Must also contain "MCLK", if SAI shares a master clock, |
|---|
| 38 | + with a SAI set as MCLK clock provider. |
|---|
| 39 | + - dmas: see Documentation/devicetree/bindings/dma/st,stm32-dma.yaml |
|---|
| 36 | 40 | - dma-names: identifier string for each DMA request line |
|---|
| 37 | 41 | "tx": if sai sub-block is configured as playback DAI |
|---|
| 38 | 42 | "rx": if sai sub-block is configured as capture DAI |
|---|
| 39 | 43 | - pinctrl-names: should contain only value "default" |
|---|
| 40 | | - - pinctrl-0: see Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt |
|---|
| 44 | + - pinctrl-0: see Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml |
|---|
| 41 | 45 | |
|---|
| 42 | 46 | SAI subnodes Optional properties: |
|---|
| 43 | 47 | - st,sync: specify synchronization mode. |
|---|
| .. | .. |
|---|
| 51 | 55 | configured according to protocol defined in related DAI link node, |
|---|
| 52 | 56 | such as i2s, left justified, right justified, dsp and pdm protocols. |
|---|
| 53 | 57 | Note: ac97 protocol is not supported by SAI driver |
|---|
| 58 | + - #clock-cells: should be 0. This property must be present if the SAI device |
|---|
| 59 | + is a master clock provider, according to clocks bindings, described in |
|---|
| 60 | + Documentation/devicetree/bindings/clock/clock-bindings.txt. |
|---|
| 54 | 61 | |
|---|
| 55 | 62 | The device node should contain one 'port' child node with one child 'endpoint' |
|---|
| 56 | 63 | node, according to the bindings defined in Documentation/devicetree/bindings/ |
|---|