|
@@ -10,13 +10,21 @@ Required properties:
|
|
- reg: Base address and size of SAI common register set.
|
|
- reg: Base address and size of SAI common register set.
|
|
- clocks: Must contain phandle and clock specifier pairs for each entry
|
|
- clocks: Must contain phandle and clock specifier pairs for each entry
|
|
in clock-names.
|
|
in clock-names.
|
|
- - clock-names: Must contain "x8k" and "x11k"
|
|
|
|
|
|
+ - clock-names: Must contain "pclk" "x8k" and "x11k"
|
|
|
|
+ "pclk": Clock which feeds the peripheral bus interface.
|
|
|
|
+ Mandatory for "st,stm32h7-sai" compatible.
|
|
|
|
+ Not used for "st,stm32f4-sai" compatible.
|
|
"x8k": SAI parent clock for sampling rates multiple of 8kHz.
|
|
"x8k": SAI parent clock for sampling rates multiple of 8kHz.
|
|
"x11k": SAI parent clock for sampling rates multiple of 11.025kHz.
|
|
"x11k": SAI parent clock for sampling rates multiple of 11.025kHz.
|
|
- interrupts: cpu DAI interrupt line shared by SAI sub-blocks
|
|
- interrupts: cpu DAI interrupt line shared by SAI sub-blocks
|
|
|
|
|
|
Optional properties:
|
|
Optional properties:
|
|
- resets: Reference to a reset controller asserting the SAI
|
|
- resets: Reference to a reset controller asserting the SAI
|
|
|
|
+ - st,sync: specify synchronization mode.
|
|
|
|
+ By default SAI sub-block is in asynchronous mode.
|
|
|
|
+ This property sets SAI sub-block as slave of another SAI sub-block.
|
|
|
|
+ Must contain the phandle and index of the sai sub-block providing
|
|
|
|
+ the synchronization.
|
|
|
|
|
|
SAI subnodes:
|
|
SAI subnodes:
|
|
Two subnodes corresponding to SAI sub-block instances A et B can be defined.
|
|
Two subnodes corresponding to SAI sub-block instances A et B can be defined.
|
|
@@ -52,8 +60,8 @@ sai1: sai1@40015800 {
|
|
#size-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x40015800 0x400>;
|
|
ranges = <0 0x40015800 0x400>;
|
|
reg = <0x40015800 0x4>;
|
|
reg = <0x40015800 0x4>;
|
|
- clocks = <&rcc PLL1_Q>, <&rcc PLL2_P>;
|
|
|
|
- clock-names = "x8k", "x11k";
|
|
|
|
|
|
+ clocks = <&rcc SAI1_CK>, <&rcc PLL1_Q>, <&rcc PLL2_P>;
|
|
|
|
+ clock-names = "pclk", "x8k", "x11k";
|
|
interrupts = <87>;
|
|
interrupts = <87>;
|
|
|
|
|
|
sai1a: audio-controller@40015804 {
|
|
sai1a: audio-controller@40015804 {
|