aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack2014-03-28 13:05:04 -0500
committerMark Brown2014-06-18 12:52:52 -0500
commit2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34 (patch)
treee6fbb0b50deb00a08636b2676b64deb5eede632b /Documentation/devicetree/bindings/sound/ak5386.txt
parentfb668e735bef560291429d0694a5020695062cbb (diff)
downloadti-linux-kernel-2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34.tar.gz
ti-linux-kernel-2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34.tar.xz
ti-linux-kernel-2ad76541026ba5c6c93b5a5a6f1418aa89fa5f34.zip
ASoC: ak5386: Add regulators to documentation and fix sparse warning
Document the newly added regulators to the DT binding document. Also, "static const char const *x" is not identical to "static const char * const x", which sparse now complains about. Fix it. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/ak5386.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/ak5386.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ak5386.txt b/Documentation/devicetree/bindings/sound/ak5386.txt
index dc3914fe6ce8..ec3df3abba0c 100644
--- a/Documentation/devicetree/bindings/sound/ak5386.txt
+++ b/Documentation/devicetree/bindings/sound/ak5386.txt
@@ -10,10 +10,14 @@ Optional properties:
10 10
11 - reset-gpio : a GPIO spec for the reset/power down pin. 11 - reset-gpio : a GPIO spec for the reset/power down pin.
12 If specified, it will be deasserted at probe time. 12 If specified, it will be deasserted at probe time.
13 - va-supply : a regulator spec, providing 5.0V
14 - vd-supply : a regulator spec, providing 3.3V
13 15
14Example: 16Example:
15 17
16spdif: ak5386@0 { 18spdif: ak5386@0 {
17 compatible = "asahi-kasei,ak5386"; 19 compatible = "asahi-kasei,ak5386";
18 reset-gpio = <&gpio0 23>; 20 reset-gpio = <&gpio0 23>;
21 va-supply = <&vdd_5v0_reg>;
22 vd-supply = <&vdd_3v3_reg>;
19}; 23};