Skip to content

Commit e943c43

Browse files
Ulf Hanssonrafaeljw
authored andcommitted
PM: AVS: rockchip-io: Move the driver to the rockchip 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 rockchip-io driver to the rockchip directory. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0b8417c commit e943c43

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

drivers/power/avs/Kconfig

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,3 @@ config QCOM_CPR
2727

2828
To compile this driver as a module, choose M here: the module will
2929
be called qcom-cpr
30-
31-
config ROCKCHIP_IODOMAIN
32-
tristate "Rockchip IO domain support"
33-
depends on POWER_AVS && ARCH_ROCKCHIP && OF
34-
help
35-
Say y here to enable support io domains on Rockchip SoCs. It is
36-
necessary for the io domain setting of the SoC to match the
37-
voltage supplied by the regulators.

drivers/power/avs/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
22
obj-$(CONFIG_POWER_AVS_OMAP) += smartreflex.o
33
obj-$(CONFIG_QCOM_CPR) += qcom-cpr.o
4-
obj-$(CONFIG_ROCKCHIP_IODOMAIN) += rockchip-io-domain.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

drivers/soc/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# Rockchip Soc drivers
44
#
55
obj-$(CONFIG_ROCKCHIP_GRF) += grf.o
6+
obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o
67
obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o

0 commit comments

Comments
 (0)