xref: /openbmc/linux/drivers/reset/Kconfig (revision 1d7592f8)
161fc4131SPhilipp Zabelconfig ARCH_HAS_RESET_CONTROLLER
261fc4131SPhilipp Zabel	bool
361fc4131SPhilipp Zabel
461fc4131SPhilipp Zabelmenuconfig RESET_CONTROLLER
561fc4131SPhilipp Zabel	bool "Reset Controller Support"
661fc4131SPhilipp Zabel	default y if ARCH_HAS_RESET_CONTROLLER
761fc4131SPhilipp Zabel	help
861fc4131SPhilipp Zabel	  Generic Reset Controller support.
961fc4131SPhilipp Zabel
1061fc4131SPhilipp Zabel	  This framework is designed to abstract reset handling of devices
1161fc4131SPhilipp Zabel	  via GPIOs or SoC-internal reset controller modules.
1261fc4131SPhilipp Zabel
1361fc4131SPhilipp Zabel	  If unsure, say no.
14e5d76075SStephen Gallimore
15998cd463SMasahiro Yamadaif RESET_CONTROLLER
16998cd463SMasahiro Yamada
1762700682SThor Thayerconfig RESET_A10SR
1862700682SThor Thayer	tristate "Altera Arria10 System Resource Reset"
1962700682SThor Thayer	depends on MFD_ALTERA_A10SR
2062700682SThor Thayer	help
2162700682SThor Thayer	  This option enables support for the external reset functions for
2262700682SThor Thayer	  peripheral PHYs on the Altera Arria10 System Resource Chip.
2362700682SThor Thayer
24e27b4a6eSPhilipp Zabelconfig RESET_ATH79
25e27b4a6eSPhilipp Zabel	bool "AR71xx Reset Driver" if COMPILE_TEST
26e27b4a6eSPhilipp Zabel	default ATH79
27e27b4a6eSPhilipp Zabel	help
28e27b4a6eSPhilipp Zabel	  This enables the ATH79 reset controller driver that supports the
29e27b4a6eSPhilipp Zabel	  AR71xx SoC reset controller.
30e27b4a6eSPhilipp Zabel
3137634923SEugeniy Paltsevconfig RESET_AXS10X
3237634923SEugeniy Paltsev	bool "AXS10x Reset Driver" if COMPILE_TEST
3337634923SEugeniy Paltsev	default ARC_PLAT_AXS10X
3437634923SEugeniy Paltsev	help
3537634923SEugeniy Paltsev	  This enables the reset controller driver for AXS10x.
3637634923SEugeniy Paltsev
3770d467eaSPhilipp Zabelconfig RESET_BERLIN
3870d467eaSPhilipp Zabel	bool "Berlin Reset Driver" if COMPILE_TEST
3970d467eaSPhilipp Zabel	default ARCH_BERLIN
4070d467eaSPhilipp Zabel	help
4170d467eaSPhilipp Zabel	  This enables the reset controller driver for Marvell Berlin SoCs.
4270d467eaSPhilipp Zabel
4313541226SVineet Guptaconfig RESET_HSDK
4413541226SVineet Gupta	bool "Synopsys HSDK Reset Driver"
452d48a237SThomas Meyer	depends on HAS_IOMEM
46544e3bf4SGeert Uytterhoeven	depends on ARC_SOC_HSDK || COMPILE_TEST
47e0be864fSEugeniy Paltsev	help
4813541226SVineet Gupta	  This enables the reset controller driver for HSDK board.
49e0be864fSEugeniy Paltsev
50abf97755SAndrey Smirnovconfig RESET_IMX7
51abf97755SAndrey Smirnov	bool "i.MX7 Reset Driver" if COMPILE_TEST
52abf97755SAndrey Smirnov	default SOC_IMX7D
53abf97755SAndrey Smirnov	select MFD_SYSCON
54abf97755SAndrey Smirnov	help
55abf97755SAndrey Smirnov	  This enables the reset controller driver for i.MX7 SoCs.
56abf97755SAndrey Smirnov
5779797b6fSMartin Blumenstinglconfig RESET_LANTIQ
5879797b6fSMartin Blumenstingl	bool "Lantiq XWAY Reset Driver" if COMPILE_TEST
5979797b6fSMartin Blumenstingl	default SOC_TYPE_XWAY
6079797b6fSMartin Blumenstingl	help
6179797b6fSMartin Blumenstingl	  This enables the reset controller driver for Lantiq / Intel XWAY SoCs.
6279797b6fSMartin Blumenstingl
63cd7f4b81SPhilipp Zabelconfig RESET_LPC18XX
64cd7f4b81SPhilipp Zabel	bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
65cd7f4b81SPhilipp Zabel	default ARCH_LPC18XX
66cd7f4b81SPhilipp Zabel	help
67cd7f4b81SPhilipp Zabel	  This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
68cd7f4b81SPhilipp Zabel
6944336c24SPhilipp Zabelconfig RESET_MESON
7044336c24SPhilipp Zabel	bool "Meson Reset Driver" if COMPILE_TEST
7144336c24SPhilipp Zabel	default ARCH_MESON
7244336c24SPhilipp Zabel	help
7344336c24SPhilipp Zabel	  This enables the reset driver for Amlogic Meson SoCs.
7444336c24SPhilipp Zabel
756e667facSNeil Armstrongconfig RESET_OXNAS
766e667facSNeil Armstrong	bool
776e667facSNeil Armstrong
78fab3f730SPhilipp Zabelconfig RESET_PISTACHIO
79fab3f730SPhilipp Zabel	bool "Pistachio Reset Driver" if COMPILE_TEST
80fab3f730SPhilipp Zabel	default MACH_PISTACHIO
81fab3f730SPhilipp Zabel	help
82fab3f730SPhilipp Zabel	  This enables the reset driver for ImgTec Pistachio SoCs.
83fab3f730SPhilipp Zabel
8481c22ad0SPhilipp Zabelconfig RESET_SIMPLE
8581c22ad0SPhilipp Zabel	bool "Simple Reset Controller Driver" if COMPILE_TEST
86*1d7592f8SJoel Stanley	default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED
8781c22ad0SPhilipp Zabel	help
8881c22ad0SPhilipp Zabel	  This enables a simple reset controller driver for reset lines that
8981c22ad0SPhilipp Zabel	  that can be asserted and deasserted by toggling bits in a contiguous,
9081c22ad0SPhilipp Zabel	  exclusive register space.
9181c22ad0SPhilipp Zabel
92*1d7592f8SJoel Stanley	  Currently this driver supports:
93*1d7592f8SJoel Stanley	   - Altera SoCFPGAs
94*1d7592f8SJoel Stanley	   - ASPEED BMC SoCs
95*1d7592f8SJoel Stanley	   - RCC reset controller in STM32 MCUs
96*1d7592f8SJoel Stanley	   - Allwinner SoCs
97*1d7592f8SJoel Stanley	   - ZTE's zx2967 family
987e0e901dSPhilipp Zabel
990ae08419SPhilipp Zabelconfig RESET_SUNXI
1000ae08419SPhilipp Zabel	bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
1010ae08419SPhilipp Zabel	default ARCH_SUNXI
102e13c205aSPhilipp Zabel	select RESET_SIMPLE
1030ae08419SPhilipp Zabel	help
1040ae08419SPhilipp Zabel	  This enables the reset driver for Allwinner SoCs.
1050ae08419SPhilipp Zabel
10628df169bSAndrew F. Davisconfig RESET_TI_SCI
10728df169bSAndrew F. Davis	tristate "TI System Control Interface (TI-SCI) reset driver"
10828df169bSAndrew F. Davis	depends on TI_SCI_PROTOCOL
10928df169bSAndrew F. Davis	help
11028df169bSAndrew F. Davis	  This enables the reset driver support over TI System Control Interface
11128df169bSAndrew F. Davis	  available on some new TI's SoCs. If you wish to use reset resources
11228df169bSAndrew F. Davis	  managed by the TI System Controller, say Y here. Otherwise, say N.
11328df169bSAndrew F. Davis
114dd9bf863SSuman Annaconfig RESET_TI_SYSCON
115cc7c2bb1SAndrew F. Davis	tristate "TI SYSCON Reset Driver"
116cc7c2bb1SAndrew F. Davis	depends on HAS_IOMEM
117cc7c2bb1SAndrew F. Davis	select MFD_SYSCON
118cc7c2bb1SAndrew F. Davis	help
119cc7c2bb1SAndrew F. Davis	  This enables the reset driver support for TI devices with
120cc7c2bb1SAndrew F. Davis	  memory-mapped reset registers as part of a syscon device node. If
121cc7c2bb1SAndrew F. Davis	  you wish to use the reset framework for such memory-mapped devices,
122cc7c2bb1SAndrew F. Davis	  say Y here. Otherwise, say N.
123cc7c2bb1SAndrew F. Davis
12454e991b5SMasahiro Yamadaconfig RESET_UNIPHIER
12554e991b5SMasahiro Yamada	tristate "Reset controller driver for UniPhier SoCs"
12654e991b5SMasahiro Yamada	depends on ARCH_UNIPHIER || COMPILE_TEST
12754e991b5SMasahiro Yamada	depends on OF && MFD_SYSCON
12854e991b5SMasahiro Yamada	default ARCH_UNIPHIER
12954e991b5SMasahiro Yamada	help
13054e991b5SMasahiro Yamada	  Support for reset controllers on UniPhier SoCs.
13154e991b5SMasahiro Yamada	  Say Y if you want to control reset signals provided by System Control
13254e991b5SMasahiro Yamada	  block, Media I/O block, Peripheral Block.
13354e991b5SMasahiro Yamada
1346f51b860SPhilipp Zabelconfig RESET_ZYNQ
1356f51b860SPhilipp Zabel	bool "ZYNQ Reset Driver" if COMPILE_TEST
1366f51b860SPhilipp Zabel	default ARCH_ZYNQ
1376f51b860SPhilipp Zabel	help
1386f51b860SPhilipp Zabel	  This enables the reset controller driver for Xilinx Zynq SoCs.
1396f51b860SPhilipp Zabel
140e5d76075SStephen Gallimoresource "drivers/reset/sti/Kconfig"
141f59d23c2SChen Fengsource "drivers/reset/hisilicon/Kconfig"
142dc606c52SThierry Redingsource "drivers/reset/tegra/Kconfig"
143998cd463SMasahiro Yamada
144998cd463SMasahiro Yamadaendif
145