xref: /openbmc/linux/drivers/reset/Kconfig (revision 239480ab)
1config ARCH_HAS_RESET_CONTROLLER
2	bool
3
4menuconfig RESET_CONTROLLER
5	bool "Reset Controller Support"
6	default y if ARCH_HAS_RESET_CONTROLLER
7	help
8	  Generic Reset Controller support.
9
10	  This framework is designed to abstract reset handling of devices
11	  via GPIOs or SoC-internal reset controller modules.
12
13	  If unsure, say no.
14
15if RESET_CONTROLLER
16
17config RESET_A10SR
18	tristate "Altera Arria10 System Resource Reset"
19	depends on MFD_ALTERA_A10SR
20	help
21	  This option enables support for the external reset functions for
22	  peripheral PHYs on the Altera Arria10 System Resource Chip.
23
24config RESET_ATH79
25	bool "AR71xx Reset Driver" if COMPILE_TEST
26	default ATH79
27	help
28	  This enables the ATH79 reset controller driver that supports the
29	  AR71xx SoC reset controller.
30
31config RESET_BERLIN
32	bool "Berlin Reset Driver" if COMPILE_TEST
33	default ARCH_BERLIN
34	help
35	  This enables the reset controller driver for Marvell Berlin SoCs.
36
37config RESET_IMX7
38	bool "i.MX7 Reset Driver" if COMPILE_TEST
39	default SOC_IMX7D
40	select MFD_SYSCON
41	help
42	  This enables the reset controller driver for i.MX7 SoCs.
43
44config RESET_LPC18XX
45	bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
46	default ARCH_LPC18XX
47	help
48	  This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
49
50config RESET_MESON
51	bool "Meson Reset Driver" if COMPILE_TEST
52	default ARCH_MESON
53	help
54	  This enables the reset driver for Amlogic Meson SoCs.
55
56config RESET_OXNAS
57	bool
58
59config RESET_PISTACHIO
60	bool "Pistachio Reset Driver" if COMPILE_TEST
61	default MACH_PISTACHIO
62	help
63	  This enables the reset driver for ImgTec Pistachio SoCs.
64
65config RESET_SOCFPGA
66	bool "SoCFPGA Reset Driver" if COMPILE_TEST
67	default ARCH_SOCFPGA
68	help
69	  This enables the reset controller driver for Altera SoCFPGAs.
70
71config RESET_STM32
72	bool "STM32 Reset Driver" if COMPILE_TEST
73	default ARCH_STM32
74	help
75	  This enables the RCC reset controller driver for STM32 MCUs.
76
77config RESET_SUNXI
78	bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
79	default ARCH_SUNXI
80	help
81	  This enables the reset driver for Allwinner SoCs.
82
83config TI_SYSCON_RESET
84	tristate "TI SYSCON Reset Driver"
85	depends on HAS_IOMEM
86	select MFD_SYSCON
87	help
88	  This enables the reset driver support for TI devices with
89	  memory-mapped reset registers as part of a syscon device node. If
90	  you wish to use the reset framework for such memory-mapped devices,
91	  say Y here. Otherwise, say N.
92
93config RESET_UNIPHIER
94	tristate "Reset controller driver for UniPhier SoCs"
95	depends on ARCH_UNIPHIER || COMPILE_TEST
96	depends on OF && MFD_SYSCON
97	default ARCH_UNIPHIER
98	help
99	  Support for reset controllers on UniPhier SoCs.
100	  Say Y if you want to control reset signals provided by System Control
101	  block, Media I/O block, Peripheral Block.
102
103config RESET_ZX2967
104	bool "ZTE ZX2967 Reset Driver"
105	depends on ARCH_ZX || COMPILE_TEST
106	help
107	  This enables the reset controller driver for ZTE's zx2967 family.
108
109config RESET_ZYNQ
110	bool "ZYNQ Reset Driver" if COMPILE_TEST
111	default ARCH_ZYNQ
112	help
113	  This enables the reset controller driver for Xilinx Zynq SoCs.
114
115source "drivers/reset/sti/Kconfig"
116source "drivers/reset/hisilicon/Kconfig"
117source "drivers/reset/tegra/Kconfig"
118
119endif
120