Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7615125d authored by Branden Bonaby's avatar Branden Bonaby
Browse files

dt-bindings: msm: Add haven watchdog documentation

Add binding documentation for the haven virtual watchdog.

Change-Id: I1a118bb96a1d419cf41a27e74d238ba228e69e30
parent 9a81d0ce
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
%YAML 1.2
---
$id: http://devicetree.org/schemas/bindings/arm/msm/hh_watchdog.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: QTI HH Watchdog

maintainers:

description: |+
  Watchdog timer is configured with a bark and a bite time.
  If the watchdog is not "pet" at regular intervals, the system
  is assumed to have become non responsive and needs to be reset.
  A warning in the form of a bark timeout leads to a bark interrupt
  and a kernel panic. If the watchdog timer is still not reset,
  a bite timeout occurs, which leads to a reset of the VM via
  the hypervisor. The driver needs the petting time, and the bark
  timeout to be programmed into the watchdog, as well as the bark irq.

  The device tree parameters for the watchdog are:

properties:
  compatible:
    Usage: required
    Value type: <string>
    Definition: Must be "qcom,hh-watchdog"

  interrupts:
     Usage: required
     Value type: <prop-encoded-array>
     Definition: should contain the bark irq number

example:
  - |
    wdog_hh: qcom,wdt_hh {
		    compatible = "qcom,hh-watchdog";
		    interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
	    };
...