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

pmdomain: amlogic: Move Kconfig options to the pmdomain subsystem

The Kconfig options belongs closer to the corresponding implementations,
hence let's move them from the soc subsystem to the pmdomain subsystem.

Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: <linux-amlogic@lists.infradead.org>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

+40 -35
+1
drivers/pmdomain/Kconfig
··· 2 2 menu "PM Domains" 3 3 4 4 source "drivers/pmdomain/actions/Kconfig" 5 + source "drivers/pmdomain/amlogic/Kconfig" 5 6 6 7 endmenu
+39
drivers/pmdomain/amlogic/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + menu "Amlogic PM Domains" 3 + 4 + config MESON_GX_PM_DOMAINS 5 + tristate "Amlogic Meson GX Power Domains driver" 6 + depends on ARCH_MESON || COMPILE_TEST 7 + depends on PM && OF 8 + default ARCH_MESON 9 + select PM_GENERIC_DOMAINS 10 + select PM_GENERIC_DOMAINS_OF 11 + help 12 + Say yes to expose Amlogic Meson GX Power Domains as 13 + Generic Power Domains. 14 + 15 + config MESON_EE_PM_DOMAINS 16 + tristate "Amlogic Meson Everything-Else Power Domains driver" 17 + depends on ARCH_MESON || COMPILE_TEST 18 + depends on PM && OF 19 + default ARCH_MESON 20 + select PM_GENERIC_DOMAINS 21 + select PM_GENERIC_DOMAINS_OF 22 + help 23 + Say yes to expose Amlogic Meson Everything-Else Power Domains as 24 + Generic Power Domains. 25 + 26 + config MESON_SECURE_PM_DOMAINS 27 + tristate "Amlogic Meson Secure Power Domains driver" 28 + depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM 29 + depends on PM && OF 30 + depends on HAVE_ARM_SMCCC 31 + default ARCH_MESON 32 + select PM_GENERIC_DOMAINS 33 + select PM_GENERIC_DOMAINS_OF 34 + help 35 + Support for the power controller on Amlogic A1/C1 series. 36 + Say yes to expose Amlogic Meson Secure Power Domains as Generic 37 + Power Domains. 38 + 39 + endmenu
-35
drivers/soc/amlogic/Kconfig
··· 26 26 Say yes to support decoding of Amlogic Meson GX SoC family 27 27 information about the type, package and version. 28 28 29 - config MESON_GX_PM_DOMAINS 30 - tristate "Amlogic Meson GX Power Domains driver" 31 - depends on ARCH_MESON || COMPILE_TEST 32 - depends on PM && OF 33 - default ARCH_MESON 34 - select PM_GENERIC_DOMAINS 35 - select PM_GENERIC_DOMAINS_OF 36 - help 37 - Say yes to expose Amlogic Meson GX Power Domains as 38 - Generic Power Domains. 39 - 40 - config MESON_EE_PM_DOMAINS 41 - tristate "Amlogic Meson Everything-Else Power Domains driver" 42 - depends on ARCH_MESON || COMPILE_TEST 43 - depends on PM && OF 44 - default ARCH_MESON 45 - select PM_GENERIC_DOMAINS 46 - select PM_GENERIC_DOMAINS_OF 47 - help 48 - Say yes to expose Amlogic Meson Everything-Else Power Domains as 49 - Generic Power Domains. 50 - 51 - config MESON_SECURE_PM_DOMAINS 52 - tristate "Amlogic Meson Secure Power Domains driver" 53 - depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM 54 - depends on PM && OF 55 - depends on HAVE_ARM_SMCCC 56 - default ARCH_MESON 57 - select PM_GENERIC_DOMAINS 58 - select PM_GENERIC_DOMAINS_OF 59 - help 60 - Support for the power controller on Amlogic A1/C1 series. 61 - Say yes to expose Amlogic Meson Secure Power Domains as Generic 62 - Power Domains. 63 - 64 29 config MESON_MX_SOCINFO 65 30 bool "Amlogic Meson MX SoC Information driver" 66 31 depends on (ARM && ARCH_MESON) || COMPILE_TEST