aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-05-05 05:49:22 -0400
committerMark Brown <broonie@linaro.org>2014-05-05 15:51:58 -0400
commit09af62ff184bfeae4a72874ab28ed637a2329ee4 (patch)
tree3514e34bef37921f9d583f13c8264d5ca56c52a1 /Documentation
parent8ab1a06497a1f10ffdcbb8297f0363daaa94e8a4 (diff)
ASoC: sta350: fix DT bindings document
Fix a misleading property description, and denote the fact that st,output-conf and st,ch*-output-mapping have to be passed as /bits/ 8. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/st,sta350.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/st,sta350.txt b/Documentation/devicetree/bindings/sound/st,sta350.txt
index 950188891abd..ecd7a623c8bd 100644
--- a/Documentation/devicetree/bindings/sound/st,sta350.txt
+++ b/Documentation/devicetree/bindings/sound/st,sta350.txt
@@ -25,6 +25,7 @@ Optional properties:
25 2: 2 Channel (Full-Bridge) Power, 1 Channel FFX 25 2: 2 Channel (Full-Bridge) Power, 1 Channel FFX
26 3: 1 Channel Mono-Parallel 26 3: 1 Channel Mono-Parallel
27 If parameter is missing, mode 0 will be enabled. 27 If parameter is missing, mode 0 will be enabled.
28 This property has to be specified as '/bits/ 8' value.
28 29
29 - st,ch1-output-mapping: Channel 1 output mapping 30 - st,ch1-output-mapping: Channel 1 output mapping
30 - st,ch2-output-mapping: Channel 2 output mapping 31 - st,ch2-output-mapping: Channel 2 output mapping
@@ -33,6 +34,7 @@ Optional properties:
33 1: Channel 2 34 1: Channel 2
34 2: Channel 3 35 2: Channel 3
35 If parameter is missing, channel 1 is choosen. 36 If parameter is missing, channel 1 is choosen.
37 This properties have to be specified as '/bits/ 8' values.
36 38
37 - st,thermal-warning-recover: 39 - st,thermal-warning-recover:
38 If present, thermal warning recovery is enabled. 40 If present, thermal warning recovery is enabled.
@@ -82,7 +84,7 @@ Optional properties:
82 If not present, preset DC coefficient is used. 84 If not present, preset DC coefficient is used.
83 85
84 - st,invalid-input-detect-mute: 86 - st,invalid-input-detect-mute:
85 If not present, automatic invalid input detect mute is enabled. 87 If present, automatic invalid input detect mute is enabled.
86 88
87 89
88 90
@@ -93,12 +95,12 @@ codec: sta350@38 {
93 reg = <0x1c>; 95 reg = <0x1c>;
94 reset-gpios = <&gpio1 19 0>; 96 reset-gpios = <&gpio1 19 0>;
95 power-down-gpios = <&gpio1 16 0>; 97 power-down-gpios = <&gpio1 16 0>;
96 st,output-conf = <0x3>; // set output to 2-channel 98 st,output-conf = /bits/ 8 <0x3>; // set output to 2-channel
97 // (full-bridge) power, 99 // (full-bridge) power,
98 // 2-channel data-out 100 // 2-channel data-out
99 st,ch1-output-mapping = <0>; // set channel 1 output ch 1 101 st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1
100 st,ch2-output-mapping = <0>; // set channel 2 output ch 1 102 st,ch2-output-mapping = /bits/ 8 <0>; // set channel 2 output ch 1
101 st,ch3-output-mapping = <0>; // set channel 3 output ch 1 103 st,ch3-output-mapping = /bits/ 8 <0>; // set channel 3 output ch 1
102 st,max-power-correction; // enables power bridge 104 st,max-power-correction; // enables power bridge
103 // correction for THD reduction 105 // correction for THD reduction
104 // near maximum power output 106 // near maximum power output