]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/reset/Kconfig
Merge tag 'upstream-4.19-rc1-fix' of git://git.infradead.org/linux-ubifs
[linux.git] / drivers / reset / Kconfig
1 config ARCH_HAS_RESET_CONTROLLER
2         bool
3
4 menuconfig 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
15 if RESET_CONTROLLER
16
17 config 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
24 config 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
31 config RESET_AXS10X
32         bool "AXS10x Reset Driver" if COMPILE_TEST
33         default ARC_PLAT_AXS10X
34         help
35           This enables the reset controller driver for AXS10x.
36
37 config RESET_BERLIN
38         bool "Berlin Reset Driver" if COMPILE_TEST
39         default ARCH_BERLIN
40         help
41           This enables the reset controller driver for Marvell Berlin SoCs.
42
43 config RESET_HSDK
44         bool "Synopsys HSDK Reset Driver"
45         depends on HAS_IOMEM
46         depends on ARC_SOC_HSDK || COMPILE_TEST
47         help
48           This enables the reset controller driver for HSDK board.
49
50 config RESET_IMX7
51         bool "i.MX7 Reset Driver" if COMPILE_TEST
52         depends on HAS_IOMEM
53         default SOC_IMX7D
54         select MFD_SYSCON
55         help
56           This enables the reset controller driver for i.MX7 SoCs.
57
58 config RESET_LANTIQ
59         bool "Lantiq XWAY Reset Driver" if COMPILE_TEST
60         default SOC_TYPE_XWAY
61         help
62           This enables the reset controller driver for Lantiq / Intel XWAY SoCs.
63
64 config RESET_LPC18XX
65         bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
66         default ARCH_LPC18XX
67         help
68           This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
69
70 config RESET_MESON
71         bool "Meson Reset Driver" if COMPILE_TEST
72         default ARCH_MESON
73         help
74           This enables the reset driver for Amlogic Meson SoCs.
75
76 config RESET_OXNAS
77         bool
78
79 config RESET_PISTACHIO
80         bool "Pistachio Reset Driver" if COMPILE_TEST
81         default MACH_PISTACHIO
82         help
83           This enables the reset driver for ImgTec Pistachio SoCs.
84
85 config RESET_QCOM_AOSS
86         bool "Qcom AOSS Reset Driver"
87         depends on ARCH_QCOM || COMPILE_TEST
88         help
89           This enables the AOSS (always on subsystem) reset driver
90           for Qualcomm SDM845 SoCs. Say Y if you want to control
91           reset signals provided by AOSS for Modem, Venus, ADSP,
92           GPU, Camera, Wireless, Display subsystem. Otherwise, say N.
93
94 config RESET_SIMPLE
95         bool "Simple Reset Controller Driver" if COMPILE_TEST
96         default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED
97         help
98           This enables a simple reset controller driver for reset lines that
99           that can be asserted and deasserted by toggling bits in a contiguous,
100           exclusive register space.
101
102           Currently this driver supports:
103            - Altera SoCFPGAs
104            - ASPEED BMC SoCs
105            - RCC reset controller in STM32 MCUs
106            - Allwinner SoCs
107            - ZTE's zx2967 family
108
109 config RESET_STM32MP157
110         bool "STM32MP157 Reset Driver" if COMPILE_TEST
111         default MACH_STM32MP157
112         help
113           This enables the RCC reset controller driver for STM32 MPUs.
114
115 config RESET_SUNXI
116         bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
117         default ARCH_SUNXI
118         select RESET_SIMPLE
119         help
120           This enables the reset driver for Allwinner SoCs.
121
122 config RESET_TI_SCI
123         tristate "TI System Control Interface (TI-SCI) reset driver"
124         depends on TI_SCI_PROTOCOL
125         help
126           This enables the reset driver support over TI System Control Interface
127           available on some new TI's SoCs. If you wish to use reset resources
128           managed by the TI System Controller, say Y here. Otherwise, say N.
129
130 config RESET_TI_SYSCON
131         tristate "TI SYSCON Reset Driver"
132         depends on HAS_IOMEM
133         select MFD_SYSCON
134         help
135           This enables the reset driver support for TI devices with
136           memory-mapped reset registers as part of a syscon device node. If
137           you wish to use the reset framework for such memory-mapped devices,
138           say Y here. Otherwise, say N.
139
140 config RESET_UNIPHIER
141         tristate "Reset controller driver for UniPhier SoCs"
142         depends on ARCH_UNIPHIER || COMPILE_TEST
143         depends on OF && MFD_SYSCON
144         default ARCH_UNIPHIER
145         help
146           Support for reset controllers on UniPhier SoCs.
147           Say Y if you want to control reset signals provided by System Control
148           block, Media I/O block, Peripheral Block.
149
150 config RESET_UNIPHIER_USB3
151         tristate "USB3 reset driver for UniPhier SoCs"
152         depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
153         default ARCH_UNIPHIER
154         select RESET_SIMPLE
155         help
156           Support for the USB3 core reset on UniPhier SoCs.
157           Say Y if you want to control reset signals provided by
158           USB3 glue layer.
159
160 config RESET_ZYNQ
161         bool "ZYNQ Reset Driver" if COMPILE_TEST
162         default ARCH_ZYNQ
163         help
164           This enables the reset controller driver for Xilinx Zynq SoCs.
165
166 source "drivers/reset/sti/Kconfig"
167 source "drivers/reset/hisilicon/Kconfig"
168 source "drivers/reset/tegra/Kconfig"
169
170 endif