aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2018-11-23 09:44:37 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-12-22 12:15:33 +0100
commit8d4d4f3267e1fcad56ca5aa4eabf72472e10965f (patch)
treef9498ce92cc9be00b8a35af3bb72d83412b63a0e /Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
parentwatchdog: Add pm8916 watchdog driver (diff)
downloadlinux-dev-8d4d4f3267e1fcad56ca5aa4eabf72472e10965f.tar.xz
linux-dev-8d4d4f3267e1fcad56ca5aa4eabf72472e10965f.zip
dt-bindings: watchdog: Add Qualcomm PM8916 watchdog
Document support for the Watchdog Timer (WDT) Controller in the Qualcomm PM8916 PMIC module. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt b/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
new file mode 100644
index 000000000000..6fb984f31982
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
@@ -0,0 +1,28 @@
+QCOM PM8916 watchdog timer controller
+
+This pm8916 watchdog timer controller must be under pm8916-pon node.
+
+Required properties:
+- compatible: should be "qcom,pm8916-wdt"
+
+Optional properties :
+- interrupts : Watchdog pre-timeout (bark) interrupt.
+- timeout-sec : Watchdog timeout value in seconds.
+
+Example:
+
+ pm8916_0: pm8916@0 {
+ compatible = "qcom,pm8916", "qcom,spmi-pmic";
+ reg = <0x0 SPMI_USID>;
+
+ pon@800 {
+ compatible = "qcom,pm8916-pon";
+ reg = <0x800>;
+
+ watchdog {
+ compatible = "qcom,pm8916-wdt";
+ interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>;
+ timeout-sec = <10>;
+ };
+ };
+ };