Skip to contentSkip to conversation

dt-bindings: net: qcom,ipa: make imem interconnect optional

PATCH Superseded Alex Elder 1 participant 1 message Aug 10, 2021

Subsystems (4)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Alex Elder

author
#0 lore raw

PATCH v3 1/1 dt-bindings: net: qcom,ipa: make imem interconnect optional

On some newer SoCs, the interconnect between IPA and SoC internal memory (imem) is not used. Update the binding to indicate that having just the memory and config interconnects is another allowed configuration.

---

v3:  Based on net-next/master; sending for inclusion there.
v2:  Based on linux-next/master, to be taken via Qualcomm repository.

I sent version 2 of this only to linux-arm-msm, but Bjorn reminded me this binding update ought to go through the net-next repository.

-Alex

 .../devicetree/bindings/net/qcom,ipa.yaml     | 24 ++++++++++++-------
 1 file changed, 16 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/net/qcom,ipa.yaml +16 -8
index ed88ba4b94df5..b8a0b392b24ea 100644
@@ -87,16 +87,24 @@ properties:
       - const: ipa-setup-ready
 
   interconnects:
-    items:
-      - description: Interconnect path between IPA and main memory
-      - description: Interconnect path between IPA and internal memory
-      - description: Interconnect path between IPA and the AP subsystem
+    oneOf:
+      - items:
+          - description: Path leading to system memory
+          - description: Path between the AP and IPA config space
+      - items:
+          - description: Path leading to system memory
+          - description: Path leading to internal memory
+          - description: Path between the AP and IPA config space
 
   interconnect-names:
-    items:
-      - const: memory
-      - const: imem
-      - const: config
+    oneOf:
+      - items:
+          - const: memory
+          - const: config
+      - items:
+          - const: memory
+          - const: imem
+          - const: config
 
   qcom,smem-states:
     $ref: /schemas/types.yaml#/definitions/phandle-array
Signature · 1 line
2.27.0