mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
pmdomain: imx: Move Kconfig options to the pmdomain subsystem
The Kconfig options belongs closer to the corresponding implementations, hence let's move them from the soc- and firmware subsystem to the pmdomain subsystem. Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: <kernel@pengutronix.de> Cc: <linux-imx@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
c067e7ffb3
commit
24a11a1e82
@ -22,9 +22,3 @@ config IMX_SCU
|
|||||||
|
|
||||||
This driver manages the IPC interface between host CPU and the
|
This driver manages the IPC interface between host CPU and the
|
||||||
SCU firmware running on M4.
|
SCU firmware running on M4.
|
||||||
|
|
||||||
config IMX_SCU_PD
|
|
||||||
bool "IMX SCU Power Domain driver"
|
|
||||||
depends on IMX_SCU
|
|
||||||
help
|
|
||||||
The System Controller Firmware (SCFW) based power domain driver.
|
|
||||||
|
@ -5,5 +5,6 @@ source "drivers/pmdomain/actions/Kconfig"
|
|||||||
source "drivers/pmdomain/amlogic/Kconfig"
|
source "drivers/pmdomain/amlogic/Kconfig"
|
||||||
source "drivers/pmdomain/apple/Kconfig"
|
source "drivers/pmdomain/apple/Kconfig"
|
||||||
source "drivers/pmdomain/bcm/Kconfig"
|
source "drivers/pmdomain/bcm/Kconfig"
|
||||||
|
source "drivers/pmdomain/imx/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
29
drivers/pmdomain/imx/Kconfig
Normal file
29
drivers/pmdomain/imx/Kconfig
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
menu "i.MX PM Domains"
|
||||||
|
|
||||||
|
config IMX_GPCV2_PM_DOMAINS
|
||||||
|
bool "i.MX GPCv2 PM domains"
|
||||||
|
depends on ARCH_MXC || (COMPILE_TEST && OF)
|
||||||
|
depends on PM
|
||||||
|
select PM_GENERIC_DOMAINS
|
||||||
|
select REGMAP_MMIO
|
||||||
|
default y if SOC_IMX7D
|
||||||
|
|
||||||
|
config IMX8M_BLK_CTRL
|
||||||
|
bool
|
||||||
|
default SOC_IMX8M && IMX_GPCV2_PM_DOMAINS
|
||||||
|
depends on PM_GENERIC_DOMAINS
|
||||||
|
depends on COMMON_CLK
|
||||||
|
|
||||||
|
config IMX9_BLK_CTRL
|
||||||
|
bool
|
||||||
|
default SOC_IMX9 && IMX_GPCV2_PM_DOMAINS
|
||||||
|
depends on PM_GENERIC_DOMAINS
|
||||||
|
|
||||||
|
config IMX_SCU_PD
|
||||||
|
bool "IMX SCU Power Domain driver"
|
||||||
|
depends on IMX_SCU
|
||||||
|
help
|
||||||
|
The System Controller Firmware (SCFW) based power domain driver.
|
||||||
|
|
||||||
|
endmenu
|
@ -1,14 +1,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
menu "i.MX SoC drivers"
|
menu "i.MX SoC drivers"
|
||||||
|
|
||||||
config IMX_GPCV2_PM_DOMAINS
|
|
||||||
bool "i.MX GPCv2 PM domains"
|
|
||||||
depends on ARCH_MXC || (COMPILE_TEST && OF)
|
|
||||||
depends on PM
|
|
||||||
select PM_GENERIC_DOMAINS
|
|
||||||
select REGMAP_MMIO
|
|
||||||
default y if SOC_IMX7D
|
|
||||||
|
|
||||||
config SOC_IMX8M
|
config SOC_IMX8M
|
||||||
tristate "i.MX8M SoC family support"
|
tristate "i.MX8M SoC family support"
|
||||||
depends on ARCH_MXC || COMPILE_TEST
|
depends on ARCH_MXC || COMPILE_TEST
|
||||||
@ -28,15 +20,4 @@ config SOC_IMX9
|
|||||||
help
|
help
|
||||||
If you say yes here, you get support for the NXP i.MX9 family
|
If you say yes here, you get support for the NXP i.MX9 family
|
||||||
|
|
||||||
config IMX8M_BLK_CTRL
|
|
||||||
bool
|
|
||||||
default SOC_IMX8M && IMX_GPCV2_PM_DOMAINS
|
|
||||||
depends on PM_GENERIC_DOMAINS
|
|
||||||
depends on COMMON_CLK
|
|
||||||
|
|
||||||
config IMX9_BLK_CTRL
|
|
||||||
bool
|
|
||||||
default SOC_IMX9 && IMX_GPCV2_PM_DOMAINS
|
|
||||||
depends on PM_GENERIC_DOMAINS
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user