Skip to content

Commit bca815d

Browse files
Ulf Hanssonrafaeljw
authored andcommitted
PM: AVS: smartreflex Move driver to soc specific drivers
The avs drivers are all SoC specific drivers that doesn't share any code. Instead they are located in a directory, mostly to keep similar functionality together. From a maintenance point of view, it makes better sense to collect SoC specific drivers like these, into the SoC specific directories. Therefore, let's move the smartreflex driver for OMAP to the ti directory. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent e943c43 commit bca815d

6 files changed

Lines changed: 4 additions & 16 deletions

File tree

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5387,11 +5387,11 @@ F: include/linux/debugfs.h
53875387
F: include/linux/kobj*
53885388
F: lib/kobj*
53895389

5390-
DRIVERS FOR ADAPTIVE VOLTAGE SCALING (AVS)
5390+
DRIVERS FOR OMAP ADAPTIVE VOLTAGE SCALING (AVS)
53915391
M: Nishanth Menon <nm@ti.com>
53925392
L: linux-pm@vger.kernel.org
53935393
S: Maintained
5394-
F: drivers/power/avs/
5394+
F: drivers/soc/ti/smartreflex.c
53955395
F: include/linux/power/smartreflex.h
53965396

53975397
DRM DRIVER FOR ALLWINNER DE2 AND DE3 ENGINE

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/avs/Kconfig

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
menuconfig POWER_AVS
3-
bool "Adaptive Voltage Scaling class support"
4-
help
5-
AVS is a power management technique which finely controls the
6-
operating voltage of a device in order to optimize (i.e. reduce)
7-
its power consumption.
8-
At a given operating point the voltage is adapted depending on
9-
static factors (chip manufacturing process) and dynamic factors
10-
(temperature depending performance).
11-
AVS is also called SmartReflex on OMAP devices.
12-
13-
Say Y here to enable Adaptive Voltage Scaling class support.
142

153
config QCOM_CPR
164
tristate "QCOM Core Power Reduction (CPR) support"

drivers/power/avs/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
obj-$(CONFIG_POWER_AVS_OMAP) += smartreflex.o
32
obj-$(CONFIG_QCOM_CPR) += qcom-cpr.o

drivers/soc/ti/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ obj-$(CONFIG_TI_SCI_PM_DOMAINS) += ti_sci_pm_domains.o
1212
obj-$(CONFIG_TI_SCI_INTA_MSI_DOMAIN) += ti_sci_inta_msi.o
1313
obj-$(CONFIG_TI_K3_RINGACC) += k3-ringacc.o
1414
obj-$(CONFIG_TI_K3_SOCINFO) += k3-socinfo.o
15+
obj-$(CONFIG_POWER_AVS_OMAP) += smartreflex.o

0 commit comments

Comments
 (0)