Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
config CONFIG_ARCH_HAS_RESET_CONTROLLER
	bool

menuconfig CONFIG_RESET_CONTROLLER
	bool "Reset Controller Support"
	default y if CONFIG_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.

if CONFIG_RESET_CONTROLLER

config CONFIG_RESET_A10SR
	tristate "Altera Arria10 System Resource Reset"
	depends on CONFIG_MFD_ALTERA_A10SR
	help
	  This option enables support for the external reset functions for
	  peripheral PHYs on the Altera Arria10 System Resource Chip.

config CONFIG_RESET_ATH79
	bool "AR71xx Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ATH79
	help
	  This enables the CONFIG_ATH79 reset controller driver that supports the
	  AR71xx SoC reset controller.

config CONFIG_RESET_AXS10X
	bool "AXS10x Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARC_PLAT_AXS10X
	help
	  This enables the reset controller driver for AXS10x.

config CONFIG_RESET_BERLIN
	bool "Berlin Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARCH_BERLIN
	help
	  This enables the reset controller driver for Marvell Berlin SoCs.

config CONFIG_RESET_BRCMSTB
	tristate "Broadcom STB reset controller"
	depends on CONFIG_ARCH_BRCMSTB || CONFIG_COMPILE_TEST
	default CONFIG_ARCH_BRCMSTB
	help
	  This enables the reset controller driver for Broadcom STB SoCs using
	  a SUN_TOP_CTRL_SW_INIT style controller.

config CONFIG_RESET_HSDK
	bool "Synopsys HSDK Reset Driver"
	depends on CONFIG_HAS_IOMEM
	depends on CONFIG_ARC_SOC_HSDK || CONFIG_COMPILE_TEST
	help
	  This enables the reset controller driver for HSDK board.

config CONFIG_RESET_IMX7
	bool "i.MX7/8 Reset Driver" if CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_IOMEM
	default CONFIG_SOC_IMX7D || (CONFIG_ARM64 && CONFIG_ARCH_MXC)
	select CONFIG_MFD_SYSCON
	help
	  This enables the reset controller driver for i.MX7 SoCs.

config CONFIG_RESET_LANTIQ
	bool "Lantiq XWAY Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_SOC_TYPE_XWAY
	help
	  This enables the reset controller driver for Lantiq / Intel XWAY SoCs.

config CONFIG_RESET_LPC18XX
	bool "LPC18xx/43xx Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARCH_LPC18XX
	help
	  This enables the reset controller driver for NXP LPC18xx/43xx SoCs.

config CONFIG_RESET_MESON
	bool "Meson Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARCH_MESON
	help
	  This enables the reset driver for Amlogic Meson SoCs.

config CONFIG_RESET_MESON_AUDIO_ARB
	tristate "Meson Audio Memory Arbiter Reset Driver"
	depends on CONFIG_ARCH_MESON || CONFIG_COMPILE_TEST
	help
	  This enables the reset driver for Audio Memory Arbiter of
	  Amlogic's A113 based SoCs

config CONFIG_RESET_OXNAS
	bool

config CONFIG_RESET_PISTACHIO
	bool "Pistachio Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_MACH_PISTACHIO
	help
	  This enables the reset driver for ImgTec Pistachio SoCs.

config CONFIG_RESET_QCOM_AOSS
	bool "Qcom AOSS Reset Driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_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.

config CONFIG_RESET_QCOM_PDC
	tristate "Qualcomm PDC Reset Driver"
	depends on CONFIG_ARCH_QCOM || CONFIG_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.

config CONFIG_RESET_SCMI
	tristate "Reset driver controlled via ARM SCMI interface"
	depends on CONFIG_ARM_SCMI_PROTOCOL || CONFIG_COMPILE_TEST
	default CONFIG_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.

config CONFIG_RESET_SIMPLE
	bool "Simple Reset Controller Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARCH_STM32 || CONFIG_ARCH_STRATIX10 || CONFIG_ARCH_SUNXI || CONFIG_ARCH_ZX || CONFIG_ARCH_ASPEED || CONFIG_ARCH_BITMAIN || CONFIG_ARC
	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.

	  Currently this driver supports:
	   - Altera SoCFPGAs
	   - ASPEED BMC SoCs
	   - RCC reset controller in STM32 MCUs
	   - Allwinner SoCs
	   - ZTE's zx2967 family
	   - Bitmain BM1880 SoC

config CONFIG_RESET_STM32MP157
	bool "STM32MP157 Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_MACH_STM32MP157
	help
	  This enables the RCC reset controller driver for STM32 MPUs.

config CONFIG_RESET_SOCFPGA
	bool "SoCFPGA Reset Driver" if CONFIG_COMPILE_TEST && !CONFIG_ARCH_SOCFPGA
	default CONFIG_ARCH_SOCFPGA
	select CONFIG_RESET_SIMPLE
	help
	  This enables the reset driver for the SoCFPGA ARMv7 platforms. This
	  driver gets initialized early during platform init calls.

config CONFIG_RESET_SUNXI
	bool "Allwinner SoCs Reset Driver" if CONFIG_COMPILE_TEST && !CONFIG_ARCH_SUNXI
	default CONFIG_ARCH_SUNXI
	select CONFIG_RESET_SIMPLE
	help
	  This enables the reset driver for Allwinner SoCs.

config CONFIG_RESET_TI_SCI
	tristate "TI System Control Interface (TI-SCI) reset driver"
	depends on CONFIG_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.

config CONFIG_RESET_TI_SYSCON
	tristate "TI SYSCON Reset Driver"
	depends on CONFIG_HAS_IOMEM
	select CONFIG_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.

config CONFIG_RESET_UNIPHIER
	tristate "Reset controller driver for UniPhier SoCs"
	depends on CONFIG_ARCH_UNIPHIER || CONFIG_COMPILE_TEST
	depends on CONFIG_OF && CONFIG_MFD_SYSCON
	default CONFIG_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.

config CONFIG_RESET_UNIPHIER_GLUE
	tristate "Reset driver in glue layer for UniPhier SoCs"
	depends on (CONFIG_ARCH_UNIPHIER || CONFIG_COMPILE_TEST) && CONFIG_OF
	default CONFIG_ARCH_UNIPHIER
	select CONFIG_RESET_SIMPLE
	help
	  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.

config CONFIG_RESET_ZYNQ
	bool "ZYNQ Reset Driver" if CONFIG_COMPILE_TEST
	default CONFIG_ARCH_ZYNQ
	help
	  This enables the reset controller driver for Xilinx Zynq SoCs.

source "drivers/reset/sti/Kconfig"
source "drivers/reset/hisilicon/Kconfig"
source "drivers/reset/tegra/Kconfig"

endif