Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1STMicroelectronics STi family Sysconfig Peripheral SoftReset Controller
2=============================================================================
3
4This binding describes a reset controller device that is used to enable and
5disable on-chip peripheral controllers such as USB and SATA, using
6"softreset" control bits found in the STi family SoC system configuration
7registers.
8
9The actual action taken when softreset is asserted is hardware dependent.
10However, when asserted it may not be possible to access the hardware's
11registers and after an assert/deassert sequence the hardware's previous state
12may no longer be valid.
13
14Please refer to reset.txt in this directory for common reset
15controller binding usage.
16
17Required properties:
18- compatible: Should be "st,<chip>-softreset" example:
19 "st,stih415-softreset" or "st,stih416-softreset";
20- #reset-cells: 1, see below
21
22example:
23
24 softreset: softreset-controller {
25 #reset-cells = <1>;
26 compatible = "st,stih415-softreset";
27 };
28
29
30Specifying softreset control of devices
31=======================================
32
33Device nodes should specify the reset channel required in their "resets"
34property, containing a phandle to the softreset device node and an
35index specifying which channel to use, as described in reset.txt
36
37example:
38
39 ethernet0{
40 resets = <&softreset STIH415_ETH0_SOFTRESET>;
41 };
42
43Macro definitions for the supported reset channels can be found in:
44
45include/dt-bindings/reset-controller/stih415-resets.h
46include/dt-bindings/reset-controller/stih416-resets.h