| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/socionext,uniphier-evea.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: UniPhier EVEA SoC-internal sound codec |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: dai-common.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: socionext,uniphier-evea |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
clock-names: |
| 23 |
items: |
| 24 |
- const: evea |
| 25 |
- const: exiv |
| 26 |
|
| 27 |
clocks: |
| 28 |
minItems: 2 |
| 29 |
maxItems: 2 |
| 30 |
|
| 31 |
reset-names: |
| 32 |
items: |
| 33 |
- const: evea |
| 34 |
- const: exiv |
| 35 |
- const: adamv |
| 36 |
|
| 37 |
resets: |
| 38 |
minItems: 3 |
| 39 |
maxItems: 3 |
| 40 |
|
| 41 |
"#sound-dai-cells": |
| 42 |
const: 1 |
| 43 |
|
| 44 |
patternProperties: |
| 45 |
"^port@[0-9]$": |
| 46 |
description: | |
| 47 |
Port number of DT node is specified by the following DAI channels. |
| 48 |
0: line1 |
| 49 |
1: hp |
| 50 |
2: line2 |
| 51 |
$ref: audio-graph-port.yaml# |
| 52 |
unevaluatedProperties: false |
| 53 |
|
| 54 |
unevaluatedProperties: false |
| 55 |
|
| 56 |
required: |
| 57 |
- compatible |
| 58 |
- reg |
| 59 |
- clock-names |
| 60 |
- clocks |
| 61 |
- reset-names |
| 62 |
- resets |
| 63 |
- "#sound-dai-cells" |
| 64 |
|
| 65 |
examples: |
| 66 |
- | |
| 67 |
codec@57900000 { |
| 68 |
compatible = "socionext,uniphier-evea"; |
| 69 |
reg = <0x57900000 0x1000>; |
| 70 |
clock-names = "evea", "exiv"; |
| 71 |
clocks = <&sys_clk 41>, <&sys_clk 42>; |
| 72 |
reset-names = "evea", "exiv", "adamv"; |
| 73 |
resets = <&sys_rst 41>, <&sys_rst 42>, <&adamv_rst 0>; |
| 74 |
#sound-dai-cells = <1>; |
| 75 |
}; |