drivers: qcom: rpmh: Fixes for awake set requests

Allow passthru API to send awake requests (requests that use wake TCS to
send active requests in the absence of dedicated AMC TCS). Like active
request, awake passthru will send the requests to the TCS mailbox driver
without caching and will wait on the batch to complete instead of
individual complete requests.

Also, do not assume passthru active/awake requests as complete request.
The completion bit would be set appropriately for the commands by the
caller. TCS driver should respect that but if the completion bit is set,
then TCS driver needs to ensure that it is actually completed by setting
the response-required bit in the message id. Enable wake TCS mask for
IRQ in place of active TCS for RSCs that do not have any active TCS and
clear AMC mode only after reading statuses.

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