public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: renesas: fsi: Fix system hang by adding SPU clock
@ 2026-04-03 11:26 phucduc.bui
  2026-04-03 11:26 ` [PATCH 1/3] dt-bindings: sound: renesas,fsi: Add support for multiple clocks phucduc.bui
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: phucduc.bui @ 2026-04-03 11:26 UTC (permalink / raw)
  To: kuninori.morimoto.gx, broonie
  Cc: lgirdwood, robh, krzk+dt, conor+dt, geert+renesas, magnus.damm,
	perex, tiwai, linux-sound, linux-renesas-soc, devicetree,
	linux-kernel, bui duc phuc

From: bui duc phuc <phucduc.bui@gmail.com>

Hi all,

The FSI on r8a7740 requires the SPU clock to be enabled
before accessing its internal registers. Without this clock,
register access may lead to a system hang, even when the FSI
functional clock itself is properly enabled.

This series adds support for the SPU clock and updates the
bindings to allow multiple clocks. The driver retrieves the
SPU clock and enables it during DAI startup, then disables
it on shutdown to match the audio stream lifecycle.

The binding is also extended to support additional clocks,
as FSIB may require more clock inputs, while FSIA typically
uses fewer.

This has been tested on r8a7740 (Armadillo800eva) and fixes
system hangs observed during audio playback.

Patch overview:
 [1/3] dt-bindings: sound: renesas,fsi: Add support for multiple clocks
 [2/3] arm: dts: renesas: r8a7740-armadillo800eva: Add spu clock to FSI
 [3/3] ASoC: renesas: fsi: Fix hang by enabling SPU clock

Thanks,
Phuc

bui duc phuc (3):
  dt-bindings: sound: renesas,fsi: Add support for multiple clocks
  arm: dts: renesas: r8a7740-armadillo800eva: Add spu clock to FSI
  ASoC: renesas: fsi: Fix hang by enabling SPU clock

 .../devicetree/bindings/sound/renesas,fsi.yaml     | 12 ++++++++++--
 arch/arm/boot/dts/renesas/r8a7740.dtsi             |  3 ++-
 sound/soc/renesas/fsi.c                            | 14 ++++++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-06 13:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 11:26 [PATCH 0/3] ASoC: renesas: fsi: Fix system hang by adding SPU clock phucduc.bui
2026-04-03 11:26 ` [PATCH 1/3] dt-bindings: sound: renesas,fsi: Add support for multiple clocks phucduc.bui
2026-04-03 13:50   ` Mark Brown
2026-04-05  7:32   ` Krzysztof Kozlowski
2026-04-06 12:59     ` Bui Duc Phuc
2026-04-03 11:26 ` [PATCH 2/3] arm: dts: renesas: r8a7740-armadillo800eva: Add spu clock to FSI phucduc.bui
2026-04-03 11:26 ` [PATCH 3/3] ASoC: renesas: fsi: Fix hang by enabling SPU clock phucduc.bui
2026-04-03 13:45   ` Mark Brown
2026-04-05 23:52   ` Kuninori Morimoto
2026-04-06 12:32     ` Bui Duc Phuc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox