Skip to content

Commit 41c169d

Browse files
committed
Merge branch 'pm-avs'
* pm-avs: PM: AVS: Drop the avs directory and the corresponding Kconfig PM: AVS: qcom-cpr: Move the driver to the qcom specific drivers PM: AVS: smartreflex Move driver to soc specific drivers PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers
2 parents 71d47b5 + 785b5bb commit 41c169d

14 files changed

Lines changed: 31 additions & 47 deletions

File tree

MAINTAINERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5395,11 +5395,11 @@ F: include/linux/debugfs.h
53955395
F: include/linux/kobj*
53965396
F: lib/kobj*
53975397

5398-
DRIVERS FOR ADAPTIVE VOLTAGE SCALING (AVS)
5398+
DRIVERS FOR OMAP ADAPTIVE VOLTAGE SCALING (AVS)
53995399
M: Nishanth Menon <nm@ti.com>
54005400
L: linux-pm@vger.kernel.org
54015401
S: Maintained
5402-
F: drivers/power/avs/
5402+
F: drivers/soc/ti/smartreflex.c
54035403
F: include/linux/power/smartreflex.h
54045404

54055405
DRM DRIVER FOR ALLWINNER DE2 AND DE3 ENGINE
@@ -14362,7 +14362,7 @@ L: linux-pm@vger.kernel.org
1436214362
L: linux-arm-msm@vger.kernel.org
1436314363
S: Maintained
1436414364
F: Documentation/devicetree/bindings/power/avs/qcom,cpr.txt
14365-
F: drivers/power/avs/qcom-cpr.c
14365+
F: drivers/soc/qcom/cpr.c
1436614366

1436714367
QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096
1436814368
M: Ilia Lin <ilia.lin@kernel.org>

arch/arm/plat-omap/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ config OMAP_DEBUG_LEDS
2323

2424
config POWER_AVS_OMAP
2525
bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
26-
depends on POWER_AVS && (ARCH_OMAP3 || ARCH_OMAP4) && PM
26+
depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
2727
select POWER_SUPPLY
2828
help
2929
Say Y to enable AVS(Adaptive Voltage Scaling)

drivers/power/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
source "drivers/power/avs/Kconfig"
32
source "drivers/power/reset/Kconfig"
43
source "drivers/power/supply/Kconfig"

drivers/power/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
obj-$(CONFIG_POWER_AVS) += avs/
32
obj-$(CONFIG_POWER_RESET) += reset/
43
obj-$(CONFIG_POWER_SUPPLY) += supply/

drivers/power/avs/Kconfig

Lines changed: 0 additions & 37 deletions
This file was deleted.

drivers/power/avs/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.

drivers/soc/qcom/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ config QCOM_COMMAND_DB
2626
resource on a RPM-hardened platform must use this database to get
2727
SoC specific identifier and information for the shared resources.
2828

29+
config QCOM_CPR
30+
tristate "QCOM Core Power Reduction (CPR) support"
31+
depends on ARCH_QCOM && HAS_IOMEM
32+
select PM_OPP
33+
select REGMAP
34+
help
35+
Say Y here to enable support for the CPR hardware found on Qualcomm
36+
SoCs like QCS404.
37+
38+
This driver populates CPU OPPs tables and makes adjustments to the
39+
tables based on feedback from the CPR hardware. If you want to do
40+
CPUfrequency scaling say Y here.
41+
42+
To compile this driver as a module, choose M here: the module will
43+
be called qcom-cpr
44+
2945
config QCOM_GENI_SE
3046
tristate "QCOM GENI Serial Engine Driver"
3147
depends on ARCH_QCOM || COMPILE_TEST

drivers/soc/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CFLAGS_rpmh-rsc.o := -I$(src)
33
obj-$(CONFIG_QCOM_AOSS_QMP) += qcom_aoss.o
44
obj-$(CONFIG_QCOM_GENI_SE) += qcom-geni-se.o
55
obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
6+
obj-$(CONFIG_QCOM_CPR) += cpr.o
67
obj-$(CONFIG_QCOM_GSBI) += qcom_gsbi.o
78
obj-$(CONFIG_QCOM_MDT_LOADER) += mdt_loader.o
89
obj-$(CONFIG_QCOM_OCMEM) += ocmem.o

drivers/soc/rockchip/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ config ROCKCHIP_GRF
1414
In a lot of cases there also need to be default settings initialized
1515
to make some of them conform to expectations of the kernel.
1616

17+
config ROCKCHIP_IODOMAIN
18+
tristate "Rockchip IO domain support"
19+
depends on OF
20+
help
21+
Say y here to enable support io domains on Rockchip SoCs. It is
22+
necessary for the io domain setting of the SoC to match the
23+
voltage supplied by the regulators.
24+
1725
config ROCKCHIP_PM_DOMAINS
1826
bool "Rockchip generic power domain"
1927
depends on PM

0 commit comments

Comments
 (0)