summaryrefslogtreecommitdiffstats
path: root/drivers/reset/Kconfig
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-01-18 22:18:13 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-01-18 22:19:08 +0530
commit99ba4308701c51dcf425dbef42c6f87fcc9c42a2 (patch)
treead89625ddc26b1b29bdc21b6d963e5a6e2014b6c /drivers/reset/Kconfig
parent0d47bc70565102388c957ead7deac4b2eaa3dfba (diff)
downloadu-boot-99ba4308701c51dcf425dbef42c6f87fcc9c42a2.tar.gz
u-boot-99ba4308701c51dcf425dbef42c6f87fcc9c42a2.tar.xz
u-boot-99ba4308701c51dcf425dbef42c6f87fcc9c42a2.zip
reset: Add Allwinner RESET driver
Add common reset driver for all Allwinner SoC's. Since CLK and RESET share common DT compatible, it is CLK driver job is to bind the reset driver. So add CLK bind call on respective SoC driver by passing ccu map descriptor so-that reset deassert, deassert operations held based on ccu reset table defined from CLK driver. Select DM_RESET via CLK_SUNXI, this make hidden section of RESET since CLK and RESET share common DT compatible and code. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r--drivers/reset/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 3a6d61f440..a81e767696 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -113,4 +113,12 @@ config RESET_MEDIATEK
help
Support for reset controller on MediaTek SoCs.
+config RESET_SUNXI
+ bool "RESET support for Allwinner SoCs"
+ depends on DM_RESET && ARCH_SUNXI
+ default y
+ help
+ This enables support for common reset driver for
+ Allwinner SoCs.
+
endmenu