msm: Add proccomm regulator driver
Add a driver for the new regulator API. The driver is intended for
targets with regulators controlled through proccomm calls (such as
7x30). It is intended as a replacement for vreg.c.
To use this driver:
- Select MSM_PROC_COMM_REGULATOR for your architecture in Kconfig
- Use the regulator framework's API calls to control your regulator
Signed-off-by: Justin Paupore <jpaupore@codeaurora.org>
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 76635b8..cf826f9 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -1238,6 +1238,13 @@
help
Enable support for 7x27a. This provides audio functionality.
+config MSM_PROC_COMM_REGULATOR
+ bool
+ depends on MSM_PROC_COMM && REGULATOR
+ help
+ Enable regulator framework support for regulators managed by PMLIB
+ on the modem, and controlled through proccomm calls.
+
config MSM_VREG_SWITCH_INVERTED
bool "Reverse vreg switch polarity"
default n