Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1806c18 authored by David Collins's avatar David Collins
Browse files

regulator: move the cpr-regulator driver to the drivers/regulator directory



Move the cpr-regulator driver from the arch/arm/mach-msm
directory into the drivers/regulator directory.  Moving this
driver out of the arch/arm/mach-msm directory allows it to be
shared with architectures other than 'arm'.  In particular,
moving it allows it to be used by arm64.

Change-Id: I0b487c7fae42c260e06f5b70d1716bfbef065f4b
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent a283fc86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ CONFIG_MSM_RTB_SEPARATE_CPUS=y
CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL=y
CONFIG_MSM_BOOT_STATS=y
CONFIG_MSM_XPU_ERR_FATAL=y
CONFIG_MSM_CPR_REGULATOR=y
CONFIG_REGULATOR_CPR=y
CONFIG_SMP=y
CONFIG_SCHED_MC=y
CONFIG_PREEMPT=y
+2 −13
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ config ARCH_MSM8610
	select REGULATOR_RPM_SMD
	select REGULATOR_SPM
	select MSM_JTAG_MM if CORESIGHT_ETM
	select MSM_CPR_REGULATOR
	select REGULATOR_CPR
	select MSM_RPM_LOG
	select MSM_IOMMU_SYNC
	select MSM_RPM_STATS_LOG
@@ -264,7 +264,7 @@ config ARCH_MSM8226
	select REGULATOR_RPM_SMD
	select REGULATOR_SPM
	select MSM_JTAG_MM if CORESIGHT_ETM
	select MSM_CPR_REGULATOR
	select REGULATOR_CPR
	select MSM_RPM_LOG
	select MSM_RPM_STATS_LOG
	select ARCH_WANT_KMAP_ATOMIC_FLUSH
@@ -1145,17 +1145,6 @@ config MSM_XPU_ERR_FATAL
	help
	 Select if XPU violations have to be configured as fatal errors.

config MSM_CPR_REGULATOR
	bool "RBCPR regulator driver for APC"
	depends on REGULATOR
	depends on OF
	help
	  Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
	  corner vote for APC power rail. The driver takes PTE process voltage
	  suggestions in efuse as initial settings. It converts corner vote
	  to voltage value before writing to a voltage regulator API, such as
	  that provided by spm-regulator driver.

config KRAIT_REGULATOR
	bool "Support Kraits powered via ganged regulators in the pmic"
	help
+0 −1
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ obj-$(CONFIG_MEMORY_HOLE_CARVEOUT) += msm_mem_hole.o
obj-$(CONFIG_MSM_SMCMOD) += smcmod.o

obj-$(CONFIG_ARCH_MSM8974) += msm_mpmctr.o
obj-$(CONFIG_MSM_CPR_REGULATOR) += cpr-regulator.o
obj-$(CONFIG_MSM_DEVFREQ_CPUBW) += devfreq_cpubw.o

obj-$(CONFIG_ARCH_RANDOM) += early_random.o
+9 −0
Original line number Diff line number Diff line
@@ -575,5 +575,14 @@ config REGULATOR_SPM
	  driver can be used on QTI SoCs where the APSS processor cores are
	  supplied by their own PMIC regulator.

config REGULATOR_CPR
	bool "RBCPR regulator driver for APC"
	depends on OF
	help
	  Compile in RBCPR (RapidBridge Core Power Reduction) driver to support
	  corner vote for APC power rail. The driver takes PTE process voltage
	  suggestions in efuse as initial settings. It converts corner vote
	  to voltage value before writing to a voltage regulator API, such as
	  that provided by spm-regulator driver.
endif
Loading