xref: /freebsd/sys/contrib/device-tree/Bindings/sound/socionext,uniphier-evea.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: UniPhier EVEA SoC-internal sound codec
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - <alsa-devel@alsa-project.org>
11c66ec88fSEmmanuel Vadot
12*8bab661aSEmmanuel VadotallOf:
13*8bab661aSEmmanuel Vadot  - $ref: dai-common.yaml#
14*8bab661aSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    const: socionext,uniphier-evea
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  reg:
20c66ec88fSEmmanuel Vadot    maxItems: 1
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  clock-names:
23c66ec88fSEmmanuel Vadot    items:
24c66ec88fSEmmanuel Vadot      - const: evea
25c66ec88fSEmmanuel Vadot      - const: exiv
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    minItems: 2
29c66ec88fSEmmanuel Vadot    maxItems: 2
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  reset-names:
32c66ec88fSEmmanuel Vadot    items:
33c66ec88fSEmmanuel Vadot      - const: evea
34c66ec88fSEmmanuel Vadot      - const: exiv
35c66ec88fSEmmanuel Vadot      - const: adamv
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  resets:
38c66ec88fSEmmanuel Vadot    minItems: 3
39c66ec88fSEmmanuel Vadot    maxItems: 3
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot  "#sound-dai-cells":
42c66ec88fSEmmanuel Vadot    const: 1
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel VadotpatternProperties:
45c66ec88fSEmmanuel Vadot  "^port@[0-9]$":
468cc087a1SEmmanuel Vadot    description: |
478cc087a1SEmmanuel Vadot      Port number of DT node is specified by the following DAI channels.
488cc087a1SEmmanuel Vadot        0: line1
498cc087a1SEmmanuel Vadot        1: hp
508cc087a1SEmmanuel Vadot        2: line2
512eb4d8dcSEmmanuel Vadot    $ref: audio-graph-port.yaml#
522eb4d8dcSEmmanuel Vadot    unevaluatedProperties: false
53c66ec88fSEmmanuel Vadot
54*8bab661aSEmmanuel VadotunevaluatedProperties: false
55c66ec88fSEmmanuel Vadot
56c66ec88fSEmmanuel Vadotrequired:
57c66ec88fSEmmanuel Vadot  - compatible
58c66ec88fSEmmanuel Vadot  - reg
59c66ec88fSEmmanuel Vadot  - clock-names
60c66ec88fSEmmanuel Vadot  - clocks
61c66ec88fSEmmanuel Vadot  - reset-names
62c66ec88fSEmmanuel Vadot  - resets
63c66ec88fSEmmanuel Vadot  - "#sound-dai-cells"
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadotexamples:
66c66ec88fSEmmanuel Vadot  - |
67c66ec88fSEmmanuel Vadot    codec@57900000 {
68c66ec88fSEmmanuel Vadot        compatible = "socionext,uniphier-evea";
69c66ec88fSEmmanuel Vadot        reg = <0x57900000 0x1000>;
70c66ec88fSEmmanuel Vadot        clock-names = "evea", "exiv";
71c66ec88fSEmmanuel Vadot        clocks = <&sys_clk 41>, <&sys_clk 42>;
72c66ec88fSEmmanuel Vadot        reset-names = "evea", "exiv", "adamv";
73c66ec88fSEmmanuel Vadot        resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>;
74c66ec88fSEmmanuel Vadot        #sound-dai-cells = <1>;
75c66ec88fSEmmanuel Vadot    };
76