diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2016-06-07 12:19:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-07 12:46:38 -0400 |
commit | 05c1b4480e86a871b18030d6f3d532dc0ecdf38c (patch) | |
tree | bf3fbad65a056a0fc4cb3967ceb1d80c4c5b9f50 | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
ASoC: sti: Update DT example to match the driver code
uniperiph-id, version and mode are ST specific bindings and
need the 'st,' prefix. Update the examples, as otherwise copying
them yields a runtime error parsing the DT node.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt index 4d9a83d9a017..16bcdfb6760e 100644 --- a/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt +++ b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt | |||
@@ -33,11 +33,11 @@ Required properties: | |||
33 | "tx" for "st,sti-uni-player" compatibility | 33 | "tx" for "st,sti-uni-player" compatibility |
34 | "rx" for "st,sti-uni-reader" compatibility | 34 | "rx" for "st,sti-uni-reader" compatibility |
35 | 35 | ||
36 | - version: IP version integrated in SOC. | 36 | - st,version: IP version integrated in SOC. |
37 | 37 | ||
38 | - dai-name: DAI name that describes the IP. | 38 | - dai-name: DAI name that describes the IP. |
39 | 39 | ||
40 | - IP mode: IP working mode depending on associated codec. | 40 | - st,mode: IP working mode depending on associated codec. |
41 | "HDMI" connected to HDMI codec and support IEC HDMI formats (player only). | 41 | "HDMI" connected to HDMI codec and support IEC HDMI formats (player only). |
42 | "SPDIF" connected to SPDIF codec and support SPDIF formats (player only). | 42 | "SPDIF" connected to SPDIF codec and support SPDIF formats (player only). |
43 | "PCM" PCM standard mode for I2S or TDM bus. | 43 | "PCM" PCM standard mode for I2S or TDM bus. |
@@ -47,7 +47,7 @@ Required properties ("st,sti-uni-player" compatibility only): | |||
47 | - clocks: CPU_DAI IP clock source, listed in the same order than the | 47 | - clocks: CPU_DAI IP clock source, listed in the same order than the |
48 | CPU_DAI properties. | 48 | CPU_DAI properties. |
49 | 49 | ||
50 | - uniperiph-id: internal SOC IP instance ID. | 50 | - st,uniperiph-id: internal SOC IP instance ID. |
51 | 51 | ||
52 | Optional properties: | 52 | Optional properties: |
53 | - pinctrl-0: defined for CPU_DAI@1 and CPU_DAI@4 to describe I2S PIOs for | 53 | - pinctrl-0: defined for CPU_DAI@1 and CPU_DAI@4 to describe I2S PIOs for |
@@ -84,9 +84,9 @@ Example: | |||
84 | dmas = <&fdma0 4 0 1>; | 84 | dmas = <&fdma0 4 0 1>; |
85 | dai-name = "Uni Player #2 (DAC)"; | 85 | dai-name = "Uni Player #2 (DAC)"; |
86 | dma-names = "tx"; | 86 | dma-names = "tx"; |
87 | uniperiph-id = <2>; | 87 | st,uniperiph-id = <2>; |
88 | version = <5>; | 88 | st,version = <5>; |
89 | mode = "PCM"; | 89 | st,mode = "PCM"; |
90 | }; | 90 | }; |
91 | 91 | ||
92 | sti_uni_player3: sti-uni-player@3 { | 92 | sti_uni_player3: sti-uni-player@3 { |
@@ -100,9 +100,9 @@ Example: | |||
100 | dmas = <&fdma0 7 0 1>; | 100 | dmas = <&fdma0 7 0 1>; |
101 | dma-names = "tx"; | 101 | dma-names = "tx"; |
102 | dai-name = "Uni Player #3 (SPDIF)"; | 102 | dai-name = "Uni Player #3 (SPDIF)"; |
103 | uniperiph-id = <3>; | 103 | st,uniperiph-id = <3>; |
104 | version = <5>; | 104 | st,version = <5>; |
105 | mode = "SPDIF"; | 105 | st,mode = "SPDIF"; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | sti_uni_reader1: sti-uni-reader@1 { | 108 | sti_uni_reader1: sti-uni-reader@1 { |
@@ -115,7 +115,7 @@ Example: | |||
115 | dmas = <&fdma0 6 0 1>; | 115 | dmas = <&fdma0 6 0 1>; |
116 | dma-names = "rx"; | 116 | dma-names = "rx"; |
117 | dai-name = "Uni Reader #1 (HDMI RX)"; | 117 | dai-name = "Uni Reader #1 (HDMI RX)"; |
118 | version = <3>; | 118 | st,version = <3>; |
119 | st,mode = "PCM"; | 119 | st,mode = "PCM"; |
120 | }; | 120 | }; |
121 | 121 | ||