mirror-linux/include/linux/firmware
Stefan Binding 73942a6ea2 firmware: cs_dsp: Add API to hibernate the DSP
For some parts, the DSP is kept running when in low power mode
(hibernation), leaving the firmware ALSA controls enabled, but the
registers are inaccessible. Attempts to access volatile firmware
controls whilst in this state would produce errors in the kernel log
due to a regmap_raw_read() into DSP registers whilst the regmap is in
cache_only.

To remove this error log, add a hibernating flag to indicate that the
controls are inaccessible, so we no longer try to read or write to the
registers whilst the regmap is in cache_only.

This would still produce an error when trying to read or write to these
controls, but this would be a different error (-EPERM instead of
-EBUSY), and would not produce a spurious error log in the kernel.

Upon wake from hibernation, the control caches are re-synced to the
hardware, if the DSP is running.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://patch.msgid.link/20260224161821.93365-2-sbinding@opensource.cirrus.com
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-01 23:48:37 +00:00
..
broadcom
cirrus firmware: cs_dsp: Add API to hibernate the DSP 2026-03-01 23:48:37 +00:00
imx ASoC: fsl_sai: Add AUDMIX mode support on i.MX952 2026-01-26 12:09:19 +00:00
intel firmware: stratix10-svc: fix make htmldocs warning 2025-11-24 17:49:12 +01:00
mediatek
meson
qcom firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to get resource table 2026-01-13 12:14:34 -06:00
samsung firmware: exynos-acpm: add empty method to allow compile test 2025-10-22 07:49:38 +02:00
thead
trusted_foundations.h
xlnx-event-manager.h
xlnx-zynqmp-crypto.h firmware: xilinx: Add firmware API's to support aes-gcm in Versal device 2026-01-23 13:48:43 +08:00
xlnx-zynqmp-ufs.h scsi: firmware: xilinx: Add APIs for UFS PHY initialization 2025-10-29 23:00:48 -04:00
xlnx-zynqmp.h firmware: zynqmp: Move crypto API's to separate file 2026-01-23 13:48:43 +08:00