aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolivier moysan <olivier.moysan@st.com>2017-11-22 10:02:25 -0500
committerMark Brown <broonie@kernel.org>2017-11-27 08:09:45 -0500
commit4be0ffdf284046eb7289fa66cc7b2eb8d7efdc64 (patch)
treef408c5cd8ed12ab9783a5aedccb8b45c2e37a3cd
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
ASoC: stm32: fix sync property description in SAI bindings
SAI sync property must be described in SAI subnodes section, as it is a property of child node. This patch fixes commit 14f0e5f8d97e632695d92f41f2e91d10d8005d47 "ASoC: stm32: Add synchronization to SAI bindings". Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/st,stm32-sai.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt b/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
index 1f9cd7095337..b1acc1a256ba 100644
--- a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
+++ b/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
@@ -20,11 +20,6 @@ Required properties:
20 20
21Optional properties: 21Optional properties:
22 - resets: Reference to a reset controller asserting the SAI 22 - resets: Reference to a reset controller asserting the SAI
23 - st,sync: specify synchronization mode.
24 By default SAI sub-block is in asynchronous mode.
25 This property sets SAI sub-block as slave of another SAI sub-block.
26 Must contain the phandle and index of the sai sub-block providing
27 the synchronization.
28 23
29SAI subnodes: 24SAI subnodes:
30Two subnodes corresponding to SAI sub-block instances A et B can be defined. 25Two subnodes corresponding to SAI sub-block instances A et B can be defined.
@@ -44,6 +39,13 @@ SAI subnodes required properties:
44 - pinctrl-names: should contain only value "default" 39 - pinctrl-names: should contain only value "default"
45 - pinctrl-0: see Documentation/devicetree/bindings/pinctrl/pinctrl-stm32.txt 40 - pinctrl-0: see Documentation/devicetree/bindings/pinctrl/pinctrl-stm32.txt
46 41
42SAI subnodes Optional properties:
43 - st,sync: specify synchronization mode.
44 By default SAI sub-block is in asynchronous mode.
45 This property sets SAI sub-block as slave of another SAI sub-block.
46 Must contain the phandle and index of the sai sub-block providing
47 the synchronization.
48
47The device node should contain one 'port' child node with one child 'endpoint' 49The device node should contain one 'port' child node with one child 'endpoint'
48node, according to the bindings defined in Documentation/devicetree/bindings/ 50node, according to the bindings defined in Documentation/devicetree/bindings/
49graph.txt. 51graph.txt.