Commit af161124 authored by Olivier Moysan's avatar Olivier Moysan Committed by Mark Brown

ASoC: dt-bindings: add mclk provider support to stm32 sai

add mclk provider support to stm32 sai
Signed-off-by: default avatarOlivier Moysan <olivier.moysan@st.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2c7b696a
...@@ -31,7 +31,11 @@ SAI subnodes required properties: ...@@ -31,7 +31,11 @@ SAI subnodes required properties:
- reg: Base address and size of SAI sub-block register set. - reg: Base address and size of SAI sub-block register set.
- clocks: Must contain one phandle and clock specifier pair - clocks: Must contain one phandle and clock specifier pair
for sai_ck which feeds the internal clock generator. for sai_ck which feeds the internal clock generator.
If the SAI shares a master clock, with another SAI set as MCLK
clock provider, SAI provider phandle must be specified here.
- clock-names: Must contain "sai_ck". - clock-names: Must contain "sai_ck".
Must also contain "MCLK", if SAI shares a master clock,
with a SAI set as MCLK clock provider.
- dmas: see Documentation/devicetree/bindings/dma/stm32-dma.txt - dmas: see Documentation/devicetree/bindings/dma/stm32-dma.txt
- dma-names: identifier string for each DMA request line - dma-names: identifier string for each DMA request line
"tx": if sai sub-block is configured as playback DAI "tx": if sai sub-block is configured as playback DAI
...@@ -51,6 +55,9 @@ SAI subnodes Optional properties: ...@@ -51,6 +55,9 @@ SAI subnodes Optional properties:
configured according to protocol defined in related DAI link node, configured according to protocol defined in related DAI link node,
such as i2s, left justified, right justified, dsp and pdm protocols. such as i2s, left justified, right justified, dsp and pdm protocols.
Note: ac97 protocol is not supported by SAI driver Note: ac97 protocol is not supported by SAI driver
- #clock-cells: should be 0. This property must be present if the SAI device
is a master clock provider, according to clocks bindings, described in
Documentation/devicetree/bindings/clock/clock-bindings.txt.
The device node should contain one 'port' child node with one child 'endpoint' The device node should contain one 'port' child node with one child 'endpoint'
node, according to the bindings defined in Documentation/devicetree/bindings/ node, according to the bindings defined in Documentation/devicetree/bindings/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment