From 1e492a56bc4cff5a9476a57d475018b735942df1 Mon Sep 17 00:00:00 2001 From: Arun KS Date: Fri, 30 Oct 2015 15:33:47 +0530 Subject: soc: qcom: Add in-rush current mitigation driver On few recent targets APSS L2 memory is moved to APC domain which were earlier on Mx domain. This can cause inrush current while bringing up huge memories like modem and adsp. To mitigate inrush current, bring up comparatively lesser memory in size(for eg MDP memory) before bringing up huge memories like modem or adsp. This way MDP memory introduce an intermediate load on MX rail. During boot, gdsc driver will set MEM and PERIPHERAL bits. This driver makes sure that dependent subsystems are powered up. Once done, call gdsc_allow_clear_retention() API to allow retention of MDP memories. Change-Id: I54011eb1b6cc38b2c33a67b8b9cc5eaadbd42c6a Signed-off-by: Arun KS --- drivers/soc/qcom/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/soc/qcom/Kconfig') diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 39cb4b96deb7..abbcba0e9168 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -1,6 +1,14 @@ # # QCOM Soc drivers # +config MSM_INRUSH_CURRENT_MITIGATION + bool "Inrush-current mitigation Driver" + help + This driver helps in mitigating in-rush current on MSM + chipsets which has voltage droop issues due to sudden + huge load on a rail. This driver introduces an intermediate + load to mitigate the in-rush current. + config MSM_SMEM depends on ARCH_QCOM depends on REMOTE_SPINLOCK_MSM -- cgit v1.2.3