/linux/drivers/reset/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 bool "Reset Controller Support" 9 Generic Reset Controller support. 11 This framework is designed to abstract reset handling of devices 12 via GPIOs or SoC-internal reset controller modules. 19 tristate "Altera Arria10 System Resource Reset" 22 This option enables support for the external reset functions for 26 bool "AR71xx Reset Driver" if COMPILE_TEST 29 This enables the ATH79 reset controller driver that supports the 30 AR71xx SoC reset controller. [all …]
|
H A D | reset-scmi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ARM System Control and Management Interface (ARM SCMI) reset driver 5 * Copyright (C) 2019-2021 ARM Ltd. 11 #include <linux/reset-controller.h> 17 * struct scmi_reset_data - reset controller information structure 18 * @rcdev: reset controller entity 19 * @ph: ARM SCMI protocol handle used for communication with system controller 27 #define to_scmi_handle(p) (to_scmi_reset_data(p)->ph) 30 * scmi_reset_assert() - assert device reset 31 * @rcdev: reset controller entity [all …]
|
H A D | reset-ti-sci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Texas Instrument's System Control Interface (TI-SCI) reset driver 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ 14 #include <linux/reset-controller.h> 18 * struct ti_sci_reset_control - reset control structure 19 * @dev_id: SoC-specific device identifier 20 * @reset_mask: reset mask to use for toggling reset 21 * @lock: synchronize reset_mask read-modify-writes 30 * struct ti_sci_reset_data - reset controller information structure 31 * @rcdev: reset controller entity [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Reset Controller framework 21 #include <linux/reset.h> 22 #include <linux/reset-controller.h> 37 * struct reset_control - a reset control 38 * @rcdev: a pointer to the reset controller device 39 * this reset control belongs to 40 * @list: list entry for the rcdev's reset controller list 41 * @id: ID of the reset controller in the reset 42 * controller device [all …]
|
/linux/Documentation/driver-api/ |
H A D | reset.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 Reset controller API 10 Reset controllers are central units that control the reset signals to multiple 12 The reset controller API is split into two parts: 13 the `consumer driver interface <#consumer-driver-interface>`__ (`API reference 14 <#reset-consumer-api>`__), which allows peripheral drivers to request control 15 over their reset input signals, and the `reset controller driver interface 16 <#reset-controller-driver-interface>`__ (`API reference 17 <#reset-controller-driver-api>`__), which is used by drivers for reset 18 controller devices to register their reset controls to provide them to the [all …]
|
/linux/arch/arm64/boot/dts/apple/ |
H A D | t8103-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 ps_sbr: power-controller@100 { 11 compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate"; 13 #power-domain-cells = <0>; 14 #reset-cells = <0>; 16 apple,always-on; /* Core device */ 19 ps_aic: power-controller@108 { 20 compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate"; 22 #power-domain-cells = <0>; 23 #reset-cells = <0>; [all …]
|
H A D | t8112-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 ps_sbr: power-controller@100 { 11 compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; 13 #power-domain-cells = <0>; 14 #reset-cells = <0>; 16 apple,always-on; /* Core device */ 19 ps_aic: power-controller@108 { 20 compatible = "apple,t8112-pmgr-pwrstate", "apple,pmgr-pwrstate"; 22 #power-domain-cells = <0>; 23 #reset-cells = <0>; [all …]
|
H A D | t600x-pmgr.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 9 DIE_NODE(ps_pms_bridge): power-controller@100 { 10 compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; 12 #power-domain-cells = <0>; 13 #reset-cells = <0>; 15 apple,always-on; /* Core device */ 18 DIE_NODE(ps_aic): power-controller@108 { 19 compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; 21 #power-domain-cells = <0>; 22 #reset-cells = <0>; [all …]
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | amlogic,meson-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/reset/amlogic,meson-reset.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson SoC Reset Controller 11 - Neil Armstrong <neil.armstrong@linaro.org> 16 - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs 17 - amlogic,meson-gxbb-reset # Reset Controller on GXBB and compatible SoCs 18 - amlogic,meson-axg-reset # Reset Controller on AXG and compatible SoCs 19 - amlogic,meson-a1-reset # Reset Controller on A1 and compatible SoCs [all …]
|
H A D | ti-syscon-reset.txt | 1 TI SysCon Reset Controller 4 Almost all SoCs have hardware modules that require reset control in addition 5 to clock and power control for their functionality. The reset control is 6 typically provided by means of memory-mapped I/O registers. These registers are 12 A SysCon Reset Controller node defines a device that uses a syscon node 13 and provides reset management functionality for various hardware modules 16 SysCon Reset Controller Node 18 Each of the reset provider/controller nodes should be a child of a syscon 22 -------------------- 23 - compatible : Should be, [all …]
|
H A D | ti,sci-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/ti,sci-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI-SCI reset controller 10 - Nishanth Menon <nm@ti.com> 13 Some TI SoCs contain a system controller (like the Power Management Micro 14 Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling 16 between the host processor running an OS and the system controller happens 17 through a protocol called TI System Control Interface (TI-SCI protocol). [all …]
|
H A D | canaan,k210-rst.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/canaan,k210-rst.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Canaan Kendryte K210 Reset Controller 10 - Damien Le Moal <dlemoal@kernel.org> 13 Canaan Kendryte K210 reset controller driver which supports the SoC 14 system controller supplied reset registers for the various peripherals 15 of the SoC. The K210 reset controller node must be defined as a child 16 node of the K210 system controller node. [all …]
|
H A D | snps,dw-reset.txt | 1 Synopsys DesignWare Reset controller 4 Please also refer to reset.txt in this directory for common reset 5 controller binding usage. 9 - compatible: should be one of the following. 10 "snps,dw-high-reset" - for active high configuration 11 "snps,dw-low-reset" - for active low configuration 13 - reg: physical base address of the controller and length of memory mapped 16 - #reset-cells: must be 1. 20 dw_rst_1: reset-controller@0000 { 21 compatible = "snps,dw-high-reset"; [all …]
|
H A D | brcm,brcmstb-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/brcm,brcmstb-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom STB SW_INIT-style reset controller 10 Broadcom STB SoCs have a SW_INIT-style reset controller with separate 12 reset lines. 14 Please also refer to reset.txt in this directory for common reset 15 controller binding usage. 18 - Florian Fainelli <f.fainelli@gmail.com> [all …]
|
/linux/drivers/reset/sti/ |
H A D | reset-syscfg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #include <linux/reset-controller.h> 14 * Reset channel description for a system configuration register based 15 * reset controller. 19 * @reset: Regmap field description of the channel's reset bit. 24 struct reg_field reset; member 30 .reset = REG_FIELD(_rr, _rb, _rb), \ 35 .reset = REG_FIELD(_rr, _rb, _rb), } 38 * Description of a system configuration register based reset controller. 40 * @wait_for_ack: The controller will wait for reset assert and de-assert to [all …]
|
/linux/drivers/clk/mediatek/ |
H A D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <linux/reset-controller.h> 14 /* Infra global controller reset set register */ 22 * enum mtk_reset_version - Version of MediaTek clock reset controller. 25 * @MTK_RST_MAX: Total quantity of version for MediaTek clock reset controller. 34 * struct mtk_clk_rst_desc - Description of MediaTek clock reset. 35 * @version: Reset version which is defined in enum mtk_reset_version. 36 * @rst_bank_ofs: Pointer to an array containing base offsets of the reset register. 37 * @rst_bank_nr: Quantity of reset bank. 40 * @rst_idx_map_nr: Quantity of reset index map. [all …]
|
/linux/include/linux/ |
H A D | reset-controller.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * struct reset_control_ops - reset controller driver callbacks 12 * @reset: for self-deasserting resets, does all necessary 13 * things to reset the device 14 * @assert: manually assert the reset line, if supported 15 * @deassert: manually deassert the reset line, if supported 16 * @status: return the status of the reset line, if supported 19 int (*reset)(struct reset_controller_dev *rcdev, unsigned long id); member 30 * struct reset_control_lookup - represents a single lookup entry 32 * @list: internal list of all reset lookup entries [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | snps,dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys DWC PCIe RP/EP controller 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 14 Generic Synopsys DesignWare PCIe Root Port and Endpoint controller 23 Interface - DBI. In accordance with the reference manual the register 24 configuration space belongs to the Configuration-Dependent Module (CDM) [all …]
|
H A D | nvidia,tegra194-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra194 (and later) PCIe Endpoint controller (Synopsys DesignWare Core based) 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 15 This PCIe controller is based on the Synopsys DesignWare PCIe IP and thus 16 inherits all the common properties defined in snps,dw-pcie-ep.yaml. Some [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | altera-a10sr.txt | 4 - compatible : "altr,a10sr" 5 - spi-max-frequency : Maximum SPI frequency. 6 - reg : The SPI Chip Select address for the Arria10 8 - interrupts : The interrupt line the device is connected to. 9 - interrupt-controller : Marks the device node as an interrupt controller. 10 - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 13 masks from ../interrupt-controller/interrupts.txt. 15 The A10SR consists of these sub-devices: 18 ------ ---------- 19 a10sr_gpio GPIO Controller [all …]
|
H A D | aspeed-lpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Aspeed Low Pin Count (LPC) Bus Controller 11 - Andrew Jeffery <andrew@aj.id.au> 12 - Chia-Wei Wang <chiawei_wang@aspeedtech.com> 15 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth 17 primary use case of the Aspeed LPC controller is as a slave on the bus 18 (typically in a Baseboard Management Controller SoC), but under certain [all …]
|
/linux/Documentation/devicetree/bindings/arm/keystone/ |
H A D | ti,sci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI-SCI controller 10 - Nishanth Menon <nm@ti.com> 19 block called Power Management Micro Controller (PMMC). This hardware block is 23 See https://software-dl.ti.com/tisci/esd/latest/index.html for protocol definition. 25 The TI-SCI node describes the Texas Instrument's System Controller entity node. 27 specific functionality such as clocks, power domain, reset or additional 29 relationship between the TI-SCI parent node to the child node. [all …]
|
/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-pro4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/uniphier-gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 compatible = "socionext,uniphier-pro4"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 22 compatible = "arm,cortex-a9"; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
/linux/include/linux/reset/ |
H A D | reset-simple.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Simple Reset Controller ops 5 * Based on Allwinner SoCs Reset Controller driver 9 * Maxime Ripard <maxime.ripard@free-electrons.com> 16 #include <linux/reset-controller.h> 20 * struct reset_simple_data - driver data for simple reset controllers 21 * @lock: spinlock to protect registers during read-modify-write cycles 23 * @rcdev: reset controller device base structure 24 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits 25 * are set to assert the reset. Note that this says nothing about [all …]
|