2019-05-19 06:07:45 -06:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-11-19 09:23:13 -07:00
|
|
|
config ARCH_HAS_RESET_CONTROLLER
|
|
|
|
bool
|
|
|
|
|
|
|
|
menuconfig RESET_CONTROLLER
|
|
|
|
bool "Reset Controller Support"
|
|
|
|
default y if ARCH_HAS_RESET_CONTROLLER
|
|
|
|
help
|
|
|
|
Generic Reset Controller support.
|
|
|
|
|
|
|
|
This framework is designed to abstract reset handling of devices
|
|
|
|
via GPIOs or SoC-internal reset controller modules.
|
|
|
|
|
|
|
|
If unsure, say no.
|
2013-08-07 08:53:12 -06:00
|
|
|
|
2016-05-03 00:29:52 -06:00
|
|
|
if RESET_CONTROLLER
|
|
|
|
|
2017-02-22 10:10:17 -07:00
|
|
|
config RESET_A10SR
|
|
|
|
tristate "Altera Arria10 System Resource Reset"
|
|
|
|
depends on MFD_ALTERA_A10SR
|
|
|
|
help
|
|
|
|
This option enables support for the external reset functions for
|
|
|
|
peripheral PHYs on the Altera Arria10 System Resource Chip.
|
|
|
|
|
2016-07-28 07:30:08 -06:00
|
|
|
config RESET_ATH79
|
|
|
|
bool "AR71xx Reset Driver" if COMPILE_TEST
|
|
|
|
default ATH79
|
|
|
|
help
|
|
|
|
This enables the ATH79 reset controller driver that supports the
|
|
|
|
AR71xx SoC reset controller.
|
|
|
|
|
2017-09-14 08:28:42 -06:00
|
|
|
config RESET_AXS10X
|
|
|
|
bool "AXS10x Reset Driver" if COMPILE_TEST
|
|
|
|
default ARC_PLAT_AXS10X
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for AXS10x.
|
|
|
|
|
2016-07-28 07:31:12 -06:00
|
|
|
config RESET_BERLIN
|
|
|
|
bool "Berlin Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_BERLIN
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Marvell Berlin SoCs.
|
|
|
|
|
2019-01-23 15:54:36 -07:00
|
|
|
config RESET_BRCMSTB
|
|
|
|
tristate "Broadcom STB reset controller"
|
|
|
|
depends on ARCH_BRCMSTB || COMPILE_TEST
|
|
|
|
default ARCH_BRCMSTB
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Broadcom STB SoCs using
|
|
|
|
a SUN_TOP_CTRL_SW_INIT style controller.
|
|
|
|
|
2017-08-31 12:06:07 -06:00
|
|
|
config RESET_HSDK
|
|
|
|
bool "Synopsys HSDK Reset Driver"
|
2017-09-08 22:02:46 -06:00
|
|
|
depends on HAS_IOMEM
|
2017-09-11 06:22:08 -06:00
|
|
|
depends on ARC_SOC_HSDK || COMPILE_TEST
|
2017-07-19 12:45:11 -06:00
|
|
|
help
|
2017-08-31 12:06:07 -06:00
|
|
|
This enables the reset controller driver for HSDK board.
|
2017-07-19 12:45:11 -06:00
|
|
|
|
2017-02-21 09:13:31 -07:00
|
|
|
config RESET_IMX7
|
2019-01-21 19:10:43 -07:00
|
|
|
bool "i.MX7/8 Reset Driver" if COMPILE_TEST
|
2018-03-06 04:15:11 -07:00
|
|
|
depends on HAS_IOMEM
|
2019-01-21 19:10:43 -07:00
|
|
|
default SOC_IMX7D || (ARM64 && ARCH_MXC)
|
2017-02-21 09:13:31 -07:00
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for i.MX7 SoCs.
|
|
|
|
|
2017-08-19 16:18:17 -06:00
|
|
|
config RESET_LANTIQ
|
|
|
|
bool "Lantiq XWAY Reset Driver" if COMPILE_TEST
|
|
|
|
default SOC_TYPE_XWAY
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Lantiq / Intel XWAY SoCs.
|
|
|
|
|
2016-07-28 07:32:01 -06:00
|
|
|
config RESET_LPC18XX
|
|
|
|
bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_LPC18XX
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for NXP LPC18xx/43xx SoCs.
|
|
|
|
|
2016-07-28 07:32:36 -06:00
|
|
|
config RESET_MESON
|
|
|
|
bool "Meson Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_MESON
|
|
|
|
help
|
|
|
|
This enables the reset driver for Amlogic Meson SoCs.
|
|
|
|
|
2018-07-20 09:26:33 -06:00
|
|
|
config RESET_MESON_AUDIO_ARB
|
|
|
|
tristate "Meson Audio Memory Arbiter Reset Driver"
|
|
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This enables the reset driver for Audio Memory Arbiter of
|
|
|
|
Amlogic's A113 based SoCs
|
|
|
|
|
2016-04-01 08:16:13 -06:00
|
|
|
config RESET_OXNAS
|
|
|
|
bool
|
|
|
|
|
2016-07-28 07:33:07 -06:00
|
|
|
config RESET_PISTACHIO
|
|
|
|
bool "Pistachio Reset Driver" if COMPILE_TEST
|
|
|
|
default MACH_PISTACHIO
|
|
|
|
help
|
|
|
|
This enables the reset driver for ImgTec Pistachio SoCs.
|
|
|
|
|
2018-06-27 08:24:43 -06:00
|
|
|
config RESET_QCOM_AOSS
|
|
|
|
bool "Qcom AOSS Reset Driver"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This enables the AOSS (always on subsystem) reset driver
|
|
|
|
for Qualcomm SDM845 SoCs. Say Y if you want to control
|
|
|
|
reset signals provided by AOSS for Modem, Venus, ADSP,
|
|
|
|
GPU, Camera, Wireless, Display subsystem. Otherwise, say N.
|
|
|
|
|
2018-08-29 13:12:11 -06:00
|
|
|
config RESET_QCOM_PDC
|
|
|
|
tristate "Qualcomm PDC Reset Driver"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This enables the PDC (Power Domain Controller) reset driver
|
|
|
|
for Qualcomm Technologies Inc SDM845 SoCs. Say Y if you want
|
|
|
|
to control reset signals provided by PDC for Modem, Compute,
|
|
|
|
Display, GPU, Debug, AOP, Sensors, Audio, SP and APPS.
|
|
|
|
|
2019-07-08 02:41:08 -06:00
|
|
|
config RESET_SCMI
|
|
|
|
tristate "Reset driver controlled via ARM SCMI interface"
|
|
|
|
depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
|
|
|
|
default ARM_SCMI_PROTOCOL
|
|
|
|
help
|
|
|
|
This driver provides support for reset signal/domains that are
|
|
|
|
controlled by firmware that implements the SCMI interface.
|
|
|
|
|
|
|
|
This driver uses SCMI Message Protocol to interact with the
|
|
|
|
firmware controlling all the reset signals.
|
|
|
|
|
2017-08-11 04:58:43 -06:00
|
|
|
config RESET_SIMPLE
|
|
|
|
bool "Simple Reset Controller Driver" if COMPILE_TEST
|
2019-10-23 04:13:10 -06:00
|
|
|
default ARCH_AGILEX || ARCH_ASPEED || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARC
|
2017-08-11 04:58:43 -06:00
|
|
|
help
|
|
|
|
This enables a simple reset controller driver for reset lines that
|
|
|
|
that can be asserted and deasserted by toggling bits in a contiguous,
|
|
|
|
exclusive register space.
|
|
|
|
|
2018-02-19 18:43:29 -07:00
|
|
|
Currently this driver supports:
|
|
|
|
- Altera SoCFPGAs
|
|
|
|
- ASPEED BMC SoCs
|
2019-10-23 04:13:09 -06:00
|
|
|
- Bitmain BM1880 SoC
|
2019-10-23 04:13:10 -06:00
|
|
|
- Realtek SoCs
|
2018-02-19 18:43:29 -07:00
|
|
|
- RCC reset controller in STM32 MCUs
|
|
|
|
- Allwinner SoCs
|
|
|
|
- ZTE's zx2967 family
|
2016-07-28 07:34:15 -06:00
|
|
|
|
2018-03-19 01:25:51 -06:00
|
|
|
config RESET_STM32MP157
|
|
|
|
bool "STM32MP157 Reset Driver" if COMPILE_TEST
|
|
|
|
default MACH_STM32MP157
|
|
|
|
help
|
|
|
|
This enables the RCC reset controller driver for STM32 MPUs.
|
|
|
|
|
2018-11-13 11:50:48 -07:00
|
|
|
config RESET_SOCFPGA
|
|
|
|
bool "SoCFPGA Reset Driver" if COMPILE_TEST && !ARCH_SOCFPGA
|
|
|
|
default ARCH_SOCFPGA
|
|
|
|
select RESET_SIMPLE
|
|
|
|
help
|
|
|
|
This enables the reset driver for the SoCFPGA ARMv7 platforms. This
|
|
|
|
driver gets initialized early during platform init calls.
|
|
|
|
|
2016-08-09 01:28:44 -06:00
|
|
|
config RESET_SUNXI
|
|
|
|
bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
|
|
|
|
default ARCH_SUNXI
|
2017-08-11 04:58:43 -06:00
|
|
|
select RESET_SIMPLE
|
2016-08-09 01:28:44 -06:00
|
|
|
help
|
|
|
|
This enables the reset driver for Allwinner SoCs.
|
|
|
|
|
2017-05-24 12:09:30 -06:00
|
|
|
config RESET_TI_SCI
|
|
|
|
tristate "TI System Control Interface (TI-SCI) reset driver"
|
|
|
|
depends on TI_SCI_PROTOCOL
|
|
|
|
help
|
|
|
|
This enables the reset driver support over TI System Control Interface
|
|
|
|
available on some new TI's SoCs. If you wish to use reset resources
|
|
|
|
managed by the TI System Controller, say Y here. Otherwise, say N.
|
|
|
|
|
2017-05-23 21:00:12 -06:00
|
|
|
config RESET_TI_SYSCON
|
2016-06-27 11:12:17 -06:00
|
|
|
tristate "TI SYSCON Reset Driver"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
This enables the reset driver support for TI devices with
|
|
|
|
memory-mapped reset registers as part of a syscon device node. If
|
|
|
|
you wish to use the reset framework for such memory-mapped devices,
|
|
|
|
say Y here. Otherwise, say N.
|
|
|
|
|
2016-08-01 22:18:29 -06:00
|
|
|
config RESET_UNIPHIER
|
|
|
|
tristate "Reset controller driver for UniPhier SoCs"
|
|
|
|
depends on ARCH_UNIPHIER || COMPILE_TEST
|
|
|
|
depends on OF && MFD_SYSCON
|
|
|
|
default ARCH_UNIPHIER
|
|
|
|
help
|
|
|
|
Support for reset controllers on UniPhier SoCs.
|
|
|
|
Say Y if you want to control reset signals provided by System Control
|
|
|
|
block, Media I/O block, Peripheral Block.
|
|
|
|
|
2018-11-08 18:42:05 -07:00
|
|
|
config RESET_UNIPHIER_GLUE
|
|
|
|
tristate "Reset driver in glue layer for UniPhier SoCs"
|
2018-07-09 19:14:17 -06:00
|
|
|
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
|
|
|
|
default ARCH_UNIPHIER
|
|
|
|
select RESET_SIMPLE
|
|
|
|
help
|
2018-11-08 18:42:05 -07:00
|
|
|
Support for peripheral core reset included in its own glue layer
|
|
|
|
on UniPhier SoCs. Say Y if you want to control reset signals
|
|
|
|
provided by the glue layer.
|
2018-07-09 19:14:17 -06:00
|
|
|
|
2016-08-09 01:28:54 -06:00
|
|
|
config RESET_ZYNQ
|
|
|
|
bool "ZYNQ Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_ZYNQ
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Xilinx Zynq SoCs.
|
|
|
|
|
2013-08-07 08:53:12 -06:00
|
|
|
source "drivers/reset/sti/Kconfig"
|
2015-11-19 19:10:05 -07:00
|
|
|
source "drivers/reset/hisilicon/Kconfig"
|
2016-08-18 07:50:09 -06:00
|
|
|
source "drivers/reset/tegra/Kconfig"
|
2016-05-03 00:29:52 -06:00
|
|
|
|
|
|
|
endif
|