Bo Shen | 8bfcab7 | 2014-06-09 11:31:45 +0800 | [diff] [blame] | 1 | WM8904 audio CODEC |
| 2 | |
| 3 | This device supports I2C only. |
| 4 | |
| 5 | Required properties: |
Bo Shen | 4d4f175 | 2015-01-27 11:36:40 +0800 | [diff] [blame] | 6 | - compatible: "wlf,wm8904" or "wlf,wm8912" |
Bo Shen | 8bfcab7 | 2014-06-09 11:31:45 +0800 | [diff] [blame] | 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 | |
| 12 | Pins 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 | |
| 26 | Examples: |
| 27 | |
| 28 | codec: wm8904@1a { |
| 29 | compatible = "wlf,wm8904"; |
| 30 | reg = <0x1a>; |
| 31 | clocks = <&pck0>; |
| 32 | clock-names = "mclk"; |
| 33 | }; |