Leon Romanovsky | 919c1e5 | 2012-01-31 09:29:45 +0200 | [diff] [blame] | 1 | ALC5632 audio CODEC |
| 2 | |
| 3 | This device supports I2C only. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "realtek,alc5632" |
| 8 | |
| 9 | - reg : the I2C address of the device. |
| 10 | |
| 11 | - gpio-controller : Indicates this device is a GPIO controller. |
| 12 | |
| 13 | - #gpio-cells : Should be two. The first cell is the pin number and the |
| 14 | second cell is used to specify optional parameters (currently unused). |
| 15 | |
Mark Brown | 81164e6 | 2013-08-11 18:59:06 +0100 | [diff] [blame] | 16 | Pins on the device (for linking into audio routes): |
| 17 | |
| 18 | * SPK_OUTP |
| 19 | * SPK_OUTN |
| 20 | * HP_OUT_L |
| 21 | * HP_OUT_R |
| 22 | * AUX_OUT_P |
| 23 | * AUX_OUT_N |
| 24 | * LINE_IN_L |
| 25 | * LINE_IN_R |
| 26 | * PHONE_P |
| 27 | * PHONE_N |
| 28 | * MIC1_P |
| 29 | * MIC1_N |
| 30 | * MIC2_P |
| 31 | * MIC2_N |
| 32 | * MICBIAS1 |
| 33 | * DMICDAT |
| 34 | |
Leon Romanovsky | 919c1e5 | 2012-01-31 09:29:45 +0200 | [diff] [blame] | 35 | Example: |
| 36 | |
| 37 | alc5632: alc5632@1e { |
| 38 | compatible = "realtek,alc5632"; |
| 39 | reg = <0x1a>; |
| 40 | |
| 41 | gpio-controller; |
| 42 | #gpio-cells = <2>; |
| 43 | }; |