spi: spi-msm-geni: Add lock/unlock tre support in SPI GSI mode
Add lock/unlock TRE support in SPI GSI mode for following cases.
Shared_ se is a multi-ee usecase where two Excecution Environments
simultaneously access an SE, the locking support here is enabled per
message i.e. gpii lock is taken in prepare_message api and gpii unlock
is done in unprepare_message api.
LE_VM usecase is the TUI usecase over spi where an SE is accessed between
LA and LE, here locking mechanism is provided per session i.e. gpii
lock is taken in pm_runtime_get_sync call and gpii unlock is done in
pm_runtime_put_sync call called by the client in LE.
Change-Id: I3f735aa5f7f98b13fccd49ebe8d83dcce5ca9b71
Signed-off-by:
Vipin Deep Kaur <vkaur@codeaurora.org>
Loading
Please register or sign in to comment