linux-next/sound/soc/renesas
Claudiu Beznea 1fc778f7c8
ASoC: renesas: rz-ssi: Add suspend to RAM support
The SSIF-2 IP is available on the Renesas RZ/G3S SoC. The Renesas RZ/G3S
SoC supports a power-saving mode where power to most of the SoC
components is turned off. Add suspend/resume support to the SSIF-2 driver
to support this power-saving mode.

On SNDRV_PCM_TRIGGER_SUSPEND trigger the SSI is stopped (the stream
user pointer is left untouched to avoid breaking user space and the dma
buffer pointer is set to zero), on SNDRV_PCM_TRIGGER_RESUME software reset
is issued for the SSIF-2 IP and the clocks are re-configured.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20241210170953.2936724-18-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-12-11 13:24:07 +00:00
..
rcar ASoC: sh: switch to use rtd->id from rtd->num 2024-11-01 14:48:12 +00:00
dma-sh7760.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
fsi.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
hac.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
Kconfig ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
Makefile ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
migor.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
rz-ssi.c ASoC: renesas: rz-ssi: Add suspend to RAM support 2024-12-11 13:24:07 +00:00
sh7760-ac97.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
siu_dai.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
siu_pcm.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
siu.h ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00
ssi.c ASoC: Rename "sh" to "renesas" 2024-10-30 13:15:31 +00:00