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

pmdomain: arm_scmi: Move Kconfig options to the pmdomain subsystem

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

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20231123120847.2825444-1-sudeep.holla@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Sudeep Holla and committed by
Ulf Hansson
820cec12 e60b6c18

+26 -25
-25
drivers/firmware/arm_scmi/Kconfig
··· 168 168 169 169 endif #ARM_SCMI_PROTOCOL 170 170 171 - config ARM_SCMI_POWER_DOMAIN 172 - tristate "SCMI power domain driver" 173 - depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF) 174 - default y 175 - select PM_GENERIC_DOMAINS if PM 176 - help 177 - This enables support for the SCMI power domains which can be 178 - enabled or disabled via the SCP firmware 179 - 180 - This driver can also be built as a module. If so, the module 181 - will be called scmi_pm_domain. Note this may needed early in boot 182 - before rootfs may be available. 183 - 184 - config ARM_SCMI_PERF_DOMAIN 185 - tristate "SCMI performance domain driver" 186 - depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF) 187 - default y 188 - select PM_GENERIC_DOMAINS if PM 189 - help 190 - This enables support for the SCMI performance domains which can be 191 - enabled or disabled via the SCP firmware. 192 - 193 - This driver can also be built as a module. If so, the module will be 194 - called scmi_perf_domain. 195 - 196 171 config ARM_SCMI_POWER_CONTROL 197 172 tristate "SCMI system power control driver" 198 173 depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
+1
drivers/pmdomain/Kconfig
··· 4 4 source "drivers/pmdomain/actions/Kconfig" 5 5 source "drivers/pmdomain/amlogic/Kconfig" 6 6 source "drivers/pmdomain/apple/Kconfig" 7 + source "drivers/pmdomain/arm/Kconfig" 7 8 source "drivers/pmdomain/bcm/Kconfig" 8 9 source "drivers/pmdomain/imx/Kconfig" 9 10 source "drivers/pmdomain/mediatek/Kconfig"
+25
drivers/pmdomain/arm/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + config ARM_SCMI_PERF_DOMAIN 3 + tristate "SCMI performance domain driver" 4 + depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF) 5 + default y 6 + select PM_GENERIC_DOMAINS if PM 7 + help 8 + This enables support for the SCMI performance domains which can be 9 + enabled or disabled via the SCP firmware. 10 + 11 + This driver can also be built as a module. If so, the module will be 12 + called scmi_perf_domain. 13 + 14 + config ARM_SCMI_POWER_DOMAIN 15 + tristate "SCMI power domain driver" 16 + depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF) 17 + default y 18 + select PM_GENERIC_DOMAINS if PM 19 + help 20 + This enables support for the SCMI power domains which can be 21 + enabled or disabled via the SCP firmware 22 + 23 + This driver can also be built as a module. If so, the module 24 + will be called scmi_pm_domain. Note this may needed early in boot 25 + before rootfs may be available.