sunxi: spi flash dts changes
[openwrt/openwrt.git] / target / linux / gemini / patches-4.14 / 0017-watchdog-gemini-ftwdt010-rename-DT-bindings.patch
1 From d73f6cc09bcbe258a72c06899215d1a3e8a7686d Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Mon, 16 Oct 2017 22:54:23 +0200
4 Subject: [PATCH 17/31] watchdog: gemini/ftwdt010: rename DT bindings
5
6 The device tree bindings are in two copies and also should be
7 consolidated into a single Faraday Technology FTWDT010
8 binding since we uncovered that this IP part is a standard
9 IP from Faraday.
10
11 Cc: devicetree@vger.kernel.org
12 Acked-by: Rob Herring <robh@kernel.org>
13 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
14 Reviewed-by: Guenter Roeck <linux@roeck-us.net>
15 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
16 Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
17 ---
18 .../bindings/watchdog/cortina,gemini-watchdog.txt | 17 -----------------
19 ...{cortina,gemin-watchdog.txt => faraday,ftwdt010.txt} | 11 ++++++++---
20 2 files changed, 8 insertions(+), 20 deletions(-)
21 delete mode 100644 Documentation/devicetree/bindings/watchdog/cortina,gemini-watchdog.txt
22 rename Documentation/devicetree/bindings/watchdog/{cortina,gemin-watchdog.txt => faraday,ftwdt010.txt} (55%)
23
24 --- a/Documentation/devicetree/bindings/watchdog/cortina,gemini-watchdog.txt
25 +++ /dev/null
26 @@ -1,17 +0,0 @@
27 -Cortina Systems Gemini SoC Watchdog
28 -
29 -Required properties:
30 -- compatible : must be "cortina,gemini-watchdog"
31 -- reg : shall contain base register location and length
32 -- interrupts : shall contain the interrupt for the watchdog
33 -
34 -Optional properties:
35 -- timeout-sec : the default watchdog timeout in seconds.
36 -
37 -Example:
38 -
39 -watchdog@41000000 {
40 - compatible = "cortina,gemini-watchdog";
41 - reg = <0x41000000 0x1000>;
42 - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
43 -};
44 --- a/Documentation/devicetree/bindings/watchdog/cortina,gemin-watchdog.txt
45 +++ /dev/null
46 @@ -1,17 +0,0 @@
47 -Cortina Systems Gemini SoC Watchdog
48 -
49 -Required properties:
50 -- compatible : must be "cortina,gemini-watchdog"
51 -- reg : shall contain base register location and length
52 -- interrupts : shall contain the interrupt for the watchdog
53 -
54 -Optional properties:
55 -- timeout-sec : the default watchdog timeout in seconds.
56 -
57 -Example:
58 -
59 -watchdog@41000000 {
60 - compatible = "cortina,gemini-watchdog";
61 - reg = <0x41000000 0x1000>;
62 - interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
63 -};
64 --- /dev/null
65 +++ b/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.txt
66 @@ -0,0 +1,22 @@
67 +Faraday Technology FTWDT010 watchdog
68 +
69 +This is an IP part from Faraday Technology found in the Gemini
70 +SoCs and others.
71 +
72 +Required properties:
73 +- compatible : must be one of
74 + "faraday,ftwdt010"
75 + "cortina,gemini-watchdog", "faraday,ftwdt010"
76 +- reg : shall contain base register location and length
77 +- interrupts : shall contain the interrupt for the watchdog
78 +
79 +Optional properties:
80 +- timeout-sec : the default watchdog timeout in seconds.
81 +
82 +Example:
83 +
84 +watchdog@41000000 {
85 + compatible = "faraday,ftwdt010";
86 + reg = <0x41000000 0x1000>;
87 + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
88 +};