| /kernel/linux/linux-5.10/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 11 #include <linux/reset-controller.h> 15 * struct scmi_reset_data - reset controller information structure 16 * @rcdev: reset controller entity 17 * @handle: ARM SCMI handle used for communication with system controller 25 #define to_scmi_handle(p) (to_scmi_reset_data(p)->handle) 28 * scmi_reset_assert() - assert device reset 29 * @rcdev: reset controller entity 30 * @id: ID of the reset to be asserted [all …]
|
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Reset Controller framework 15 #include <linux/reset.h> 16 #include <linux/reset-controller.h> 26 * struct reset_control - a reset control 27 * @rcdev: a pointer to the reset controller device 28 * this reset control belongs to 29 * @list: list entry for the rcdev's reset controller list 30 * @id: ID of the reset controller in the reset 31 * controller device [all …]
|
| D | reset-ti-sci.c | 2 * Texas Instrument's System Control Interface (TI-SCI) reset driver 4 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ 22 #include <linux/reset-controller.h> 26 * struct ti_sci_reset_control - reset control structure 27 * @dev_id: SoC-specific device identifier 28 * @reset_mask: reset mask to use for toggling reset 29 * @lock: synchronize reset_mask read-modify-writes 38 * struct ti_sci_reset_data - reset controller information structure 39 * @rcdev: reset controller entity 40 * @dev: reset controller device pointer [all …]
|
| /kernel/linux/linux-4.19/drivers/reset/ |
| D | Kconfig | 5 bool "Reset Controller Support" 8 Generic Reset Controller support. 10 This framework is designed to abstract reset handling of devices 11 via GPIOs or SoC-internal reset controller modules. 18 tristate "Altera Arria10 System Resource Reset" 21 This option enables support for the external reset functions for 25 bool "AR71xx Reset Driver" if COMPILE_TEST 28 This enables the ATH79 reset controller driver that supports the 29 AR71xx SoC reset controller. 32 bool "AXS10x Reset Driver" if COMPILE_TEST [all …]
|
| D | core.c | 2 * Reset Controller framework 19 #include <linux/reset.h> 20 #include <linux/reset-controller.h> 30 * struct reset_control - a reset control 31 * @rcdev: a pointer to the reset controller device 32 * this reset control belongs to 33 * @list: list entry for the rcdev's reset controller list 34 * @id: ID of the reset controller in the reset 35 * controller device 38 * @deassert_cnt: Number of times this reset line has been deasserted [all …]
|
| D | reset-ti-sci.c | 2 * Texas Instrument's System Control Interface (TI-SCI) reset driver 4 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 22 #include <linux/reset-controller.h> 26 * struct ti_sci_reset_control - reset control structure 27 * @dev_id: SoC-specific device identifier 28 * @reset_mask: reset mask to use for toggling reset 29 * @lock: synchronize reset_mask read-modify-writes 38 * struct ti_sci_reset_data - reset controller information structure 39 * @rcdev: reset controller entity 40 * @dev: reset controller device pointer [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra20-host1x.txt | 4 - compatible: "nvidia,tegra<chip>-host1x" 5 - reg: Physical base address and length of the controller's registers. 6 For pre-Tegra186, one entry describing the whole register area. 7 For Tegra186, one entry for each entry in reg-names: 8 "vm" - VM region assigned to Linux 9 "hypervisor" - Hypervisor region (only if Linux acts as hypervisor) 10 - interrupts: The interrupt outputs from the controller. 11 - #address-cells: The number of cells used to represent physical base addresses 13 - #size-cells: The number of cells used to represent the size of an address 15 - ranges: The mapping of the host1x address space to the CPU address space. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/reset/ |
| D | ti,sci-reset.txt | 1 Texas Instruments System Control Interface (TI-SCI) Reset Controller 4 Some TI SoCs contain a system controller (like the Power Management Micro 5 Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling 7 between the host processor running an OS and the system controller happens 8 through a protocol called TI System Control Interface (TI-SCI protocol). 12 TI-SCI Reset Controller Node 14 This reset controller node uses the TI SCI protocol to perform the reset 16 node of the associated TI-SCI system controller node. 19 -------------------- 20 - compatible : Should be "ti,sci-reset" [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/reset/ |
| D | ti,sci-reset.txt | 1 Texas Instruments System Control Interface (TI-SCI) Reset Controller 4 Some TI SoCs contain a system controller (like the Power Management Micro 5 Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling 7 between the host processor running an OS and the system controller happens 8 through a protocol called TI System Control Interface (TI-SCI protocol). 12 TI-SCI Reset Controller Node 14 This reset controller node uses the TI SCI protocol to perform the reset 16 node of the associated TI-SCI system controller node. 19 -------------------- 20 - compatible : Should be "ti,sci-reset" [all …]
|
| 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 | 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 <narmstrong@baylibre.com> 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 | hisilicon,hi6220-reset.txt | 1 Hisilicon System Reset Controller 4 Please also refer to reset.txt in this directory for common reset 5 controller binding usage. 7 The reset controller registers are part of the system-ctl block on 11 - compatible: should be one of the following: 12 - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller. 13 - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller. 14 - "hisilicon,hi6220-aoctrl", "syscon" : For ao reset controller. 15 - reg: should be register base and length as documented in the 17 - #reset-cells: 1, see below [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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 79 return optional ? 0 : -ENOTSUPP; in __device_reset() 87 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get() 95 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get() 103 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get() 109 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get() 116 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get() 121 return -ENOENT; in reset_control_get_count() 137 * reset_control_get_exclusive - Lookup and obtain an exclusive reference 138 * to a reset controller. [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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra20-host1x.txt | 4 - compatible: "nvidia,tegra<chip>-host1x" 5 - reg: Physical base address and length of the controller's registers. 6 For pre-Tegra186, one entry describing the whole register area. 7 For Tegra186, one entry for each entry in reg-names: 8 "vm" - VM region assigned to Linux 9 "hypervisor" - Hypervisor region (only if Linux acts as hypervisor) 10 - interrupts: The interrupt outputs from the controller. 11 - #address-cells: The number of cells used to represent physical base addresses 13 - #size-cells: The number of cells used to represent the size of an address 15 - ranges: The mapping of the host1x address space to the CPU address space. [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 63 return optional ? 0 : -ENOTSUPP; in __device_reset() 71 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get() 78 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get() 85 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get() 91 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get() 97 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get() 113 * reset_control_get_exclusive - Lookup and obtain an exclusive reference 114 * to a reset controller. 115 * @dev: device to be reset by the controller [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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/reset/sti/ |
| D | reset-syscfg.h | 15 #include <linux/reset-controller.h> 18 * Reset channel description for a system configuration register based 19 * reset controller. 23 * @reset: Regmap field description of the channel's reset bit. 28 struct reg_field reset; member 34 .reset = REG_FIELD(_rr, _rb, _rb), \ 39 .reset = REG_FIELD(_rr, _rb, _rb), } 42 * Description of a system configuration register based reset controller. 44 * @wait_for_ack: The controller will wait for reset assert and de-assert to 46 * @active_low: Are the resets in this controller active low, i.e. clearing [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|