summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-03-31 17:27:47 +0300
committerMark Brown <broonie@kernel.org>2021-03-31 20:01:30 +0300
commitec1c8302178a946986bb7b52ac7bb9ccdcdf7d92 (patch)
tree2e1e98187896e17d81e4c31903f95c0a344238d1 /Documentation/devicetree/bindings/sound/audio-graph-port.yaml
parent9c1e0439ada9973ec99cc1e0887eb84fd26444b8 (diff)
downloadlinux-ec1c8302178a946986bb7b52ac7bb9ccdcdf7d92.tar.xz
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: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210331142748.2163272-3-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/audio-graph-port.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/audio-graph-port.yaml9
1 files changed, 4 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
index 9f68142c9ae3..43e7f86e3b23 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml
@@ -11,9 +11,10 @@ maintainers:
select: false
+allOf:
+ - $ref: /schemas/graph.yaml#/$defs/port-base
+
properties:
- reg:
- maxItems: 1
prefix:
description: "device name prefix"
$ref: /schemas/types.yaml#/definitions/string
@@ -25,10 +26,8 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
patternProperties:
"^endpoint(@[0-9a-f]+)?":
- type: object
+ $ref: /schemas/graph.yaml#/$defs/endpoint-base
properties:
- remote-endpoint:
- maxItems: 1
mclk-fs:
description: |
Multiplication factor between stream rate and codec mclk.