2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-11-19 16:23:13 +00: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 14:53:12 +00:00
|
|
|
|
2016-05-03 06:29:52 +00:00
|
|
|
if RESET_CONTROLLER
|
|
|
|
|
2017-02-22 17:10:17 +00:00
|
|
|
config RESET_A10SR
|
|
|
|
tristate "Altera Arria10 System Resource Reset"
|
2022-07-11 13:06:24 +00:00
|
|
|
depends on MFD_ALTERA_A10SR || COMPILE_TEST
|
2017-02-22 17:10:17 +00:00
|
|
|
help
|
|
|
|
This option enables support for the external reset functions for
|
|
|
|
peripheral PHYs on the Altera Arria10 System Resource Chip.
|
|
|
|
|
2016-07-28 13:30:08 +00: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 14:28:42 +00:00
|
|
|
config RESET_AXS10X
|
|
|
|
bool "AXS10x Reset Driver" if COMPILE_TEST
|
|
|
|
default ARC_PLAT_AXS10X
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for AXS10x.
|
|
|
|
|
2020-06-17 10:50:35 +00:00
|
|
|
config RESET_BCM6345
|
|
|
|
bool "BCM6345 Reset Controller"
|
|
|
|
depends on BMIPS_GENERIC || COMPILE_TEST
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for BCM6345 SoCs.
|
|
|
|
|
2016-07-28 13:31:12 +00:00
|
|
|
config RESET_BERLIN
|
2021-06-07 10:10:15 +00:00
|
|
|
tristate "Berlin Reset Driver"
|
|
|
|
depends on ARCH_BERLIN || COMPILE_TEST
|
|
|
|
default m if ARCH_BERLIN
|
2016-07-28 13:31:12 +00:00
|
|
|
help
|
|
|
|
This enables the reset controller driver for Marvell Berlin SoCs.
|
|
|
|
|
2019-01-23 22:54:36 +00: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.
|
|
|
|
|
2020-01-03 19:04:29 +00:00
|
|
|
config RESET_BRCMSTB_RESCAL
|
2021-09-24 03:08:40 +00:00
|
|
|
tristate "Broadcom STB RESCAL reset controller"
|
2020-01-27 23:53:53 +00:00
|
|
|
depends on HAS_IOMEM
|
2021-03-16 13:37:33 +00:00
|
|
|
depends on ARCH_BRCMSTB || COMPILE_TEST
|
|
|
|
default ARCH_BRCMSTB
|
2020-01-03 19:04:29 +00:00
|
|
|
help
|
|
|
|
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on
|
|
|
|
BCM7216.
|
|
|
|
|
2024-07-30 16:06:23 +00:00
|
|
|
config RESET_EYEQ
|
|
|
|
bool "Mobileye EyeQ reset controller"
|
|
|
|
depends on MACH_EYEQ5 || MACH_EYEQ6H || COMPILE_TEST
|
|
|
|
select AUXILIARY_BUS
|
|
|
|
default MACH_EYEQ5 || MACH_EYEQ6H
|
|
|
|
help
|
|
|
|
This enables the Mobileye EyeQ reset controller, used in EyeQ5, EyeQ6L
|
|
|
|
and EyeQ6H SoCs.
|
|
|
|
|
|
|
|
It has one or more domains, with a varying number of resets in each.
|
|
|
|
Registers are located in a shared register region called OLB. EyeQ6H
|
|
|
|
has multiple reset instances.
|
|
|
|
|
2024-01-29 11:52:13 +00:00
|
|
|
config RESET_GPIO
|
|
|
|
tristate "GPIO reset controller"
|
2024-03-25 16:51:03 +00:00
|
|
|
depends on GPIOLIB
|
2024-01-29 11:52:13 +00:00
|
|
|
help
|
|
|
|
This enables a generic reset controller for resets attached via
|
|
|
|
GPIOs. Typically for OF platforms this driver expects "reset-gpios"
|
|
|
|
property.
|
|
|
|
|
|
|
|
If compiled as module, it will be called reset-gpio.
|
|
|
|
|
2017-08-31 18:06:07 +00:00
|
|
|
config RESET_HSDK
|
|
|
|
bool "Synopsys HSDK Reset Driver"
|
2017-09-09 04:02:46 +00:00
|
|
|
depends on HAS_IOMEM
|
2017-09-11 12:22:08 +00:00
|
|
|
depends on ARC_SOC_HSDK || COMPILE_TEST
|
2017-07-19 18:45:11 +00:00
|
|
|
help
|
2017-08-31 18:06:07 +00:00
|
|
|
This enables the reset controller driver for HSDK board.
|
2017-07-19 18:45:11 +00:00
|
|
|
|
2017-02-21 16:13:31 +00:00
|
|
|
config RESET_IMX7
|
2020-07-20 14:21:59 +00:00
|
|
|
tristate "i.MX7/8 Reset Driver"
|
2018-03-06 11:15:11 +00:00
|
|
|
depends on HAS_IOMEM
|
2020-07-20 14:21:59 +00:00
|
|
|
depends on SOC_IMX7D || (ARM64 && ARCH_MXC) || COMPILE_TEST
|
|
|
|
default y if SOC_IMX7D
|
2017-02-21 16:13:31 +00:00
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for i.MX7 SoCs.
|
|
|
|
|
2024-06-24 03:39:05 +00:00
|
|
|
config RESET_IMX8MP_AUDIOMIX
|
|
|
|
tristate "i.MX8MP AudioMix Reset Driver"
|
2024-06-25 11:57:48 +00:00
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
2024-06-24 03:39:05 +00:00
|
|
|
select AUXILIARY_BUS
|
|
|
|
default CLK_IMX8MP
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for i.MX8MP AudioMix
|
|
|
|
|
2020-01-03 10:00:18 +00:00
|
|
|
config RESET_INTEL_GW
|
|
|
|
bool "Intel Reset Controller Driver"
|
2021-03-31 08:15:19 +00:00
|
|
|
depends on X86 || COMPILE_TEST
|
2020-01-27 23:53:54 +00:00
|
|
|
depends on OF && HAS_IOMEM
|
2020-01-03 10:00:18 +00:00
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Intel Gateway SoCs.
|
|
|
|
Say Y to control the reset signals provided by reset controller.
|
|
|
|
Otherwise, say N.
|
|
|
|
|
2020-12-13 13:50:47 +00:00
|
|
|
config RESET_K210
|
|
|
|
bool "Reset controller driver for Canaan Kendryte K210 SoC"
|
2024-03-28 17:06:13 +00:00
|
|
|
depends on (SOC_CANAAN_K210 || COMPILE_TEST) && OF
|
2020-12-13 13:50:47 +00:00
|
|
|
select MFD_SYSCON
|
2024-03-28 17:06:13 +00:00
|
|
|
default SOC_CANAAN_K210
|
2020-12-13 13:50:47 +00:00
|
|
|
help
|
|
|
|
Support for the Canaan Kendryte K210 RISC-V SoC reset controller.
|
|
|
|
Say Y if you want to control reset signals provided by this
|
|
|
|
controller.
|
|
|
|
|
2017-08-19 22:18:17 +00: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 13:32:01 +00: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.
|
|
|
|
|
2021-04-16 08:40:53 +00:00
|
|
|
config RESET_MCHP_SPARX5
|
2024-10-14 12:46:34 +00:00
|
|
|
tristate "Microchip Sparx5 reset driver"
|
2024-10-14 12:46:33 +00:00
|
|
|
depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
|
2021-04-16 08:40:53 +00:00
|
|
|
default y if SPARX5_SWITCH
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
This driver supports switch core reset for the Microchip Sparx5 SoC.
|
|
|
|
|
2019-11-06 14:53:31 +00:00
|
|
|
config RESET_NPCM
|
|
|
|
bool "NPCM BMC Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_NPCM
|
2024-09-12 19:10:37 +00:00
|
|
|
select AUXILIARY_BUS
|
2019-11-06 14:53:31 +00:00
|
|
|
help
|
|
|
|
This enables the reset controller driver for Nuvoton NPCM
|
|
|
|
BMC SoCs.
|
|
|
|
|
2023-06-05 04:07:48 +00:00
|
|
|
config RESET_NUVOTON_MA35D1
|
2023-06-06 09:55:42 +00:00
|
|
|
bool "Nuvoton MA35D1 Reset Driver"
|
|
|
|
depends on ARCH_MA35 || COMPILE_TEST
|
|
|
|
default ARCH_MA35
|
2023-06-05 04:07:48 +00:00
|
|
|
help
|
|
|
|
This enables the reset controller driver for Nuvoton MA35D1 SoC.
|
|
|
|
|
2016-07-28 13:33:07 +00:00
|
|
|
config RESET_PISTACHIO
|
2021-09-14 09:15:59 +00:00
|
|
|
bool "Pistachio Reset Driver"
|
|
|
|
depends on MIPS || COMPILE_TEST
|
2016-07-28 13:33:07 +00:00
|
|
|
help
|
|
|
|
This enables the reset driver for ImgTec Pistachio SoCs.
|
|
|
|
|
2022-09-09 12:31:14 +00:00
|
|
|
config RESET_POLARFIRE_SOC
|
|
|
|
bool "Microchip PolarFire SoC (MPFS) Reset Driver"
|
2023-05-02 10:20:41 +00:00
|
|
|
depends on MCHP_CLK_MPFS
|
|
|
|
select AUXILIARY_BUS
|
2022-09-09 12:31:14 +00:00
|
|
|
default MCHP_CLK_MPFS
|
|
|
|
help
|
|
|
|
This driver supports peripheral reset for the Microchip PolarFire SoC
|
|
|
|
|
2018-06-27 14:24:43 +00:00
|
|
|
config RESET_QCOM_AOSS
|
2020-01-08 00:19:13 +00:00
|
|
|
tristate "Qcom AOSS Reset Driver"
|
2018-06-27 14:24:43 +00:00
|
|
|
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 19:12:11 +00: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.
|
|
|
|
|
2020-06-29 16:18:38 +00:00
|
|
|
config RESET_RASPBERRYPI
|
|
|
|
tristate "Raspberry Pi 4 Firmware Reset Driver"
|
|
|
|
depends on RASPBERRYPI_FIRMWARE || (RASPBERRYPI_FIRMWARE=n && COMPILE_TEST)
|
|
|
|
default USB_XHCI_PCI
|
|
|
|
help
|
|
|
|
Raspberry Pi 4's co-processor controls some of the board's HW
|
|
|
|
initialization process, but it's up to Linux to trigger it when
|
|
|
|
relevant. This driver provides a reset controller capable of
|
|
|
|
interfacing with RPi4's co-processor and model these firmware
|
|
|
|
initialization routines as reset lines.
|
|
|
|
|
2021-07-19 12:19:32 +00:00
|
|
|
config RESET_RZG2L_USBPHY_CTRL
|
|
|
|
tristate "Renesas RZ/G2L USBPHY control driver"
|
2022-04-06 07:16:47 +00:00
|
|
|
depends on ARCH_RZG2L || COMPILE_TEST
|
2021-07-19 12:19:32 +00:00
|
|
|
help
|
|
|
|
Support for USBPHY Control found on RZ/G2L family. It mainly
|
|
|
|
controls reset and power down of the USB/PHY.
|
|
|
|
|
2019-07-08 08:41:08 +00: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 10:58:43 +00:00
|
|
|
config RESET_SIMPLE
|
2022-07-08 16:56:56 +00:00
|
|
|
bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
|
2024-01-30 01:50:08 +00:00
|
|
|
default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_SOPHGO || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC
|
2022-07-19 08:52:00 +00:00
|
|
|
depends on HAS_IOMEM
|
2017-08-11 10:58:43 +00: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-20 01:43:29 +00:00
|
|
|
Currently this driver supports:
|
|
|
|
- Altera SoCFPGAs
|
|
|
|
- ASPEED BMC SoCs
|
2019-10-23 10:13:09 +00:00
|
|
|
- Bitmain BM1880 SoC
|
2019-10-23 10:13:10 +00:00
|
|
|
- Realtek SoCs
|
2018-02-20 01:43:29 +00:00
|
|
|
- RCC reset controller in STM32 MCUs
|
|
|
|
- Allwinner SoCs
|
2021-05-04 10:59:36 +00:00
|
|
|
- SiFive FU740 SoCs
|
2024-01-30 01:50:08 +00:00
|
|
|
- Sophgo SoCs
|
2016-07-28 13:34:15 +00:00
|
|
|
|
2018-11-13 18:50:48 +00:00
|
|
|
config RESET_SOCFPGA
|
2021-03-11 15:27:41 +00:00
|
|
|
bool "SoCFPGA Reset Driver" if COMPILE_TEST && (!ARM || !ARCH_INTEL_SOCFPGA)
|
|
|
|
default ARM && ARCH_INTEL_SOCFPGA
|
2018-11-13 18:50:48 +00:00
|
|
|
select RESET_SIMPLE
|
|
|
|
help
|
|
|
|
This enables the reset driver for the SoCFPGA ARMv7 platforms. This
|
|
|
|
driver gets initialized early during platform init calls.
|
|
|
|
|
2022-06-28 06:26:43 +00:00
|
|
|
config RESET_SUNPLUS
|
|
|
|
bool "Sunplus SoCs Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_SUNPLUS
|
|
|
|
help
|
|
|
|
This enables the reset driver support for Sunplus SoCs.
|
|
|
|
The reset lines that can be asserted and deasserted by toggling bits
|
|
|
|
in a contiguous, exclusive register space. The register is HIWORD_MASKED,
|
|
|
|
which means each register holds 16 reset lines.
|
|
|
|
|
2016-08-09 07:28:44 +00:00
|
|
|
config RESET_SUNXI
|
|
|
|
bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
|
|
|
|
default ARCH_SUNXI
|
2017-08-11 10:58:43 +00:00
|
|
|
select RESET_SIMPLE
|
2016-08-09 07:28:44 +00:00
|
|
|
help
|
|
|
|
This enables the reset driver for Allwinner SoCs.
|
|
|
|
|
2017-05-24 18:09:30 +00:00
|
|
|
config RESET_TI_SCI
|
|
|
|
tristate "TI System Control Interface (TI-SCI) reset driver"
|
2022-10-30 05:56:36 +00:00
|
|
|
depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n)
|
2017-05-24 18:09:30 +00:00
|
|
|
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-24 03:00:12 +00:00
|
|
|
config RESET_TI_SYSCON
|
2016-06-27 17:12:17 +00: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.
|
|
|
|
|
2022-05-30 09:22:26 +00:00
|
|
|
config RESET_TI_TPS380X
|
|
|
|
tristate "TI TPS380x Reset Driver"
|
|
|
|
select GPIOLIB
|
|
|
|
help
|
|
|
|
This enables the reset driver support for TI TPS380x devices. If
|
|
|
|
you wish to use the reset framework for such devices, say Y here.
|
|
|
|
Otherwise, say N.
|
|
|
|
|
2022-01-31 13:30:47 +00:00
|
|
|
config RESET_TN48M_CPLD
|
|
|
|
tristate "Delta Networks TN48M switch CPLD reset controller"
|
|
|
|
depends on MFD_TN48M_CPLD || COMPILE_TEST
|
|
|
|
default MFD_TN48M_CPLD
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for the Delta TN48M CPLD.
|
|
|
|
It provides reset signals for Armada 7040 and 385 SoC-s, Alleycat 3X
|
|
|
|
switch MAC-s, Alaska OOB ethernet PHY, Quad Alaska ethernet PHY-s and
|
|
|
|
Microchip PD69200 PoE PSE controller.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
|
|
called reset-tn48m.
|
|
|
|
|
2016-08-02 04:18:29 +00: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-09 01:42:05 +00:00
|
|
|
config RESET_UNIPHIER_GLUE
|
|
|
|
tristate "Reset driver in glue layer for UniPhier SoCs"
|
2018-07-10 01:14:17 +00:00
|
|
|
depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
|
|
|
|
default ARCH_UNIPHIER
|
|
|
|
select RESET_SIMPLE
|
|
|
|
help
|
2018-11-09 01:42:05 +00: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-10 01:14:17 +00:00
|
|
|
|
2016-08-09 07:28:54 +00: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.
|
|
|
|
|
2024-06-21 15:24:47 +00:00
|
|
|
config RESET_ZYNQMP
|
|
|
|
bool "ZYNQMP Reset Driver" if COMPILE_TEST
|
|
|
|
default ARCH_ZYNQMP
|
|
|
|
help
|
|
|
|
This enables the reset controller driver for Xilinx ZynqMP SoCs.
|
|
|
|
|
2024-09-10 16:32:49 +00:00
|
|
|
source "drivers/reset/amlogic/Kconfig"
|
2023-04-01 11:19:20 +00:00
|
|
|
source "drivers/reset/starfive/Kconfig"
|
2013-08-07 14:53:12 +00:00
|
|
|
source "drivers/reset/sti/Kconfig"
|
2015-11-20 02:10:05 +00:00
|
|
|
source "drivers/reset/hisilicon/Kconfig"
|
2016-08-18 13:50:09 +00:00
|
|
|
source "drivers/reset/tegra/Kconfig"
|
2016-05-03 06:29:52 +00:00
|
|
|
|
|
|
|
endif
|