devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: remoteproc: qcom,smd-edge: Add APR/FastRPC
@ 2022-09-08 18:14 Stephan Gerhold
  2022-09-09  7:18 ` Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stephan Gerhold @ 2022-09-08 18:14 UTC (permalink / raw)
  To: Rob Herring
  Cc: Bjorn Andersson, Andy Gross, Konrad Dybcio, Mathieu Poirier,
	Krzysztof Kozlowski, Stephan Gerhold, linux-arm-msm,
	linux-remoteproc, devicetree, Abel Vesa, Srinivas Kandagatla,
	Stephan Gerhold

Similar to qcom,glink-edge.yaml the smd-edge can also contain
apr/fastrpc nodes for functionality exposed by the modem or audio DSP.

These nodes are already used in existing device trees, adding them
fixes the following dtbs_check warnings after converting
qcom,msm8916-mss-pil to DT schema:

arch/arm64/boot/dts/qcom/apq8016-sbc.dtb: remoteproc@4080000: smd-edge:
Unevaluated properties are not allowed ('fastrpc' was unexpected)
  From schema: remoteproc/qcom,msm8916-mss-pil.yaml

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
---
Since qcom,fastrpc.yaml only exists in Rob's tree right now and
a similar change for qcom,glink-edge.yaml was applied there it is
probably easiest if this patch goes through Rob's tree as well.
---
 .../devicetree/bindings/remoteproc/qcom,smd-edge.yaml  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
index 06eebf791e32..9b9eaa80fd20 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
@@ -19,6 +19,16 @@ properties:
   $nodename:
     const: "smd-edge"
 
+  apr:
+    $ref: /schemas/soc/qcom/qcom,apr.yaml#
+    description:
+      Qualcomm APR/GPR (Asynchronous/Generic Packet Router)
+
+  fastrpc:
+    $ref: /schemas/misc/qcom,fastrpc.yaml#
+    description:
+      Qualcomm FastRPC
+
   interrupts:
     maxItems: 1
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-09 16:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08 18:14 [PATCH] dt-bindings: remoteproc: qcom,smd-edge: Add APR/FastRPC Stephan Gerhold
2022-09-09  7:18 ` Krzysztof Kozlowski
2022-09-09 16:16 ` Rob Herring
2022-09-09 16:22   ` Rob Herring
2022-09-09 16:30     ` Krzysztof Kozlowski
2022-09-09 16:45       ` Stephan Gerhold
2022-09-09 16:47         ` Krzysztof Kozlowski
2022-09-09 16:24 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).