summaryrefslogtreecommitdiff
path: root/drivers/soc/imx/Kconfig
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2022-12-16 21:08:18 +0100
committerShawn Guo <shawnguo@kernel.org>2023-01-01 11:11:46 +0800
commit9d3975f27e12c89327fbac84c3d8552ecdb72a35 (patch)
tree37215ff2617b2ab4ca6a44cb79a4828a26e68cd5 /drivers/soc/imx/Kconfig
parentcd556e1e950cea8e4fba88facf24288099925e7b (diff)
soc: imx: add Kconfig symbols for blk-ctrl drivers
Currently the dependencies of the blk-ctrl drivers are not fully described in Kconfig, which can trip over the compile tests on platforms where those drivers are not usually enabled. Add a non user-selectable symbol to be describe those dependencies. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx/Kconfig')
-rw-r--r--drivers/soc/imx/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig
index 4b906791d6c7..179bcc896ea2 100644
--- a/drivers/soc/imx/Kconfig
+++ b/drivers/soc/imx/Kconfig
@@ -28,4 +28,14 @@ config SOC_IMX9
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
+
+config IMX9_BLK_CTRL
+ bool
+ default SOC_IMX9 && IMX_GPCV2_PM_DOMAINS
+ depends on PM_GENERIC_DOMAINS
+
endmenu