[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221022162742.21671-2-aidanmacdonald.0x0@gmail.com>
Date: Sat, 22 Oct 2022 17:27:42 +0100
From: Aidan MacDonald <aidanmacdonald.0x0@...il.com>
To: broonie@...nel.org, lgirdwood@...il.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, kuninori.morimoto.gx@...esas.com
Cc: perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v1 2/2] dt-bindings: ASoC: simple-card: Add system-clock-id property
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@...il.com>
---
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
Powered by blists - more mailing lists