Skip to content

Commit

Permalink
PM: AVS: rockchip-io: Move the driver to the rockchip specific drivers
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Heiko Stuebner <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
storulf authored and rafaeljw committed Oct 16, 2020
1 parent 0b8417c commit e943c43
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 0 additions & 8 deletions drivers/power/avs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,3 @@ config QCOM_CPR

To compile this driver as a module, choose M here: the module will
be called qcom-cpr

config ROCKCHIP_IODOMAIN
tristate "Rockchip IO domain support"
depends on POWER_AVS && ARCH_ROCKCHIP && OF
help
Say y here to enable support io domains on Rockchip SoCs. It is
necessary for the io domain setting of the SoC to match the
voltage supplied by the regulators.
1 change: 0 additions & 1 deletion drivers/power/avs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_POWER_AVS_OMAP) += smartreflex.o
obj-$(CONFIG_QCOM_CPR) += qcom-cpr.o
obj-$(CONFIG_ROCKCHIP_IODOMAIN) += rockchip-io-domain.o
8 changes: 8 additions & 0 deletions drivers/soc/rockchip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ config ROCKCHIP_GRF
In a lot of cases there also need to be default settings initialized
to make some of them conform to expectations of the kernel.

config ROCKCHIP_IODOMAIN
tristate "Rockchip IO domain support"
depends on OF
help
Say y here to enable support io domains on Rockchip SoCs. It is
necessary for the io domain setting of the SoC to match the
voltage supplied by the regulators.

config ROCKCHIP_PM_DOMAINS
bool "Rockchip generic power domain"
depends on PM
Expand Down
1 change: 1 addition & 0 deletions drivers/soc/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# Rockchip Soc drivers
#
obj-$(CONFIG_ROCKCHIP_GRF) += grf.o
obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o
obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o
File renamed without changes.

0 comments on commit e943c43

Please sign in to comment.