Files
android_kernel_samsung_sm87…/bindings/arm/msm/qcom,gh-watchdog.yaml
Melody Olvera 73969c3c5f dt-bindings: arm: msm: Add bindings for qcom watchdogs
Add snapshot of bindings for qcom waatchdogs from qcom-6.1
commit 9dd5d1fa1 ("Merge "ARM: dts: msm: Add phandle for default CMA
area"").

Change-Id: I80da4682d786147f81fff34b84bb5c6a9c47f445
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-06-13 13:10:35 -07:00

48 lines
1.3 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/bindings/arm/msm/gh_watchdog.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. GH Watchdog
maintainers:
- Melody Olvera <quic_molvera@quicinc.com>
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:
enum:
- qcom,gh-watchdog
- qcom,hh-watchdog
interrupts:
maxItems: 1
description: |
should contain the bark irq number
required:
- compatible
- interrupts
additionalProperties: false
example:
- |
wdog_gh: qcom,wdt_gh {
compatible = "qcom,gh-watchdog";
interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
};
...