Skip to content

Commit c4e5285

Browse files
eurofunlgirdwood
authored andcommitted
logger: add how to disable fw suspend for imx8mp
Firmware suspension can be undesirable when using sof-logger, thus added how to prevent it on imx8mp. Likely can be generalized to other imx SOCs without much effort. Signed-off-by: Alexander Boehm <[email protected]>
1 parent 98db4c4 commit c4e5285

File tree

1 file changed

+9
-7
lines changed
  • developer_guides/debugability/logger

1 file changed

+9
-7
lines changed

developer_guides/debugability/logger/index.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,21 +228,23 @@ Disabling DSP power gating
228228

229229
After a firmware reset (such as after power gating in suspend mode) custom filter settings will be lost.
230230
Thus consider disabling power gating during your debug session. The way this is done is slightly different on every platform,
231-
Consider disabling power gating during your debug session by entering the following:
231+
two examples follow:
232232

233-
.. code:: bash
233+
1. Intel PCI based:
234+
235+
.. code-block:: bash
234236
235237
sudo su
236238
echo on >/sys/devices/pci0000\:00/0000\:$(lspci -nn | grep "audio contoller" | awk '{print $1;}')/power/control
237239
238-
.. note::
239-
The current device power status can be read by entering this command:
240-
241-
.. code:: bash
240+
2. NXP imx8mp:
242241

243-
cat /sys/devices/pci0000\:00/0000\:$(lspci -nn | grep "audio controller" | awk '{print $1;}')/power/runtime_status
242+
.. code-block:: bash
244243
244+
sudo su
245+
echo on>/sys/class/devlink/platform:power-domains:audiomix-pd--platform:3b6e8000.dsp/consumer/power/control
245246
247+
To re-enable automatic suspend use ``echo auto``, the current status can be read from the runtime_status file in these sysfs directories.
246248

247249
Trace filtering details
248250
-----------------------

0 commit comments

Comments
 (0)