/openbmc/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 …]
|
/openbmc/u-boot/drivers/reset/ |
H A D | Kconfig | 1 menu "Reset Controller Support" 4 bool "Enable reset controllers using Driver Model" 7 Enable support for the reset controller driver class. Many hardware 8 modules are equipped with a reset signal, typically driven by some 9 reset controller hardware module within the chip. In U-Boot, reset 10 controller drivers allow control over these reset signals. In some 12 although driving such reset isgnals using GPIOs may be more 16 bool "Enable the sandbox reset test driver" 19 Enable support for a test reset controller implementation, which 20 simply accepts requests to reset various HW modules without actually [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/gpu/ |
H A D | nvidia,tegra20-host1x.txt | 4 - compatible: "nvidia,tegra<chip>-host1x" 5 - reg: Physical base address and length of the controller's registers. 6 - interrupts: The interrupt outputs from the controller. 7 - #address-cells: The number of cells used to represent physical base addresses 9 - #size-cells: The number of cells used to represent the size of an address 11 - ranges: The mapping of the host1x address space to the CPU address space. 12 - clocks: Must contain one entry, for the module clock. 13 See ../clocks/clock-bindings.txt for details. 14 - resets: Must contain an entry for each entry in reset-names. 15 See ../reset/reset.txt for details. [all …]
|
/openbmc/linux/include/linux/ |
H A 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 …]
|
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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/reset/ |
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 | 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 | 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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/reset/ |
H A D | ti,sci-reset.txt | 1 Texas Instruments TI SCI Reset Controller 4 Some TI SoCs contain a system controller (like the SYSFW, etc...) that is 7 controller happens through a protocol known as TI SCI [1]. 11 Reset Controller Node 13 The reset controller node represents the resets of various hardware modules 18 -------------------- 19 - compatible: Must be "ti,sci-reset" 20 - #reset-cells: Must be 2. Please see the reset consumer node below for 24 ---------------- 26 compatible = "ti,am654-system-controller"; [all …]
|
/openbmc/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 …]
|
/openbmc/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 | 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 <dlemoal@kernel.org> 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 …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 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 …]
|