xref: /linux/Documentation/devicetree/bindings/sound/realtek,alc5632.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1*0b57a2d8SSaalim Quadri# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*0b57a2d8SSaalim Quadri%YAML 1.2
3*0b57a2d8SSaalim Quadri---
4*0b57a2d8SSaalim Quadri$id: http://devicetree.org/schemas/sound/realtek,alc5632.yaml#
5*0b57a2d8SSaalim Quadri$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0b57a2d8SSaalim Quadri
7*0b57a2d8SSaalim Quadrititle: ALC5632 audio CODEC
8*0b57a2d8SSaalim Quadri
9*0b57a2d8SSaalim Quadridescription: |
10*0b57a2d8SSaalim Quadri  Pins on the device (for linking into audio routes):
11*0b57a2d8SSaalim Quadri      * SPK_OUTP
12*0b57a2d8SSaalim Quadri      * SPK_OUTN
13*0b57a2d8SSaalim Quadri      * HP_OUT_L
14*0b57a2d8SSaalim Quadri      * HP_OUT_R
15*0b57a2d8SSaalim Quadri      * AUX_OUT_P
16*0b57a2d8SSaalim Quadri      * AUX_OUT_N
17*0b57a2d8SSaalim Quadri      * LINE_IN_L
18*0b57a2d8SSaalim Quadri      * LINE_IN_R
19*0b57a2d8SSaalim Quadri      * PHONE_P
20*0b57a2d8SSaalim Quadri      * PHONE_N
21*0b57a2d8SSaalim Quadri      * MIC1_P
22*0b57a2d8SSaalim Quadri      * MIC1_N
23*0b57a2d8SSaalim Quadri      * MIC2_P
24*0b57a2d8SSaalim Quadri      * MIC2_N
25*0b57a2d8SSaalim Quadri      * MICBIAS1
26*0b57a2d8SSaalim Quadri      * DMICDAT
27*0b57a2d8SSaalim Quadri
28*0b57a2d8SSaalim Quadrimaintainers:
29*0b57a2d8SSaalim Quadri  - Leon Romanovsky <leon@leon.nu>
30*0b57a2d8SSaalim Quadri
31*0b57a2d8SSaalim Quadriproperties:
32*0b57a2d8SSaalim Quadri  compatible:
33*0b57a2d8SSaalim Quadri    const: realtek,alc5632
34*0b57a2d8SSaalim Quadri
35*0b57a2d8SSaalim Quadri  reg:
36*0b57a2d8SSaalim Quadri    maxItems: 1
37*0b57a2d8SSaalim Quadri
38*0b57a2d8SSaalim Quadri  '#gpio-cells':
39*0b57a2d8SSaalim Quadri    const: 2
40*0b57a2d8SSaalim Quadri
41*0b57a2d8SSaalim Quadri  gpio-controller: true
42*0b57a2d8SSaalim Quadri
43*0b57a2d8SSaalim Quadrirequired:
44*0b57a2d8SSaalim Quadri  - compatible
45*0b57a2d8SSaalim Quadri  - reg
46*0b57a2d8SSaalim Quadri  - '#gpio-cells'
47*0b57a2d8SSaalim Quadri  - gpio-controller
48*0b57a2d8SSaalim Quadri
49*0b57a2d8SSaalim QuadriadditionalProperties: false
50*0b57a2d8SSaalim Quadri
51*0b57a2d8SSaalim Quadriexamples:
52*0b57a2d8SSaalim Quadri  - |
53*0b57a2d8SSaalim Quadri    #include <dt-bindings/gpio/gpio.h>
54*0b57a2d8SSaalim Quadri    i2c {
55*0b57a2d8SSaalim Quadri        #address-cells = <1>;
56*0b57a2d8SSaalim Quadri        #size-cells = <0>;
57*0b57a2d8SSaalim Quadri        codec@1a {
58*0b57a2d8SSaalim Quadri            compatible = "realtek,alc5632";
59*0b57a2d8SSaalim Quadri            reg = <0x1a>;
60*0b57a2d8SSaalim Quadri            gpio-controller;
61*0b57a2d8SSaalim Quadri            #gpio-cells = <2>;
62*0b57a2d8SSaalim Quadri        };
63*0b57a2d8SSaalim Quadri    };
64