drivers: soc: qcom: Add helper functions for RPMH communication

Add helper function layer over TCS mailbox driver for communicating with
the RPMH accelerators. The helper functions proxy memory allocations on
behalf of the driver as well as callbacks from the mailbox framework
making it easy for drivers to use TCS mailbox for RPM communication.

Change-Id: I5f2d2dfff3c6b3d2b48de915c2913bb4b1902b1c
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
4 files changed