Skip to content

Commit

Permalink
dt: wm8904: add device tree binding document
Browse files Browse the repository at this point in the history
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Bo Shen authored and Mark Brown committed Jun 9, 2014
1 parent 8b9920e commit 8bfcab7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Documentation/devicetree/bindings/sound/wm8904.txt
Original file line number Diff line number Diff line change
@@ -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";
};

0 comments on commit 8bfcab7

Please sign in to comment.