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