summaryrefslogtreecommitdiff
path: root/drivers/reset/Kconfig
diff options
context:
space:
mode:
author[email protected] <[email protected]>2017-04-17 12:00:24 -0700
committerTom Rini <[email protected]>2017-05-08 11:57:32 -0400
commit858d4976293f0b3d72e5dcf0e8a1a973efafeee3 (patch)
tree0921e2d6c21f12fa567b631e9f664e18fc6dd4ed /drivers/reset/Kconfig
parent413353b30b5d23c409b6a2fd70aa1cc28451a451 (diff)
aspeed: Reset Driver
Add Reset Driver for ast2500 SoC. This driver uses Watchdog Timer to perform resets and thus depends on it. The actual Watchdog device used needs to be configured in Device Tree using "aspeed,wdt" property, which must be WDT phandle, for example: rst: reset-controller { compatible = "aspeed,ast2500-reset"; aspeed,wdt = <&wdt1>; } Signed-off-by: Maxim Sloyko <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r--drivers/reset/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index fa77ee4adae..80f4646a79c 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -51,4 +51,14 @@ config RESET_UNIPHIER
Say Y if you want to control reset signals provided by System Control
block, Media I/O block, Peripheral Block.
+config AST2500_RESET
+ bool "Reset controller driver for AST2500 SoCs"
+ depends on DM_RESET && WDT_ASPEED
+ default y if ASPEED_AST2500
+ help
+ Support for reset controller on AST2500 SoC. This controller uses
+ watchdog to reset different peripherals and thus only supports
+ resets that are supported by watchdog. The main limitation though
+ is that some reset signals, like I2C or MISC reset multiple devices.
+
endmenu