Documentation / devicetree / bindings / sound / sophgo,cv1800b-codecs.yaml


Based on kernel version 7.0. Page generated on 2026-04-23 09:49 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/sophgo,cv1800b-codecs.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sophgo CV1800B Internal ADC/DAC Codec

maintainers:
  - Anton D. Stavinskii <stavinsky@gmail.com>

description:
  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.

allOf:
  - $ref: dai-common.yaml#

properties:
  compatible:
    enum:
      - sophgo,cv1800b-sound-adc
      - sophgo,cv1800b-sound-dac

  reg:
    maxItems: 1
 
  "#sound-dai-cells":
    const: 0

required:
  - compatible
  - reg
  - "#sound-dai-cells"

unevaluatedProperties: false

examples:
  - |
    audio-codec@300a100 {
      compatible = "sophgo,cv1800b-sound-adc";
      reg = <0x0300a100 0x100>;
      #sound-dai-cells = <0>;
    };
...