/Linux-v6.1/drivers/reset/ |
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 …]
|
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 …]
|
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 …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Reset Controller framework 16 #include <linux/reset.h> 17 #include <linux/reset-controller.h> 27 * struct reset_control - a reset control 28 * @rcdev: a pointer to the reset controller device 29 * this reset control belongs to 30 * @list: list entry for the rcdev's reset controller list 31 * @id: ID of the reset controller in the reset 32 * controller device [all …]
|
/Linux-v6.1/Documentation/driver-api/ |
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-v6.1/arch/arm64/boot/dts/apple/ |
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 …]
|
/Linux-v6.1/include/linux/ |
D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * struct reset_control_bulk_data - Data used for bulk reset control operations. 16 * @id: reset control consumer ID 17 * @rstc: struct reset_control * to store the associated reset control 19 * The reset APIs provide a series of reset_control_bulk_*() API calls as 20 * a convenience to consumers which require multiple reset controls. 114 return optional ? 0 : -ENOTSUPP; in __device_reset() 122 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get() 130 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get() 167 return optional ? 0 : -EOPNOTSUPP; in __reset_control_bulk_get() [all …]
|
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-v6.1/Documentation/devicetree/bindings/reset/ |
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 …]
|
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 node bindings 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 …]
|
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 …]
|
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 <damien.lemoal@wdc.com> 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 …]
|
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 …]
|
D | hisilicon,hi3660-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Hisilicon System Reset Controller 10 - Wei Xu <xuwei5@hisilicon.com> 13 Please also refer to reset.txt in this directory for common reset 14 controller binding usage. 15 The reset controller registers are part of the system-ctl block on 21 - items: [all …]
|
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-v6.1/drivers/clk/mediatek/ |
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-v6.1/drivers/reset/sti/ |
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-v6.1/Documentation/devicetree/bindings/mfd/ |
D | canaan,k210-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Canaan Kendryte K210 System Controller 10 - Damien Le Moal <damien.lemoal@wdc.com> 13 Canaan Inc. Kendryte K210 SoC system controller which provides a 14 register map for controlling the clocks, reset signals and pin power 20 - const: canaan,k210-sysctl 21 - const: syscon [all …]
|
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 …]
|
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-v6.1/Documentation/devicetree/bindings/arm/keystone/ |
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 device node bindings 10 - Nishanth Menon <nm@ti.com> 19 block called Power Management Micro Controller (PMMC). This hardware block is 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. 33 pattern: "^system-controller@[0-9a-f]+$" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
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-v6.1/include/linux/reset/ |
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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/amlogic/ |
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-v6.1/arch/arm/mach-tegra/ |
D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-tegra/platsmp.c 26 #include <asm/mach-types.h> 32 #include "reset.h" 47 * Force the CPU into reset. The CPU must remain in reset when in tegra20_boot_secondary() 48 * the flow controller state is cleared (which will cause the in tegra20_boot_secondary() 49 * flow controller to stop driving reset if the CPU has been in tegra20_boot_secondary() 50 * power-gated via the flow controller). This will have no in tegra20_boot_secondary() 52 * in reset. in tegra20_boot_secondary() 57 * Unhalt the CPU. If the flow controller was used to in tegra20_boot_secondary() [all …]
|