hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
....@@ -31,13 +31,17 @@
3131 - reg: Base address and size of SAI sub-block register set.
3232 - clocks: Must contain one phandle and clock specifier pair
3333 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.
3436 - 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
3640 - dma-names: identifier string for each DMA request line
3741 "tx": if sai sub-block is configured as playback DAI
3842 "rx": if sai sub-block is configured as capture DAI
3943 - 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
4145
4246 SAI subnodes Optional properties:
4347 - st,sync: specify synchronization mode.
....@@ -51,6 +55,9 @@
5155 configured according to protocol defined in related DAI link node,
5256 such as i2s, left justified, right justified, dsp and pdm protocols.
5357 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.
5461
5562 The device node should contain one 'port' child node with one child 'endpoint'
5663 node, according to the bindings defined in Documentation/devicetree/bindings/