mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
8191455c38
Make the imx8m soc driver as tristate so that it can be built as loadable module, module names are: soc-imx8m.ko, imx8m-blk-ctrl.ko and imx8mp-blk-ctrl.ko Signed-off-by: Jindong Yue <jindong.yue@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
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
|
|
tristate "i.MX8M SoC family support"
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
default ARCH_MXC && ARM64
|
|
select SOC_BUS
|
|
select ARM_GIC_V3 if ARCH_MXC && ARCH_MULTI_V7
|
|
help
|
|
If you say yes here you get support for the NXP i.MX8M family
|
|
support, it will provide the SoC info like SoC family,
|
|
ID and revision etc.
|
|
|
|
config SOC_IMX9
|
|
tristate "i.MX9 SoC family support"
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
default ARCH_MXC && ARM64
|
|
select SOC_BUS
|
|
help
|
|
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
|