aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-06-08 23:31:45 -0400
committerMark Brown <broonie@linaro.org>2014-06-09 16:12:56 -0400
commit8bfcab7c6b44038993fb1a7771ae0ce5d1bf6ea3 (patch)
tree310887301f0ccda7ecc85182db2e6b6e933c2e0b
parent8b9920e3f4019313803419923b8c5c486fa82d84 (diff)
dt: wm8904: add device tree binding document
Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/sound/wm8904.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/wm8904.txt b/Documentation/devicetree/bindings/sound/wm8904.txt
new file mode 100644
index 000000000000..e99f4097c83c
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/wm8904.txt
@@ -0,0 +1,33 @@
1WM8904 audio CODEC
2
3This device supports I2C only.
4
5Required properties:
6 - compatible: "wlf,wm8904"
7 - reg: the I2C address of the device.
8 - clock-names: "mclk"
9 - clocks: reference to
10 <Documentation/devicetree/bindings/clock/clock-bindings.txt>
11
12Pins on the device (for linking into audio routes):
13
14 * IN1L
15 * IN1R
16 * IN2L
17 * IN2R
18 * IN3L
19 * IN3R
20 * HPOUTL
21 * HPOUTR
22 * LINEOUTL
23 * LINEOUTR
24 * MICBIAS
25
26Examples:
27
28codec: wm8904@1a {
29 compatible = "wlf,wm8904";
30 reg = <0x1a>;
31 clocks = <&pck0>;
32 clock-names = "mclk";
33};