blob: b4b78475c5b8c3796925fbc806374e7574c65b27 [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/amlogic,g12a-tohdmitx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic G12a HDMI TX Control Glue
8
9maintainers:
10 - Jerome Brunet <jbrunet@baylibre.com>
11
12allOf:
13 - $ref: dai-common.yaml#
14
15properties:
16 $nodename:
17 pattern: "^audio-controller@.*"
18
19 compatible:
20 oneOf:
21 - items:
22 - const: amlogic,g12a-tohdmitx
23 - items:
24 - enum:
25 - amlogic,sm1-tohdmitx
26 - const: amlogic,g12a-tohdmitx
27
28 reg:
29 maxItems: 1
30
31 resets:
32 maxItems: 1
33
34 "#sound-dai-cells":
35 const: 1
36
37required:
38 - compatible
39 - reg
40 - resets
41 - "#sound-dai-cells"
42
43unevaluatedProperties: false
44
45examples:
46 - |
47 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h>
48
49 tohdmitx: audio-controller@744 {
50 compatible = "amlogic,g12a-tohdmitx";
51 reg = <0x744 0x4>;
52 resets = <&clkc_audio AUD_RESET_TOHDMITX>;
53 #sound-dai-cells = <1>;
54 };