drivers: qcom: rpmh: export controller status

Query the TCS mailbox driver to see if the driver and hardware are busy
handling RPMH requests or waiting for responses.

Change-Id: I2afca68776387b79447034f6554a683cb4df3cf1
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
diff --git a/include/soc/qcom/rpmh.h b/include/soc/qcom/rpmh.h
index 75e6ccd..f0b3d02 100644
--- a/include/soc/qcom/rpmh.h
+++ b/include/soc/qcom/rpmh.h
@@ -40,6 +40,8 @@
 
 int rpmh_invalidate(struct rpmh_client *rc);
 
+int rpmh_ctrlr_idle(struct rpmh_client *rc);
+
 int rpmh_flush(struct rpmh_client *rc);
 
 int rpmh_read(struct rpmh_client *rc, u32 addr, u32 *resp);
@@ -82,6 +84,9 @@
 static inline int rpmh_invalidate(struct rpmh_client *rc)
 { return -ENODEV; }
 
+static inline int rpmh_ctrlr_idle(struct rpmh_client *rc)
+{ return -ENODEV; }
+
 static inline int rpmh_flush(struct rpmh_client *rc)
 { return -ENODEV; }