Merge branch 'for-5.15-printk-index' into for-linus
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / amlogic,g12a-toacodec.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,g12a-toacodec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Amlogic G12a Internal DAC Control Glue
8
9 maintainers:
10   - Jerome Brunet <jbrunet@baylibre.com>
11
12 properties:
13   $nodename:
14     pattern: "^audio-controller@.*"
15
16   "#sound-dai-cells":
17     const: 1
18
19   compatible:
20     oneOf:
21       - items:
22           - const: amlogic,g12a-toacodec
23       - items:
24           - enum:
25               - amlogic,sm1-toacodec
26           - const: amlogic,g12a-toacodec
27
28   reg:
29     maxItems: 1
30
31   resets:
32     maxItems: 1
33
34 required:
35   - "#sound-dai-cells"
36   - compatible
37   - reg
38   - resets
39
40 additionalProperties: false
41
42 examples:
43   - |
44     #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h>
45
46     toacodec: audio-controller@740 {
47         compatible = "amlogic,g12a-toacodec";
48         reg = <0x740 0x4>;
49         #sound-dai-cells = <1>;
50         resets = <&clkc_audio AUD_RESET_TOACODEC>;
51     };