Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1664337 > unrolled thread
| Started by | Keiji Hayashibara <hayashibara.keiji@socionext.com> |
|---|---|
| First post | 2017-06-13 03:20 +0200 |
| Last post | 2017-06-13 03:20 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH V3 0/3] add UniPhier watchdog support Keiji Hayashibara <hayashibara.keiji@socionext.com> - 2017-06-13 03:20 +0200
[PATCH V3 3/3] arm64: dts: uniphier: add watchdog node for LD11 and LD20 Keiji Hayashibara <hayashibara.keiji@socionext.com> - 2017-06-13 03:20 +0200
[PATCH V3 1/3] dt-bindings: watchdog: add description for UniPhier WDT controller Keiji Hayashibara <hayashibara.keiji@socionext.com> - 2017-06-13 03:20 +0200
| From | Keiji Hayashibara <hayashibara.keiji@socionext.com> |
|---|---|
| Date | 2017-06-13 03:20 +0200 |
| Subject | [PATCH V3 0/3] add UniPhier watchdog support |
| Message-ID | <tRIEV-1n3-3@gated-at.bofh.it> |
This series adds support for watchdog timer implemented on UniPhier LD11 and LD20 SoCs. This driver supports watchdog and system reset for SoCs. patch V2 http://www.spinics.net/lists/linux-watchdog/msg11852.html patch V1 http://www.spinics.net/lists/linux-watchdog/msg11782.html Changes between V3 and V2 ========================= 1. Fix issues according to review comments. * Make it possible to take a timeout from devicetree. * Sort #include headlers alphabetically. * Correct the description of dt-bindings document and this patch comment. * Correct the description of license as GPLv2. * Correct MODULE_AUTHOR() * Remove unnecessary code. Changes between V2 and V1 ========================= 1. Add barrier code in uniphier_watchdog_ping() and __uniphier_watchdog_start(). 2. Fix issues according to review comments. Keiji Hayashibara (3): dt-bindings: watchdog: add description for UniPhier WDT controller watchdog: uniphier: add UniPhier watchdog driver arm64: dts: uniphier: add watchdog node for LD11 and LD20 .../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 ++ Documentation/watchdog/watchdog-parameters.txt | 6 + arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 4 + arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 + drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/uniphier_wdt.c | 268 +++++++++++++++++++++ 7 files changed, 314 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt create mode 100644 drivers/watchdog/uniphier_wdt.c -- 2.7.4
[toc] | [next] | [standalone]
| From | Keiji Hayashibara <hayashibara.keiji@socionext.com> |
|---|---|
| Date | 2017-06-13 03:20 +0200 |
| Subject | [PATCH V3 3/3] arm64: dts: uniphier: add watchdog node for LD11 and LD20 |
| Message-ID | <tRIEW-1n3-15@gated-at.bofh.it> |
| In reply to | #1664337 |
Add nodes of watchdog timer for UniPhier LD11 and LD20 SoC.
The watchdog timer is included in sysctrl.
Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
---
arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 4 ++++
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
index da881f5..5fee3e3 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi
@@ -393,6 +393,10 @@
compatible = "socionext,uniphier-ld11-reset";
#reset-cells = <1>;
};
+
+ watchdog {
+ compatible = "socionext,uniphier-wdt";
+ };
};
};
};
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index a6b3a70..d4d82c8 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -417,6 +417,10 @@
compatible = "socionext,uniphier-ld20-reset";
#reset-cells = <1>;
};
+
+ watchdog {
+ compatible = "socionext,uniphier-wdt";
+ };
};
};
};
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Keiji Hayashibara <hayashibara.keiji@socionext.com> |
|---|---|
| Date | 2017-06-13 03:20 +0200 |
| Subject | [PATCH V3 1/3] dt-bindings: watchdog: add description for UniPhier WDT controller |
| Message-ID | <tRIEW-1n3-13@gated-at.bofh.it> |
| In reply to | #1664337 |
Add uniphier-wdt dt-bindings documentation.
Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
---
.../devicetree/bindings/watchdog/uniphier-wdt.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt
diff --git a/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt
new file mode 100644
index 0000000..bf63375
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/uniphier-wdt.txt
@@ -0,0 +1,20 @@
+UniPhier watchdog timer controller
+
+This UniPhier watchdog timer controller must be under sysctrl node.
+
+Required properties:
+- compatible: should be "socionext,uniphier-wdt"
+
+Example:
+
+ sysctrl@61840000 {
+ compatible = "socionext,uniphier-ld11-sysctrl",
+ "simple-mfd", "syscon";
+ reg = <0x61840000 0x4000>;
+
+ watchdog {
+ compatible = "socionext,uniphier-wdt";
+ }
+
+ other nodes ...
+ };
--
2.7.4
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web