xref: /freebsd/sys/contrib/device-tree/Bindings/sound/alc5632.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotALC5632 audio CODEC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis device supports I2C only.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot  - compatible : "realtek,alc5632"
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot  - reg : the I2C address of the device.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot  - gpio-controller : Indicates this device is a GPIO controller.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot  - #gpio-cells : Should be two. The first cell is the pin number and the
14*c66ec88fSEmmanuel Vadot    second cell is used to specify optional parameters (currently unused).
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotPins on the device (for linking into audio routes):
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot  * SPK_OUTP
19*c66ec88fSEmmanuel Vadot  * SPK_OUTN
20*c66ec88fSEmmanuel Vadot  * HP_OUT_L
21*c66ec88fSEmmanuel Vadot  * HP_OUT_R
22*c66ec88fSEmmanuel Vadot  * AUX_OUT_P
23*c66ec88fSEmmanuel Vadot  * AUX_OUT_N
24*c66ec88fSEmmanuel Vadot  * LINE_IN_L
25*c66ec88fSEmmanuel Vadot  * LINE_IN_R
26*c66ec88fSEmmanuel Vadot  * PHONE_P
27*c66ec88fSEmmanuel Vadot  * PHONE_N
28*c66ec88fSEmmanuel Vadot  * MIC1_P
29*c66ec88fSEmmanuel Vadot  * MIC1_N
30*c66ec88fSEmmanuel Vadot  * MIC2_P
31*c66ec88fSEmmanuel Vadot  * MIC2_N
32*c66ec88fSEmmanuel Vadot  * MICBIAS1
33*c66ec88fSEmmanuel Vadot  * DMICDAT
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel VadotExample:
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadotalc5632: alc5632@1e {
38*c66ec88fSEmmanuel Vadot	compatible = "realtek,alc5632";
39*c66ec88fSEmmanuel Vadot	reg = <0x1a>;
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot	gpio-controller;
42*c66ec88fSEmmanuel Vadot	#gpio-cells = <2>;
43*c66ec88fSEmmanuel Vadot};
44