platform: msm_shared: Fix for spmi lock up issue
Add support for shutting down spmi so that no spmi requests
are sent from msm, this is needed to avoid spmi lockup issue.
CRs-Fixed: 589035
Change-Id: Ice25363bbbf4dabec2f806d7c7940e1c5855a259
diff --git a/platform/msm_shared/include/scm.h b/platform/msm_shared/include/scm.h
index b2ae7a9..6b9efb5 100644
--- a/platform/msm_shared/include/scm.h
+++ b/platform/msm_shared/include/scm.h
@@ -174,6 +174,9 @@
#define SCM_SVC_ES 0x10
#define SCM_SAVE_PARTITION_HASH_ID 0x01
+#define SCM_SVC_PWR 0x9
+#define SCM_IO_DISABLE_PMIC_ARBITER 0x1
+
enum ap_ce_channel_type {
AP_CE_REGISTER_USE = 0,
AP_CE_ADM_USE = 1
@@ -187,6 +190,8 @@
void set_tamper_fuse_cmd();
+int scm_halt_pmic_arbiter();
+
/**
* struct scm_command - one SCM command buffer
* @len: total available memory for command and response