xref: /freebsd/sys/contrib/device-tree/Bindings/sound/amlogic,t9015.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/amlogic,t9015.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Amlogic T9015 Internal Audio DAC
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Jerome Brunet <jbrunet@baylibre.com>
11c66ec88fSEmmanuel Vadot
12e67e8565SEmmanuel VadotallOf:
13*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
14e67e8565SEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  $nodename:
17c66ec88fSEmmanuel Vadot    pattern: "^audio-controller@.*"
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  "#sound-dai-cells":
20c66ec88fSEmmanuel Vadot    const: 0
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  compatible:
23c66ec88fSEmmanuel Vadot    items:
24c66ec88fSEmmanuel Vadot      - const: amlogic,t9015
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  clocks:
27c66ec88fSEmmanuel Vadot    items:
28c66ec88fSEmmanuel Vadot      - description: Peripheral clock
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  clock-names:
31c66ec88fSEmmanuel Vadot    items:
32c66ec88fSEmmanuel Vadot      - const: pclk
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadot  reg:
35c66ec88fSEmmanuel Vadot    maxItems: 1
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  resets:
38c66ec88fSEmmanuel Vadot    maxItems: 1
39c66ec88fSEmmanuel Vadot
408cc087a1SEmmanuel Vadot  AVDD-supply:
418cc087a1SEmmanuel Vadot    description:
428cc087a1SEmmanuel Vadot      Analogue power supply.
438cc087a1SEmmanuel Vadot
44e67e8565SEmmanuel Vadot  sound-name-prefix: true
45e67e8565SEmmanuel Vadot
46c66ec88fSEmmanuel Vadotrequired:
47c66ec88fSEmmanuel Vadot  - "#sound-dai-cells"
48c66ec88fSEmmanuel Vadot  - compatible
49c66ec88fSEmmanuel Vadot  - reg
50c66ec88fSEmmanuel Vadot  - clocks
51c66ec88fSEmmanuel Vadot  - clock-names
52c66ec88fSEmmanuel Vadot  - resets
538cc087a1SEmmanuel Vadot  - AVDD-supply
54c66ec88fSEmmanuel Vadot
556be33864SEmmanuel VadotadditionalProperties: false
566be33864SEmmanuel Vadot
57c66ec88fSEmmanuel Vadotexamples:
58c66ec88fSEmmanuel Vadot  - |
59c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/g12a-clkc.h>
60c66ec88fSEmmanuel Vadot    #include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
61c66ec88fSEmmanuel Vadot
62c66ec88fSEmmanuel Vadot    acodec: audio-controller@32000 {
63c66ec88fSEmmanuel Vadot        compatible = "amlogic,t9015";
64c66ec88fSEmmanuel Vadot        reg = <0x32000 0x14>;
65c66ec88fSEmmanuel Vadot        #sound-dai-cells = <0>;
66c66ec88fSEmmanuel Vadot        clocks = <&clkc CLKID_AUDIO_CODEC>;
67c66ec88fSEmmanuel Vadot        clock-names = "pclk";
68c66ec88fSEmmanuel Vadot        resets = <&reset RESET_AUDIO_CODEC>;
698cc087a1SEmmanuel Vadot        AVDD-supply = <&vddao_1v8>;
70c66ec88fSEmmanuel Vadot    };
71