]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - drivers/reset/Kconfig
Merge tag 'trace-v5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[mirror_ubuntu-eoan-kernel.git] / drivers / reset / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
61fc4131
PZ
2config ARCH_HAS_RESET_CONTROLLER
3 bool
4
5menuconfig RESET_CONTROLLER
6 bool "Reset Controller Support"
7 default y if ARCH_HAS_RESET_CONTROLLER
8 help
9 Generic Reset Controller support.
10
11 This framework is designed to abstract reset handling of devices
12 via GPIOs or SoC-internal reset controller modules.
13
14 If unsure, say no.
e5d76075 15
998cd463
MY
16if RESET_CONTROLLER
17
62700682
TT
18config RESET_A10SR
19 tristate "Altera Arria10 System Resource Reset"
20 depends on MFD_ALTERA_A10SR
21 help
22 This option enables support for the external reset functions for
23 peripheral PHYs on the Altera Arria10 System Resource Chip.
24
e27b4a6e
PZ
25config RESET_ATH79
26 bool "AR71xx Reset Driver" if COMPILE_TEST
27 default ATH79
28 help
29 This enables the ATH79 reset controller driver that supports the
30 AR71xx SoC reset controller.
31
37634923
EP
32config RESET_AXS10X
33 bool "AXS10x Reset Driver" if COMPILE_TEST
34 default ARC_PLAT_AXS10X
35 help
36 This enables the reset controller driver for AXS10x.
37
70d467ea
PZ
38config RESET_BERLIN
39 bool "Berlin Reset Driver" if COMPILE_TEST
40 default ARCH_BERLIN
41 help
42 This enables the reset controller driver for Marvell Berlin SoCs.
43
77750bc0
FF
44config RESET_BRCMSTB
45 tristate "Broadcom STB reset controller"
46 depends on ARCH_BRCMSTB || COMPILE_TEST
47 default ARCH_BRCMSTB
48 help
49 This enables the reset controller driver for Broadcom STB SoCs using
50 a SUN_TOP_CTRL_SW_INIT style controller.
51
13541226
VG
52config RESET_HSDK
53 bool "Synopsys HSDK Reset Driver"
2d48a237 54 depends on HAS_IOMEM
544e3bf4 55 depends on ARC_SOC_HSDK || COMPILE_TEST
e0be864f 56 help
13541226 57 This enables the reset controller driver for HSDK board.
e0be864f 58
abf97755 59config RESET_IMX7
c979dbf5 60 bool "i.MX7/8 Reset Driver" if COMPILE_TEST
8fa56620 61 depends on HAS_IOMEM
c979dbf5 62 default SOC_IMX7D || (ARM64 && ARCH_MXC)
abf97755
AS
63 select MFD_SYSCON
64 help
65 This enables the reset controller driver for i.MX7 SoCs.
66
79797b6f
MB
67config RESET_LANTIQ
68 bool "Lantiq XWAY Reset Driver" if COMPILE_TEST
69 default SOC_TYPE_XWAY
70 help
71 This enables the reset controller driver for Lantiq / Intel XWAY SoCs.
72
cd7f4b81
PZ
73config RESET_LPC18XX
74 bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
75 default ARCH_LPC18XX
76 help
77 This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
78
44336c24
PZ
79config RESET_MESON
80 bool "Meson Reset Driver" if COMPILE_TEST
81 default ARCH_MESON
82 help
83 This enables the reset driver for Amlogic Meson SoCs.
84
d903779b
JB
85config RESET_MESON_AUDIO_ARB
86 tristate "Meson Audio Memory Arbiter Reset Driver"
87 depends on ARCH_MESON || COMPILE_TEST
88 help
89 This enables the reset driver for Audio Memory Arbiter of
90 Amlogic's A113 based SoCs
91
6e667fac
NA
92config RESET_OXNAS
93 bool
94
fab3f730
PZ
95config RESET_PISTACHIO
96 bool "Pistachio Reset Driver" if COMPILE_TEST
97 default MACH_PISTACHIO
98 help
99 This enables the reset driver for ImgTec Pistachio SoCs.
100
5ecb0651
SS
101config RESET_QCOM_AOSS
102 bool "Qcom AOSS Reset Driver"
103 depends on ARCH_QCOM || COMPILE_TEST
104 help
105 This enables the AOSS (always on subsystem) reset driver
106 for Qualcomm SDM845 SoCs. Say Y if you want to control
107 reset signals provided by AOSS for Modem, Venus, ADSP,
108 GPU, Camera, Wireless, Display subsystem. Otherwise, say N.
109
eea2926b
SS
110config RESET_QCOM_PDC
111 tristate "Qualcomm PDC Reset Driver"
112 depends on ARCH_QCOM || COMPILE_TEST
113 help
114 This enables the PDC (Power Domain Controller) reset driver
115 for Qualcomm Technologies Inc SDM845 SoCs. Say Y if you want
116 to control reset signals provided by PDC for Modem, Compute,
117 Display, GPU, Debug, AOP, Sensors, Audio, SP and APPS.
118
81c22ad0
PZ
119config RESET_SIMPLE
120 bool "Simple Reset Controller Driver" if COMPILE_TEST
b3ca9888 121 default ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED
81c22ad0
PZ
122 help
123 This enables a simple reset controller driver for reset lines that
124 that can be asserted and deasserted by toggling bits in a contiguous,
125 exclusive register space.
126
1d7592f8
JS
127 Currently this driver supports:
128 - Altera SoCFPGAs
129 - ASPEED BMC SoCs
130 - RCC reset controller in STM32 MCUs
131 - Allwinner SoCs
132 - ZTE's zx2967 family
7e0e901d 133
197858b6
GF
134config RESET_STM32MP157
135 bool "STM32MP157 Reset Driver" if COMPILE_TEST
136 default MACH_STM32MP157
137 help
138 This enables the RCC reset controller driver for STM32 MPUs.
139
b3ca9888
DN
140config RESET_SOCFPGA
141 bool "SoCFPGA Reset Driver" if COMPILE_TEST && !ARCH_SOCFPGA
142 default ARCH_SOCFPGA
143 select RESET_SIMPLE
144 help
145 This enables the reset driver for the SoCFPGA ARMv7 platforms. This
146 driver gets initialized early during platform init calls.
147
0ae08419
PZ
148config RESET_SUNXI
149 bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
150 default ARCH_SUNXI
e13c205a 151 select RESET_SIMPLE
0ae08419
PZ
152 help
153 This enables the reset driver for Allwinner SoCs.
154
28df169b
AD
155config RESET_TI_SCI
156 tristate "TI System Control Interface (TI-SCI) reset driver"
157 depends on TI_SCI_PROTOCOL
158 help
159 This enables the reset driver support over TI System Control Interface
160 available on some new TI's SoCs. If you wish to use reset resources
161 managed by the TI System Controller, say Y here. Otherwise, say N.
162
dd9bf863 163config RESET_TI_SYSCON
cc7c2bb1
AD
164 tristate "TI SYSCON Reset Driver"
165 depends on HAS_IOMEM
166 select MFD_SYSCON
167 help
168 This enables the reset driver support for TI devices with
169 memory-mapped reset registers as part of a syscon device node. If
170 you wish to use the reset framework for such memory-mapped devices,
171 say Y here. Otherwise, say N.
172
54e991b5
MY
173config RESET_UNIPHIER
174 tristate "Reset controller driver for UniPhier SoCs"
175 depends on ARCH_UNIPHIER || COMPILE_TEST
176 depends on OF && MFD_SYSCON
177 default ARCH_UNIPHIER
178 help
179 Support for reset controllers on UniPhier SoCs.
180 Say Y if you want to control reset signals provided by System Control
181 block, Media I/O block, Peripheral Block.
182
3eb8f765
KH
183config RESET_UNIPHIER_GLUE
184 tristate "Reset driver in glue layer for UniPhier SoCs"
499fef09
KH
185 depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
186 default ARCH_UNIPHIER
187 select RESET_SIMPLE
188 help
3eb8f765
KH
189 Support for peripheral core reset included in its own glue layer
190 on UniPhier SoCs. Say Y if you want to control reset signals
191 provided by the glue layer.
499fef09 192
6f51b860
PZ
193config RESET_ZYNQ
194 bool "ZYNQ Reset Driver" if COMPILE_TEST
195 default ARCH_ZYNQ
196 help
197 This enables the reset controller driver for Xilinx Zynq SoCs.
198
e5d76075 199source "drivers/reset/sti/Kconfig"
f59d23c2 200source "drivers/reset/hisilicon/Kconfig"
dc606c52 201source "drivers/reset/tegra/Kconfig"
998cd463
MY
202
203endif