Sophgo CV1800B Internal ADC/DAC Codec

Schema identifier ($id): "http://devicetree.org/schemas/sound/sophgo,cv1800b-codecs.yaml#"

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

Maintainers (maintainers): "Anton D. Stavinskii <stavinsky@gmail.com>"

Internal ADC and DAC audio codecs integrated in the Sophgo CV1800B SoC. Codecs expose a single DAI and are intended to be connected to an I2S/TDM controller via an ASoC machine driver.

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): "sophgo,cv1800b-sound-adc", "sophgo,cv1800b-sound-dac"

reg — required here #

Maximum number of items (maxItems): 1

#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) #

audio-codec@300a100 {
  compatible = "sophgo,cv1800b-sound-adc";
  reg = <0x0300a100 0x100>;
  #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