ALC5631/RT5631 audio CODEC

Schema identifier ($id): "http://devicetree.org/schemas/sound/realtek,rt5631.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

This device supports I2C only.

Pins on the device (for linking into audio routes):
    * SPK_OUT_R_P
    * SPK_OUT_R_N
    * SPK_OUT_L_P
    * SPK_OUT_L_N
    * HP_OUT_L
    * HP_OUT_R
    * AUX_OUT2_LP
    * AUX_OUT2_RN
    * AUX_OUT1_LP
    * AUX_OUT1_RN
    * AUX_IN_L_JD
    * AUX_IN_R_JD
    * MONO_IN_P
    * MONO_IN_N
    * MIC1_P
    * MIC1_N
    * MIC2_P
    * MIC2_N
    * MONO_OUT_P
    * MONO_OUT_N
    * MICBIAS1
    * MICBIAS2

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "realtek,alc5631", "realtek,rt5631"

reg — required here #

Maximum number of items (maxItems): 1

port — not listed as required here #

Shared schema rule ($ref): audio-graph-port.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    codec@1a {
        compatible = "realtek,alc5631";
        reg = <0x1a>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page