summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/dai-params.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/dai-params.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/dai-params.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/dai-params.yaml11
1 files changed, 4 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/sound/dai-params.yaml b/Documentation/devicetree/bindings/sound/dai-params.yaml
index f5fb71f9b603..cd8508175564 100644
--- a/Documentation/devicetree/bindings/sound/dai-params.yaml
+++ b/Documentation/devicetree/bindings/sound/dai-params.yaml
@@ -11,15 +11,14 @@ maintainers:
select: false
-$defs:
-
- dai-channels:
+properties:
+ convert-channels:
description: Number of audio channels used by DAI
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 1
maximum: 32
- dai-sample-format:
+ convert-sample-format:
description: Audio sample format used by DAI
$ref: /schemas/types.yaml#/definitions/string
enum:
@@ -29,12 +28,10 @@ $defs:
- s24_3le
- s32_le
- dai-sample-rate:
+ convert-rate:
description: Audio sample rate used by DAI
$ref: /schemas/types.yaml#/definitions/uint32
minimum: 8000
maximum: 192000
-properties: {}
-
additionalProperties: true