Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit baf71316 authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: qcom: rpmh: add RPMH utility functions for TCS communication



Drivers that communicate with the TCS mailbox driver duplicate the same
functionality in managing memory for requests, threaded handling of
completion responses etc. Collect all such common functionality into a
simple set of API that abstracts complexity and optimizations in
communication with the mailbox controller.

The key benefits of using this API instead of directly using mailbox API
for QTI drivers are -
	* Caching of sleep and wake requests
	* Handling of completion callbacks
	* Memory management to avoid fragmenting kernel memory
	* Batch processing of requests

This is a snapshot as of 'commit b4a69c05b01172 ("drivers: mailbox:
rpmh-mailbox: rename file to match convention")'.

Change-Id: Id80b9312ff14537f9732acfa090f8e997158b63a
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 61555831
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment