xref: /openbmc/linux/drivers/reset/Kconfig (revision 197858b6)
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
528fa56620SMasahiro Yamada	depends on HAS_IOMEM
53abf97755SAndrey Smirnov	default SOC_IMX7D
54abf97755SAndrey Smirnov	select MFD_SYSCON
55abf97755SAndrey Smirnov	help
56abf97755SAndrey Smirnov	  This enables the reset controller driver for i.MX7 SoCs.
57abf97755SAndrey Smirnov
5879797b6fSMartin Blumenstinglconfig RESET_LANTIQ
5979797b6fSMartin Blumenstingl	bool "Lantiq XWAY Reset Driver" if COMPILE_TEST
6079797b6fSMartin Blumenstingl	default SOC_TYPE_XWAY
6179797b6fSMartin Blumenstingl	help
6279797b6fSMartin Blumenstingl	  This enables the reset controller driver for Lantiq / Intel XWAY SoCs.
6379797b6fSMartin Blumenstingl
64cd7f4b81SPhilipp Zabelconfig RESET_LPC18XX
65cd7f4b81SPhilipp Zabel	bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
66cd7f4b81SPhilipp Zabel	default ARCH_LPC18XX
67cd7f4b81SPhilipp Zabel	help
68cd7f4b81SPhilipp Zabel	  This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
69cd7f4b81SPhilipp Zabel
7044336c24SPhilipp Zabelconfig RESET_MESON
7144336c24SPhilipp Zabel	bool "Meson Reset Driver" if COMPILE_TEST
7244336c24SPhilipp Zabel	default ARCH_MESON
7344336c24SPhilipp Zabel	help
7444336c24SPhilipp Zabel	  This enables the reset driver for Amlogic Meson SoCs.
7544336c24SPhilipp Zabel
766e667facSNeil Armstrongconfig RESET_OXNAS
776e667facSNeil Armstrong	bool
786e667facSNeil Armstrong
79fab3f730SPhilipp Zabelconfig RESET_PISTACHIO
80fab3f730SPhilipp Zabel	bool "Pistachio Reset Driver" if COMPILE_TEST
81fab3f730SPhilipp Zabel	default MACH_PISTACHIO
82fab3f730SPhilipp Zabel	help
83fab3f730SPhilipp Zabel	  This enables the reset driver for ImgTec Pistachio SoCs.
84fab3f730SPhilipp Zabel
8581c22ad0SPhilipp Zabelconfig RESET_SIMPLE
8681c22ad0SPhilipp Zabel	bool "Simple Reset Controller Driver" if COMPILE_TEST
871d7592f8SJoel Stanley	default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED
8881c22ad0SPhilipp Zabel	help
8981c22ad0SPhilipp Zabel	  This enables a simple reset controller driver for reset lines that
9081c22ad0SPhilipp Zabel	  that can be asserted and deasserted by toggling bits in a contiguous,
9181c22ad0SPhilipp Zabel	  exclusive register space.
9281c22ad0SPhilipp Zabel
931d7592f8SJoel Stanley	  Currently this driver supports:
941d7592f8SJoel Stanley	   - Altera SoCFPGAs
951d7592f8SJoel Stanley	   - ASPEED BMC SoCs
961d7592f8SJoel Stanley	   - RCC reset controller in STM32 MCUs
971d7592f8SJoel Stanley	   - Allwinner SoCs
981d7592f8SJoel Stanley	   - ZTE's zx2967 family
997e0e901dSPhilipp Zabel
100*197858b6SGabriel Fernandezconfig RESET_STM32MP157
101*197858b6SGabriel Fernandez	bool "STM32MP157 Reset Driver" if COMPILE_TEST
102*197858b6SGabriel Fernandez	default MACH_STM32MP157
103*197858b6SGabriel Fernandez	help
104*197858b6SGabriel Fernandez	  This enables the RCC reset controller driver for STM32 MPUs.
105*197858b6SGabriel Fernandez
1060ae08419SPhilipp Zabelconfig RESET_SUNXI
1070ae08419SPhilipp Zabel	bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
1080ae08419SPhilipp Zabel	default ARCH_SUNXI
109e13c205aSPhilipp Zabel	select RESET_SIMPLE
1100ae08419SPhilipp Zabel	help
1110ae08419SPhilipp Zabel	  This enables the reset driver for Allwinner SoCs.
1120ae08419SPhilipp Zabel
11328df169bSAndrew F. Davisconfig RESET_TI_SCI
11428df169bSAndrew F. Davis	tristate "TI System Control Interface (TI-SCI) reset driver"
11528df169bSAndrew F. Davis	depends on TI_SCI_PROTOCOL
11628df169bSAndrew F. Davis	help
11728df169bSAndrew F. Davis	  This enables the reset driver support over TI System Control Interface
11828df169bSAndrew F. Davis	  available on some new TI's SoCs. If you wish to use reset resources
11928df169bSAndrew F. Davis	  managed by the TI System Controller, say Y here. Otherwise, say N.
12028df169bSAndrew F. Davis
121dd9bf863SSuman Annaconfig RESET_TI_SYSCON
122cc7c2bb1SAndrew F. Davis	tristate "TI SYSCON Reset Driver"
123cc7c2bb1SAndrew F. Davis	depends on HAS_IOMEM
124cc7c2bb1SAndrew F. Davis	select MFD_SYSCON
125cc7c2bb1SAndrew F. Davis	help
126cc7c2bb1SAndrew F. Davis	  This enables the reset driver support for TI devices with
127cc7c2bb1SAndrew F. Davis	  memory-mapped reset registers as part of a syscon device node. If
128cc7c2bb1SAndrew F. Davis	  you wish to use the reset framework for such memory-mapped devices,
129cc7c2bb1SAndrew F. Davis	  say Y here. Otherwise, say N.
130cc7c2bb1SAndrew F. Davis
13154e991b5SMasahiro Yamadaconfig RESET_UNIPHIER
13254e991b5SMasahiro Yamada	tristate "Reset controller driver for UniPhier SoCs"
13354e991b5SMasahiro Yamada	depends on ARCH_UNIPHIER || COMPILE_TEST
13454e991b5SMasahiro Yamada	depends on OF && MFD_SYSCON
13554e991b5SMasahiro Yamada	default ARCH_UNIPHIER
13654e991b5SMasahiro Yamada	help
13754e991b5SMasahiro Yamada	  Support for reset controllers on UniPhier SoCs.
13854e991b5SMasahiro Yamada	  Say Y if you want to control reset signals provided by System Control
13954e991b5SMasahiro Yamada	  block, Media I/O block, Peripheral Block.
14054e991b5SMasahiro Yamada
1416f51b860SPhilipp Zabelconfig RESET_ZYNQ
1426f51b860SPhilipp Zabel	bool "ZYNQ Reset Driver" if COMPILE_TEST
1436f51b860SPhilipp Zabel	default ARCH_ZYNQ
1446f51b860SPhilipp Zabel	help
1456f51b860SPhilipp Zabel	  This enables the reset controller driver for Xilinx Zynq SoCs.
1466f51b860SPhilipp Zabel
147e5d76075SStephen Gallimoresource "drivers/reset/sti/Kconfig"
148f59d23c2SChen Fengsource "drivers/reset/hisilicon/Kconfig"
149dc606c52SThierry Redingsource "drivers/reset/tegra/Kconfig"
150998cd463SMasahiro Yamada
151998cd463SMasahiro Yamadaendif
152