Maxim Integrated MAX9867 CODEC

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

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

This device supports I2C only.
Pins on the device (for linking into audio routes):
    * LOUT
    * ROUT
    * LINL
    * LINR
    * MICL
    * MICR
    * DMICL
    * DMICR

Maintainers (maintainers): "Ladislav Michl <ladis@linux-mips.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max9867"

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

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

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@18 {
        compatible = "maxim,max9867";
        #sound-dai-cells = <0>;
        reg = <0x18>;
        clocks = <&codec_clk>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page