[PATCH 07/14] dt-bindings: qcom: smd: Mark as deprecated

From: Stephan Gerhold
Date: Mon Jun 05 2023 - 03:11:33 EST


The RPM processor/subsystem is the only user of the /smd top-level
node. All other remote processors define their SMD channels/edges
in a "smd-edge" subnode inside the DT node of the remote processor.

Since the RPM has its own dedicated device tree node now as well,
deprecate using the dummy /smd node.

Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
index 063e595c12f7..4819ce90d206 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
@@ -15,6 +15,12 @@ description:
The Qualcomm Shared Memory Driver is a FIFO based communication channel for
sending data between the various subsystems in Qualcomm platforms.

+ Using the top-level SMD node is deprecated. Instead, the SMD edges are defined
+ directly below the device node representing the respective remote subsystem
+ or remote processor.
+
+deprecated: true
+
properties:
compatible:
const: qcom,smd
@@ -37,6 +43,7 @@ examples:
# The following example represents a smd node, with one edge representing the
# "rpm" subsystem. For the "rpm" subsystem we have a device tied to the
# "rpm_request" channel.
+ # NOTE: This is deprecated, represent the RPM using "qcom,rpm-proc" instead.
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>


--
2.40.1