summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-08-04 15:54:25 -0600
committerTom Rini <trini@konsulko.com>2025-08-14 10:59:09 -0600
commit0ae7725e874a65d86ccdc964048940a490185972 (patch)
treeb7c1c766590961ad0039086ba77ced750d27ddb2
parent00ad9ed4a775a6908a8654935f61df38e59178df (diff)
reset: Tighten some reset driver dependencies
A few reset drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/reset/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e92bb8a7c39..74c267dfc4e 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -74,8 +74,8 @@ config RESET_UNIPHIER
config RESET_AST2500
bool "Reset controller driver for AST2500 SoCs"
- depends on DM_RESET
- default y if ASPEED_AST2500
+ depends on DM_RESET && ASPEED_AST2500
+ default y
help
Support for reset controller on AST2500 SoC.
Say Y if you want to control reset signals of different peripherals
@@ -83,8 +83,8 @@ config RESET_AST2500
config RESET_AST2600
bool "Reset controller driver for AST2600 SoCs"
- depends on DM_RESET
- default y if ASPEED_AST2600
+ depends on DM_RESET && ASPEED_AST2600
+ default y
help
Support for reset controller on AST2600 SoC.
Say Y if you want to control reset signals of different peripherals
@@ -223,7 +223,7 @@ config RESET_ZYNQMP
config RESET_DRA7
bool "Support for TI's DRA7 Reset driver"
- depends on DM_RESET
+ depends on DM_RESET && ARCH_OMAP2PLUS
help
Support for TI DRA7-RESET subsystem. Basic Assert/Deassert
is supported.