Skip to content

Commit 05c1b44

Browse files
petegriffinbroonie
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1a695a9 commit 05c1b44

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Required properties:
3333
"tx" for "st,sti-uni-player" compatibility
3434
"rx" for "st,sti-uni-reader" compatibility
3535

36-
- version: IP version integrated in SOC.
36+
- st,version: IP version integrated in SOC.
3737

3838
- dai-name: DAI name that describes the IP.
3939

40-
- IP mode: IP working mode depending on associated codec.
40+
- st,mode: IP working mode depending on associated codec.
4141
"HDMI" connected to HDMI codec and support IEC HDMI formats (player only).
4242
"SPDIF" connected to SPDIF codec and support SPDIF formats (player only).
4343
"PCM" PCM standard mode for I2S or TDM bus.
@@ -47,7 +47,7 @@ Required properties ("st,sti-uni-player" compatibility only):
4747
- clocks: CPU_DAI IP clock source, listed in the same order than the
4848
CPU_DAI properties.
4949

50-
- uniperiph-id: internal SOC IP instance ID.
50+
- st,uniperiph-id: internal SOC IP instance ID.
5151

5252
Optional properties:
5353
- pinctrl-0: defined for CPU_DAI@1 and CPU_DAI@4 to describe I2S PIOs for
@@ -84,9 +84,9 @@ Example:
8484
dmas = <&fdma0 4 0 1>;
8585
dai-name = "Uni Player #2 (DAC)";
8686
dma-names = "tx";
87-
uniperiph-id = <2>;
88-
version = <5>;
89-
mode = "PCM";
87+
st,uniperiph-id = <2>;
88+
st,version = <5>;
89+
st,mode = "PCM";
9090
};
9191

9292
sti_uni_player3: sti-uni-player@3 {
@@ -100,9 +100,9 @@ Example:
100100
dmas = <&fdma0 7 0 1>;
101101
dma-names = "tx";
102102
dai-name = "Uni Player #3 (SPDIF)";
103-
uniperiph-id = <3>;
104-
version = <5>;
105-
mode = "SPDIF";
103+
st,uniperiph-id = <3>;
104+
st,version = <5>;
105+
st,mode = "SPDIF";
106106
};
107107

108108
sti_uni_reader1: sti-uni-reader@1 {
@@ -115,7 +115,7 @@ Example:
115115
dmas = <&fdma0 6 0 1>;
116116
dma-names = "rx";
117117
dai-name = "Uni Reader #1 (HDMI RX)";
118-
version = <3>;
118+
st,version = <3>;
119119
st,mode = "PCM";
120120
};
121121

0 commit comments

Comments
 (0)