Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rt5631: Add device tree binding documentation

Document the device tree binding for the ALC5631 codec and update vendor
specific prefix for the Realtek.

Signed-off-by: Krishna Mohan Dani <krishna.md@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krishna Mohan Dani and committed by
Mark Brown
9e6280cd f114040e

+48
+48
Documentation/devicetree/bindings/sound/rt5631.txt
··· 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: alc5631@1a { 39 + compatible = "realtek,alc5631"; 40 + reg = <0x1a>; 41 + }; 42 + 43 + or 44 + 45 + rt5631: rt5631@1a { 46 + compatible = "realtek,rt5631"; 47 + reg = <0x1a>; 48 + };