Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Loic Poulain and committed by
Wim Van Sebroeck
8d4d4f32 969c0acc

+28
+28
Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
··· 1 + QCOM PM8916 watchdog timer controller 2 + 3 + This pm8916 watchdog timer controller must be under pm8916-pon node. 4 + 5 + Required properties: 6 + - compatible: should be "qcom,pm8916-wdt" 7 + 8 + Optional properties : 9 + - interrupts : Watchdog pre-timeout (bark) interrupt. 10 + - timeout-sec : Watchdog timeout value in seconds. 11 + 12 + Example: 13 + 14 + pm8916_0: pm8916@0 { 15 + compatible = "qcom,pm8916", "qcom,spmi-pmic"; 16 + reg = <0x0 SPMI_USID>; 17 + 18 + pon@800 { 19 + compatible = "qcom,pm8916-pon"; 20 + reg = <0x800>; 21 + 22 + watchdog { 23 + compatible = "qcom,pm8916-wdt"; 24 + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; 25 + timeout-sec = <10>; 26 + }; 27 + }; 28 + };