Everest ES8311, ES8316 and ES8323 audio CODECs

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

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

Maintainers (maintainers): "Daniel Drake <drake@endlessm.com>", "Katsuhiro Suzuki <katsuhiro@katsuster.net>", "Matteo Martelli <matteomartelli3@gmail.com>", "Binbin Zhou <zhoubinbin@loongson.cn>"

Everest ES8311, ES8316 and ES8323 audio CODECs

Pins on the device (for linking into audio routes):

  Outputs:
    * LOUT:     Left Analog Output
    * ROUT:     Right Analog Output
    * MICBIAS:  Microphone Bias
  Inputs:
    * MIC1P:    Microphone 1 Positive Analog Input
    * MIC1N:    Microphone 1 Negative Analog Input
    * MIC2P:    Microphone 2 Positive Analog Input
    * MIC2N:    Microphone 2 Negative Analog Input

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): "everest,es8311", "everest,es8316", "everest,es8323"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

clock for master clock (MCLK)

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mclk"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Headphone detect interrupt

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.

#sound-dai-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  es8316: codec@11 {
    compatible = "everest,es8316";
    reg = <0x11>;
    clocks = <&clks 10>;
    clock-names = "mclk";
    #sound-dai-cells = <0>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page