[PATCH 2/2] ASoC: dt-bindings: simple-card: Document new DAI flags playback-only/capture-only

From: Daniel Baluta
Date: Tue Aug 01 2023 - 04:25:08 EST


From: Daniel Baluta <daniel.baluta@xxxxxxx>

Document new playback-only and capture-only flags which can be used when
dai link can only support just one direction: playback or capture but
not both.

Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
---
Documentation/devicetree/bindings/sound/simple-card.yaml | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml
index 59ac2d1d1ccf..1bf331f095a4 100644
--- a/Documentation/devicetree/bindings/sound/simple-card.yaml
+++ b/Documentation/devicetree/bindings/sound/simple-card.yaml
@@ -27,6 +27,14 @@ definitions:
description: dai-link uses bit clock inversion
$ref: /schemas/types.yaml#/definitions/flag

+ playback-only:
+ description: dai-link is used only for playback
+ $ref: /schemas/types.yaml#/definitions/flag
+
+ capture-only:
+ description: dai-link is used only for capture
+ $ref: /schemas/types.yaml#/definitions/flag
+
dai-tdm-slot-num:
description: see tdm-slot.txt.
$ref: /schemas/types.yaml#/definitions/uint32
--
2.25.1