lkml.org 
[lkml]   [2022]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1 2/2] dt-bindings: ASoC: simple-card: Add system-clock-id property
Date
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@gmail.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
\
 
 \ /
  Last update: 2022-10-22 18:29    [W:0.119 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site