rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [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. |
| 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_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 | |
| 37 | config RESET_HSDK |
| 38 | bool "Synopsys HSDK Reset Driver" |
| 39 | depends on HAS_IOMEM |
| 40 | depends on ARC_SOC_HSDK || COMPILE_TEST |
| 41 | help |
| 42 | This enables the reset controller driver for HSDK board. |
| 43 | |
| 44 | config RESET_IMX7 |
| 45 | bool "i.MX7 Reset Driver" if COMPILE_TEST |
| 46 | default SOC_IMX7D |
| 47 | select MFD_SYSCON |
| 48 | help |
| 49 | This enables the reset controller driver for i.MX7 SoCs. |
| 50 | |
| 51 | config RESET_LANTIQ |
| 52 | bool "Lantiq XWAY Reset Driver" if COMPILE_TEST |
| 53 | default SOC_TYPE_XWAY |
| 54 | help |
| 55 | This enables the reset controller driver for Lantiq / Intel XWAY SoCs. |
| 56 | |
| 57 | config RESET_LPC18XX |
| 58 | bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST |
| 59 | default ARCH_LPC18XX |
| 60 | help |
| 61 | This enables the reset controller driver for NXP LPC18xx/43xx SoCs. |
| 62 | |
| 63 | config RESET_MESON |
| 64 | bool "Meson Reset Driver" if COMPILE_TEST |
| 65 | default ARCH_MESON |
| 66 | help |
| 67 | This enables the reset driver for Amlogic Meson SoCs. |
| 68 | |
| 69 | config RESET_OXNAS |
| 70 | bool |
| 71 | |
| 72 | config RESET_PISTACHIO |
| 73 | bool "Pistachio Reset Driver" if COMPILE_TEST |
| 74 | default MACH_PISTACHIO |
| 75 | help |
| 76 | This enables the reset driver for ImgTec Pistachio SoCs. |
| 77 | |
| 78 | config RESET_SOCFPGA |
| 79 | bool "SoCFPGA Reset Driver" if COMPILE_TEST |
| 80 | default ARCH_SOCFPGA |
| 81 | help |
| 82 | This enables the reset controller driver for Altera SoCFPGAs. |
| 83 | |
| 84 | config RESET_STM32 |
| 85 | bool "STM32 Reset Driver" if COMPILE_TEST |
| 86 | default ARCH_STM32 |
| 87 | help |
| 88 | This enables the RCC reset controller driver for STM32 MCUs. |
| 89 | |
| 90 | config RESET_SUNXI |
| 91 | bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI |
| 92 | default ARCH_SUNXI |
| 93 | help |
| 94 | This enables the reset driver for Allwinner SoCs. |
| 95 | |
| 96 | config RESET_TI_SCI |
| 97 | tristate "TI System Control Interface (TI-SCI) reset driver" |
| 98 | depends on TI_SCI_PROTOCOL |
| 99 | help |
| 100 | This enables the reset driver support over TI System Control Interface |
| 101 | available on some new TI's SoCs. If you wish to use reset resources |
| 102 | managed by the TI System Controller, say Y here. Otherwise, say N. |
| 103 | |
| 104 | config RESET_TI_SYSCON |
| 105 | tristate "TI SYSCON Reset Driver" |
| 106 | depends on HAS_IOMEM |
| 107 | select MFD_SYSCON |
| 108 | help |
| 109 | This enables the reset driver support for TI devices with |
| 110 | memory-mapped reset registers as part of a syscon device node. If |
| 111 | you wish to use the reset framework for such memory-mapped devices, |
| 112 | say Y here. Otherwise, say N. |
| 113 | |
| 114 | config RESET_UNIPHIER |
| 115 | tristate "Reset controller driver for UniPhier SoCs" |
| 116 | depends on ARCH_UNIPHIER || COMPILE_TEST |
| 117 | depends on OF && MFD_SYSCON |
| 118 | default ARCH_UNIPHIER |
| 119 | help |
| 120 | Support for reset controllers on UniPhier SoCs. |
| 121 | Say Y if you want to control reset signals provided by System Control |
| 122 | block, Media I/O block, Peripheral Block. |
| 123 | |
| 124 | config RESET_ZX2967 |
| 125 | bool "ZTE ZX2967 Reset Driver" |
| 126 | depends on ARCH_ZX || COMPILE_TEST |
| 127 | help |
| 128 | This enables the reset controller driver for ZTE's zx2967 family. |
| 129 | |
| 130 | config RESET_ZYNQ |
| 131 | bool "ZYNQ Reset Driver" if COMPILE_TEST |
| 132 | default ARCH_ZYNQ |
| 133 | help |
| 134 | This enables the reset controller driver for Xilinx Zynq SoCs. |
| 135 | |
| 136 | source "drivers/reset/sti/Kconfig" |
| 137 | source "drivers/reset/hisilicon/Kconfig" |
| 138 | source "drivers/reset/tegra/Kconfig" |
| 139 | |
| 140 | endif |