[PATCH v1 2/2] dt-bindings: ASoC: simple-card: Add system-clock-id property

From: Aidan MacDonald
Date: Sat Oct 22 2022 - 12:28:15 EST


This is a new per-DAI property used to specify the clock ID argument
to snd_soc_dai_set_sysclk().

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@xxxxxxxxx>
---
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 ed19899bc94b..cb7774e235d0 100644
--- a/Documentation/devicetree/bindings/sound/simple-card.yaml
+++ b/Documentation/devicetree/bindings/sound/simple-card.yaml
@@ -57,6 +57,12 @@ definitions:
single fixed sampling rate.
$ref: /schemas/types.yaml#/definitions/flag

+ system-clock-id:
+ description: |
+ Specify the clock ID used for setting the DAI system clock.
+ Defaults to 0 if unspecified.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
mclk-fs:
description: |
Multiplication factor between stream rate and codec mclk.
@@ -145,6 +151,8 @@ definitions:
$ref: "#/definitions/system-clock-direction-out"
system-clock-fixed:
$ref: "#/definitions/system-clock-fixed"
+ system-clock-id:
+ $ref: "#/definitions/system-clock-id"
required:
- sound-dai

--
2.38.1