[PATCH v3 06/10] ASoC: renesas: fsi: Add shared SPU clock support

From: phucduc . bui

Date: Sun May 10 2026 - 04:47:15 EST


From: bui duc phuc <phucduc.bui@xxxxxxxxx>

Add SPU clock pointer and reference count for shared FSIA/FSIB usage,
and initialize it in fsi_probe().

Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
---
sound/soc/renesas/fsi.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/sound/soc/renesas/fsi.c b/sound/soc/renesas/fsi.c
index 06ec5709216b..55a11f1fe8aa 100644
--- a/sound/soc/renesas/fsi.c
+++ b/sound/soc/renesas/fsi.c
@@ -295,7 +295,9 @@ struct fsi_master {
void __iomem *base;
struct fsi_priv fsia;
struct fsi_priv fsib;
+ struct clk *clk_spu;
const struct fsi_core *core;
+ int spu_count;
spinlock_t lock;
};

@@ -1984,6 +1986,7 @@ static int fsi_probe(struct platform_device *pdev)

/* master setting */
master->core = core;
+ master->spu_count = 0;
spin_lock_init(&master->lock);

/* FSI A setting */
--
2.43.0