[PATCH 0/3] ASoC: renesas: fsi: Fix system hang by adding SPU clock

phucduc.bui@gmail.com posted 3 patches 2 months, 2 weeks ago
There is a newer version of this series
.../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(-)
[PATCH 0/3] ASoC: renesas: fsi: Fix system hang by adding SPU clock
Posted by phucduc.bui@gmail.com 2 months, 2 weeks ago
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