Debian Codegraph @

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

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/sophgo,cv1800b-codecs.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Sophgo CV1800B Internal ADC/DAC Codec
8
9 maintainers:
10 - Anton D. Stavinskii <[email protected]>
11
12 description:
13 Internal ADC and DAC audio codecs integrated in the Sophgo CV1800B SoC.
14 Codecs expose a single DAI and are intended to be connected
15 to an I2S/TDM controller via an ASoC machine driver.
16
17 allOf:
18 - $ref: dai-common.yaml#
19
20 properties:
21 compatible:
22 enum:
23 - sophgo,cv1800b-sound-adc
24 - sophgo,cv1800b-sound-dac
25
26 reg:
27 maxItems: 1
28
29 "#sound-dai-cells":
30 const: 0
31
32 required:
33 - compatible
34 - reg
35 - "#sound-dai-cells"
36
37 unevaluatedProperties: false
38
39 examples:
40 - |
41 audio-codec@300a100 {
42 compatible = "sophgo,cv1800b-sound-adc";
43 reg = <0x0300a100 0x100>;
44 #sound-dai-cells = <0>;
45 };
46 ...