Thread (5 messages) 5 messages, 4 authors, 2026-02-24

Re: [PATCH v2] bus: imx-aipstz: set default value for opacr registers

From: Daniel Baluta <hidden>
Date: 2026-01-26 14:44:56
Also in: imx, lkml

On 1/26/26 11:11, Shengjiu Wang wrote:
The sdma script app_2_mcu needs the permission to access the peripheral
devices:

1) SDMA2 transactions are set to user-mode in this particular case.
2) This type of script doesn't use the peripheral interface (connected
directly to SPBA), but it uses the peripheral DMA interface, then the
SDMA2-issued transactions are subjected to AIPSTZ5's security-related
checks.

So need to clear the Supervisor Protect bit of SPBA2, otherwise the sdma
script can't work. As the imx-aipstz is a common driver for all aips bus,
so set default value (zero) for all opacr registers.

Signed-off-by: Shengjiu Wang <redacted>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help