diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2017-09-14 06:49:41 -0400 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2017-09-18 04:57:53 -0400 |
commit | fc9655e65160936e32adae0d0e8aae25eb12c4e0 (patch) | |
tree | 2be0b309d9b4b076038b91b3c8b8e2d4f72086e6 | |
parent | 2d48a237c8b61b457d146310d7e1e61224d0ca56 (diff) |
ARC: reset: add missing DT binding documentation for HSDKv1 reset driver
When applying the original patch [1], the DT binding docs were lost.
This patch adds them back.
[1] https://patchwork.kernel.org/patch/9852997/
Fixes: e0be864f1424 ("ARC: reset: introduce HSDKv1 reset driver")
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r-- | Documentation/devicetree/bindings/reset/snps,hsdk-v1-reset.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/snps,hsdk-v1-reset.txt b/Documentation/devicetree/bindings/reset/snps,hsdk-v1-reset.txt new file mode 100644 index 000000000000..6a68146ee353 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/snps,hsdk-v1-reset.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | Binding for the HSDK v1 reset controller | ||
2 | |||
3 | This binding uses the common reset binding[1]. | ||
4 | |||
5 | [1] Documentation/devicetree/bindings/reset/reset.txt | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: should be "snps,hsdk-v1.0-reset". | ||
9 | - reg: should always contain 2 pairs address - length: first for reset | ||
10 | configuration register and second for corresponding SW reset and status bits | ||
11 | register. | ||
12 | - #reset-cells: from common reset binding; Should always be set to 1. | ||
13 | |||
14 | Example: | ||
15 | reset: reset@880 { | ||
16 | compatible = "snps,hsdk-v1.0-reset"; | ||
17 | #reset-cells = <1>; | ||
18 | reg = <0x8A0 0x4>, <0xFF0 0x4>; | ||
19 | }; | ||
20 | |||
21 | Specifying reset lines connected to IP modules: | ||
22 | ethernet@.... { | ||
23 | .... | ||
24 | resets = <&reset HSDK_V1_ETH_RESET>; | ||
25 | .... | ||
26 | }; | ||
27 | |||
28 | The index could be found in <dt-bindings/reset/snps,hsdk-v1-reset.h> | ||