NAU8822 audio CODEC

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

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

24 bit stereo audio codec with speaker driver. This device supports I2C/SPI.

Maintainers (maintainers): "David Lin <CTLIN0@nuvoton.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nuvoton,nau8822"

reg — required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — not listed as required here #

Exact value (const): 0

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "mclk"

nuvoton,spk-btl — not listed as required here #

If set, configure the two loudspeaker outputs as a Bridge Tied Load output to drive a high power external loudspeaker.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

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 = "nuvoton,nau8822";
        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