Philipp Zabel | 61fc413 | 2012-11-19 17:23:13 +0100 | [diff] [blame] | 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. |
Stephen Gallimore | e5d7607 | 2013-08-07 15:53:12 +0100 | [diff] [blame] | 14 | |
Masahiro Yamada | 998cd46 | 2016-05-03 15:29:52 +0900 | [diff] [blame] | 15 | if RESET_CONTROLLER |
| 16 | |
Philipp Zabel | e27b4a6 | 2016-07-28 15:30:08 +0200 | [diff] [blame] | 17 | config RESET_ATH79 |
| 18 | bool "AR71xx Reset Driver" if COMPILE_TEST |
| 19 | default ATH79 |
| 20 | help |
| 21 | This enables the ATH79 reset controller driver that supports the |
| 22 | AR71xx SoC reset controller. |
| 23 | |
Philipp Zabel | 70d467e | 2016-07-28 15:31:12 +0200 | [diff] [blame] | 24 | config RESET_BERLIN |
| 25 | bool "Berlin Reset Driver" if COMPILE_TEST |
| 26 | default ARCH_BERLIN |
| 27 | help |
| 28 | This enables the reset controller driver for Marvell Berlin SoCs. |
| 29 | |
Philipp Zabel | cd7f4b8 | 2016-07-28 15:32:01 +0200 | [diff] [blame] | 30 | config RESET_LPC18XX |
| 31 | bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST |
| 32 | default ARCH_LPC18XX |
| 33 | help |
| 34 | This enables the reset controller driver for NXP LPC18xx/43xx SoCs. |
| 35 | |
Philipp Zabel | 44336c2 | 2016-07-28 15:32:36 +0200 | [diff] [blame] | 36 | config RESET_MESON |
| 37 | bool "Meson Reset Driver" if COMPILE_TEST |
| 38 | default ARCH_MESON |
| 39 | help |
| 40 | This enables the reset driver for Amlogic Meson SoCs. |
| 41 | |
Neil Armstrong | 6e667fa | 2016-04-01 16:16:13 +0200 | [diff] [blame] | 42 | config RESET_OXNAS |
| 43 | bool |
| 44 | |
Philipp Zabel | fab3f73 | 2016-07-28 15:33:07 +0200 | [diff] [blame] | 45 | config RESET_PISTACHIO |
| 46 | bool "Pistachio Reset Driver" if COMPILE_TEST |
| 47 | default MACH_PISTACHIO |
| 48 | help |
| 49 | This enables the reset driver for ImgTec Pistachio SoCs. |
| 50 | |
Philipp Zabel | 5c91407 | 2016-07-28 15:33:43 +0200 | [diff] [blame] | 51 | config RESET_SOCFPGA |
| 52 | bool "SoCFPGA Reset Driver" if COMPILE_TEST |
| 53 | default ARCH_SOCFPGA |
| 54 | help |
| 55 | This enables the reset controller driver for Altera SoCFPGAs. |
| 56 | |
Philipp Zabel | 7e0e901 | 2016-07-28 15:34:15 +0200 | [diff] [blame] | 57 | config RESET_STM32 |
| 58 | bool "STM32 Reset Driver" if COMPILE_TEST |
| 59 | default ARCH_STM32 |
| 60 | help |
| 61 | This enables the RCC reset controller driver for STM32 MCUs. |
| 62 | |
Philipp Zabel | 0ae0841 | 2016-08-09 09:28:44 +0200 | [diff] [blame] | 63 | config RESET_SUNXI |
| 64 | bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI |
| 65 | default ARCH_SUNXI |
| 66 | help |
| 67 | This enables the reset driver for Allwinner SoCs. |
| 68 | |
Andrew F. Davis | cc7c2bb | 2016-06-27 12:12:17 -0500 | [diff] [blame] | 69 | config TI_SYSCON_RESET |
| 70 | tristate "TI SYSCON Reset Driver" |
| 71 | depends on HAS_IOMEM |
| 72 | select MFD_SYSCON |
| 73 | help |
| 74 | This enables the reset driver support for TI devices with |
| 75 | memory-mapped reset registers as part of a syscon device node. If |
| 76 | you wish to use the reset framework for such memory-mapped devices, |
| 77 | say Y here. Otherwise, say N. |
| 78 | |
Masahiro Yamada | 54e991b | 2016-08-02 13:18:29 +0900 | [diff] [blame] | 79 | config RESET_UNIPHIER |
| 80 | tristate "Reset controller driver for UniPhier SoCs" |
| 81 | depends on ARCH_UNIPHIER || COMPILE_TEST |
| 82 | depends on OF && MFD_SYSCON |
| 83 | default ARCH_UNIPHIER |
| 84 | help |
| 85 | Support for reset controllers on UniPhier SoCs. |
| 86 | Say Y if you want to control reset signals provided by System Control |
| 87 | block, Media I/O block, Peripheral Block. |
| 88 | |
Philipp Zabel | 6f51b86 | 2016-08-09 09:28:54 +0200 | [diff] [blame] | 89 | config RESET_ZYNQ |
| 90 | bool "ZYNQ Reset Driver" if COMPILE_TEST |
| 91 | default ARCH_ZYNQ |
| 92 | help |
| 93 | This enables the reset controller driver for Xilinx Zynq SoCs. |
| 94 | |
Stephen Gallimore | e5d7607 | 2013-08-07 15:53:12 +0100 | [diff] [blame] | 95 | source "drivers/reset/sti/Kconfig" |
Chen Feng | f59d23c | 2015-11-20 10:10:05 +0800 | [diff] [blame] | 96 | source "drivers/reset/hisilicon/Kconfig" |
Masahiro Yamada | 998cd46 | 2016-05-03 15:29:52 +0900 | [diff] [blame] | 97 | |
| 98 | endif |