Commit ec1c8302 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

ASoC: dt-bindings: Use OF graph schema

Now that we have an OF graph schema, let's use it for the
audio-graph-port schema.

Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: alsa-devel@alsa-project.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210331142748.2163272-3-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9c1e0439
...@@ -11,9 +11,10 @@ maintainers: ...@@ -11,9 +11,10 @@ maintainers:
select: false select: false
allOf:
- $ref: /schemas/graph.yaml#/$defs/port-base
properties: properties:
reg:
maxItems: 1
prefix: prefix:
description: "device name prefix" description: "device name prefix"
$ref: /schemas/types.yaml#/definitions/string $ref: /schemas/types.yaml#/definitions/string
...@@ -25,10 +26,8 @@ properties: ...@@ -25,10 +26,8 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
patternProperties: patternProperties:
"^endpoint(@[0-9a-f]+)?": "^endpoint(@[0-9a-f]+)?":
type: object $ref: /schemas/graph.yaml#/$defs/endpoint-base
properties: properties:
remote-endpoint:
maxItems: 1
mclk-fs: mclk-fs:
description: | description: |
Multiplication factor between stream rate and codec mclk. Multiplication factor between stream rate and codec mclk.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment