summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-06-09 11:31:45 +0800
committerMark Brown <broonie@linaro.org>2014-06-09 21:12:56 +0100
commit8bfcab7c6b44038993fb1a7771ae0ce5d1bf6ea3 (patch)
tree310887301f0ccda7ecc85182db2e6b6e933c2e0b
parent8b9920e3f4019313803419923b8c5c486fa82d84 (diff)
downloadlinux-stable-8bfcab7c6b44038993fb1a7771ae0ce5d1bf6ea3.tar.gz
linux-stable-8bfcab7c6b44038993fb1a7771ae0ce5d1bf6ea3.tar.bz2
linux-stable-8bfcab7c6b44038993fb1a7771ae0ce5d1bf6ea3.zip
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 @@
+WM8904 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+ - compatible: "wlf,wm8904"
+ - reg: the I2C address of the device.
+ - clock-names: "mclk"
+ - clocks: reference to
+ <Documentation/devicetree/bindings/clock/clock-bindings.txt>
+
+Pins on the device (for linking into audio routes):
+
+ * IN1L
+ * IN1R
+ * IN2L
+ * IN2R
+ * IN3L
+ * IN3R
+ * HPOUTL
+ * HPOUTR
+ * LINEOUTL
+ * LINEOUTR
+ * MICBIAS
+
+Examples:
+
+codec: wm8904@1a {
+ compatible = "wlf,wm8904";
+ reg = <0x1a>;
+ clocks = <&pck0>;
+ clock-names = "mclk";
+};