dt-bindings: Add snapshot of remote debugger driver

The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.
This snapshot was taken as of msm-4.14 commit.

Change-Id: I30ef2c9b67904f80867df82552572978ab09a05c
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
This commit is contained in:
Devender Kaushik
2023-10-31 16:14:26 +05:30
parent cfe3892709
commit 3bece2fe38
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
$id: http://devicetree.org/schemas/arm/msm/qcom,rdbg-smp2p.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Remote debugger driver
maintainers:
- Devender Kaushik <quic_dkaushik@quicinc.com>
description: |
The Remote Debug Driver interfaces with the Remote Debug stubs running on the
subsystem processors and does not drive or anage any hardware resources.
properties:
compatible:
oneOf:
- description: To communicate with adsp
items:
- enum:
qcom,smp2p-interrupt-rdbg-2-in (inbound)
qcom,smp2p-interrupt-rdbg-2-out (outbound)
- description: To communicate with cdsp
items:
- enum:
qcom,smp2p-interrupt-rdbg-5-in (inbound)
qcom,smp2p-interrupt-rdbg-5-out (outbound)
required:
- compatible
examples:
-
qcom,smp2p_interrupt_rdbg_2_in {
compatible = "qcom,smp2p-interrupt-rdbg-2-in";
};

View File

@@ -439,6 +439,17 @@
interrupt-controller;
#interrupt-cells = <2>;
};
smp2p_rdbg2_out: qcom,smp2p-rdbg2-out {
qcom,entry-name = "rdbg";
#qcom,smem-state-cells = <1>;
};
smp2p_rdbg2_in: qcom,smp2p-rdbg2-in {
qcom,entry-name = "rdbg";
interrupt-controller;
#interrupt-cells = <2>;
};
};
@@ -462,6 +473,17 @@
interrupt-controller;
#interrupt-cells = <2>;
};
smp2p_rdbg5_out: qcom,smp2p-rdbg5-out {
qcom,entry-name = "rdbg";
#qcom,smem-state-cells = <1>;
};
smp2p_rdbg5_in: qcom,smp2p-rdbg5-in {
qcom,entry-name = "rdbg";
interrupt-controller;
#interrupt-cells = <2>;
};
};
qcom,smp2p-modem {
@@ -2236,6 +2258,7 @@
#include "sun-usb.dtsi"
#include "sun-thermal.dtsi"
#include "sun-pcie.dtsi"
#include "msm-rdbg.dtsi"
&qupv3_se7_2uart {
status = "ok";