xref: /linux/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
108277cd6SMasahiro Yamada# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
208277cd6SMasahiro Yamada%YAML 1.2
308277cd6SMasahiro Yamada---
408277cd6SMasahiro Yamada$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml#
508277cd6SMasahiro Yamada$schema: http://devicetree.org/meta-schemas/core.yaml#
608277cd6SMasahiro Yamada
708277cd6SMasahiro Yamadatitle: UniPhier EVEA SoC-internal sound codec
808277cd6SMasahiro Yamada
908277cd6SMasahiro Yamadamaintainers:
1008277cd6SMasahiro Yamada  - <alsa-devel@alsa-project.org>
1108277cd6SMasahiro Yamada
12*58ae9a2aSKrzysztof KozlowskiallOf:
13*58ae9a2aSKrzysztof Kozlowski  - $ref: dai-common.yaml#
14*58ae9a2aSKrzysztof Kozlowski
1508277cd6SMasahiro Yamadaproperties:
1608277cd6SMasahiro Yamada  compatible:
1708277cd6SMasahiro Yamada    const: socionext,uniphier-evea
1808277cd6SMasahiro Yamada
1908277cd6SMasahiro Yamada  reg:
2008277cd6SMasahiro Yamada    maxItems: 1
2108277cd6SMasahiro Yamada
2208277cd6SMasahiro Yamada  clock-names:
2308277cd6SMasahiro Yamada    items:
2408277cd6SMasahiro Yamada      - const: evea
2508277cd6SMasahiro Yamada      - const: exiv
2608277cd6SMasahiro Yamada
2708277cd6SMasahiro Yamada  clocks:
2808277cd6SMasahiro Yamada    minItems: 2
2908277cd6SMasahiro Yamada    maxItems: 2
3008277cd6SMasahiro Yamada
3108277cd6SMasahiro Yamada  reset-names:
3208277cd6SMasahiro Yamada    items:
3308277cd6SMasahiro Yamada      - const: evea
3408277cd6SMasahiro Yamada      - const: exiv
3508277cd6SMasahiro Yamada      - const: adamv
3608277cd6SMasahiro Yamada
3708277cd6SMasahiro Yamada  resets:
3808277cd6SMasahiro Yamada    minItems: 3
3908277cd6SMasahiro Yamada    maxItems: 3
4008277cd6SMasahiro Yamada
4108277cd6SMasahiro Yamada  "#sound-dai-cells":
4208277cd6SMasahiro Yamada    const: 1
4308277cd6SMasahiro Yamada
4408277cd6SMasahiro YamadapatternProperties:
4508277cd6SMasahiro Yamada  "^port@[0-9]$":
462a04151fSKunihiko Hayashi    description: |
472a04151fSKunihiko Hayashi      Port number of DT node is specified by the following DAI channels.
482a04151fSKunihiko Hayashi        0: line1
492a04151fSKunihiko Hayashi        1: hp
502a04151fSKunihiko Hayashi        2: line2
51f1321c97SRob Herring    $ref: audio-graph-port.yaml#
52f1321c97SRob Herring    unevaluatedProperties: false
5308277cd6SMasahiro Yamada
54*58ae9a2aSKrzysztof KozlowskiunevaluatedProperties: false
5508277cd6SMasahiro Yamada
5608277cd6SMasahiro Yamadarequired:
5708277cd6SMasahiro Yamada  - compatible
5808277cd6SMasahiro Yamada  - reg
5908277cd6SMasahiro Yamada  - clock-names
6008277cd6SMasahiro Yamada  - clocks
6108277cd6SMasahiro Yamada  - reset-names
6208277cd6SMasahiro Yamada  - resets
6308277cd6SMasahiro Yamada  - "#sound-dai-cells"
6408277cd6SMasahiro Yamada
6508277cd6SMasahiro Yamadaexamples:
6608277cd6SMasahiro Yamada  - |
6708277cd6SMasahiro Yamada    codec@57900000 {
6808277cd6SMasahiro Yamada        compatible = "socionext,uniphier-evea";
6908277cd6SMasahiro Yamada        reg = <0x57900000 0x1000>;
7008277cd6SMasahiro Yamada        clock-names = "evea", "exiv";
7108277cd6SMasahiro Yamada        clocks = <&sys_clk 41>, <&sys_clk 42>;
7208277cd6SMasahiro Yamada        reset-names = "evea", "exiv", "adamv";
7308277cd6SMasahiro Yamada        resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>;
7408277cd6SMasahiro Yamada        #sound-dai-cells = <1>;
7508277cd6SMasahiro Yamada    };
76