From 9b576e5ddb4e435836a8b23b5e7558cc64a462b8 Mon Sep 17 00:00:00 2001 From: Unnathi Chalicheemala Date: Tue, 17 Oct 2023 10:04:34 -0700 Subject: [PATCH] dt-bindings: soc: qcom: Add documentation for SHM Add documentation for System Helath Monitor driver. Change-Id: Id91b9144b56dc18612626ba39d504faba002b20c Signed-off-by: Unnathi Chalicheemala --- bindings/soc/qcom/qcom,health_monitor.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bindings/soc/qcom/qcom,health_monitor.yaml diff --git a/bindings/soc/qcom/qcom,health_monitor.yaml b/bindings/soc/qcom/qcom,health_monitor.yaml new file mode 100644 index 00000000..bbc77c60 --- /dev/null +++ b/bindings/soc/qcom/qcom,health_monitor.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/soc/qcom/qcom,health_monitor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies Inc System Health Monitor (SHM) + +maintainers: + - Unnathi Chalicheemala + +description: |+ + Information about subsystems that are monitored by System Health + Monitor. Subsystems include modem, adsp, wcnss, external MDM(esoc). + +[Root level node] +properties: + compatible: + - const: qcom,system-health-monitor + +required: + - compatible + +[Second level nodes] +properties: + qcom,subsys-name: + description: Name as identified by a subsystem + + qcom,ssrestart-string: + description: String used by subsystem restart to identify the subsystem + + qcom,rproc_phandle: + description: Remoteproc phandle used by subsystem restart + +required: + - qcom,subsys-name + - qcom,ssrestart-string + - qcom,rproc_phandle + +example: + qcom,system-health-monitor { + compatible = "qcom,system-health-monitor"; + + qcom,modem { + qcom,subsys-name = "msm_mpss"; + qcom,ssrestart-string = "mpss"; + qcom,rproc_phandle = <&modem_pas>; + }; + }; +...