Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ulf Hansson and committed by
Rafael J. Wysocki
e943c43b 0b8417c1

+9 -9
-8
drivers/power/avs/Kconfig
··· 27 27 28 28 To compile this driver as a module, choose M here: the module will 29 29 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.
-1
drivers/power/avs/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 obj-$(CONFIG_POWER_AVS_OMAP) += smartreflex.o 3 3 obj-$(CONFIG_QCOM_CPR) += qcom-cpr.o 4 - obj-$(CONFIG_ROCKCHIP_IODOMAIN) += rockchip-io-domain.o
drivers/power/avs/rockchip-io-domain.c drivers/soc/rockchip/io-domain.c
+8
drivers/soc/rockchip/Kconfig
··· 14 14 In a lot of cases there also need to be default settings initialized 15 15 to make some of them conform to expectations of the kernel. 16 16 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 + 17 25 config ROCKCHIP_PM_DOMAINS 18 26 bool "Rockchip generic power domain" 19 27 depends on PM
+1
drivers/soc/rockchip/Makefile
··· 3 3 # Rockchip Soc drivers 4 4 # 5 5 obj-$(CONFIG_ROCKCHIP_GRF) += grf.o 6 + obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o 6 7 obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o