Re: [PATCH v2 0/2] ASoC: simple-card-utils: support system-clock-id DT property
From: Andreas Kemnade
Date: Sun Jun 07 2026 - 10:39:16 EST
Hi,
On Fri, 15 May 2026 11:13:56 -0500
Sen Wang <sen@xxxxxx> wrote:
> Adding an optional, u32 system-clock-id DT property into the generic machine
> driver so clocking topology info can be exposed in DT.
>
while having this binding would solve some of my problem. I am wondering
whether is the right approach. What about modelling the clocks involved
using the clk framework, so let some more codecs/dais be clock provider.
So things can be configured that way.
E.g. tlv320aic32x4-clk.c
Same for set_div() which is also unavailable in these generic cards.
Regards,
Andreas
> Sen Wang (2):
> dt-bindings: sound: simple-card: add system-clock-id property
> ASoC: simple-card-utils: support system-clock-id DT property
>
> Documentation/devicetree/bindings/sound/audio-graph-port.yaml | 2 +
> Documentation/devicetree/bindings/sound/simple-card.yaml | 10 +++++++
> include/sound/simple_card_utils.h | 1 +
> sound/soc/generic/simple-card-utils.c | 13 +++++----
> 4 files changed, 21 insertions(+), 5 deletions(-)
>
> ---
> base-commit: f5ffe03e0678 (linux-next)