summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/audio-graph.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-09-28 22:41:16 +0300
committerMark Brown <broonie@kernel.org>2023-09-29 10:53:40 +0300
commit967dad97757057dcd72ec27cdb3c14c1774f606c (patch)
treea360b2b33157f369904147b46b697b162474cac1 /Documentation/devicetree/bindings/sound/audio-graph.yaml
parentb5d5c87986d5bfb72320170e76d94eae48635fc1 (diff)
downloadlinux-967dad97757057dcd72ec27cdb3c14c1774f606c.tar.xz
ASoC: dt-bindings: Simplify referencing dai-params.yaml
There's generally no need to use definitions to reference from individual properties. All the property names are the same, and all the defined properties are used by all the users. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/20230928194126.1146622-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/audio-graph.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/audio-graph.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/sound/audio-graph.yaml b/Documentation/devicetree/bindings/sound/audio-graph.yaml
index ed31e04ff6a6..71f52f7e55f6 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph.yaml
@@ -9,6 +9,9 @@ title: Audio Graph
maintainers:
- Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
+allOf:
+ - $ref: /schemas/sound/dai-params.yaml#
+
properties:
dais:
$ref: /schemas/types.yaml#/definitions/phandle-array
@@ -30,12 +33,6 @@ properties:
widget ("Microphone", "Line", "Headphone", "Speaker"), the
second being the machine specific name for the widget.
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
- convert-rate:
- $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
- convert-channels:
- $ref: /schemas/sound/dai-params.yaml#/$defs/dai-channels
- convert-sample-format:
- $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-format
pa-gpios:
maxItems: 1