Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | ALC5631/RT5631 audio CODEC |
| 2 | |
| 3 | This device supports I2C only. |
| 4 | |
| 5 | Required properties: |
| 6 | |
| 7 | - compatible : "realtek,alc5631" or "realtek,rt5631" |
| 8 | |
| 9 | - reg : the I2C address of the device. |
| 10 | |
| 11 | Pins on the device (for linking into audio routes): |
| 12 | |
| 13 | * SPK_OUT_R_P |
| 14 | * SPK_OUT_R_N |
| 15 | * SPK_OUT_L_P |
| 16 | * SPK_OUT_L_N |
| 17 | * HP_OUT_L |
| 18 | * HP_OUT_R |
| 19 | * AUX_OUT2_LP |
| 20 | * AUX_OUT2_RN |
| 21 | * AUX_OUT1_LP |
| 22 | * AUX_OUT1_RN |
| 23 | * AUX_IN_L_JD |
| 24 | * AUX_IN_R_JD |
| 25 | * MONO_IN_P |
| 26 | * MONO_IN_N |
| 27 | * MIC1_P |
| 28 | * MIC1_N |
| 29 | * MIC2_P |
| 30 | * MIC2_N |
| 31 | * MONO_OUT_P |
| 32 | * MONO_OUT_N |
| 33 | * MICBIAS1 |
| 34 | * MICBIAS2 |
| 35 | |
| 36 | Example: |
| 37 | |
| 38 | alc5631: audio-codec@1a { |
| 39 | compatible = "realtek,alc5631"; |
| 40 | reg = <0x1a>; |
| 41 | }; |
| 42 | |
| 43 | or |
| 44 | |
| 45 | rt5631: audio-codec@1a { |
| 46 | compatible = "realtek,rt5631"; |
| 47 | reg = <0x1a>; |
| 48 | }; |