diff mbox series

[net-next,v4] dt-bindings: net: qcom,ipa: make imem interconnect optional

Message ID 20210811141802.2635424-1-elder@linaro.org
State Accepted
Commit b769cf44ed55f4b277b89cf53df6092f0c9082d0
Headers show
Series [net-next,v4] dt-bindings: net: qcom,ipa: make imem interconnect optional | expand

Commit Message

Alex Elder Aug. 11, 2021, 2:18 p.m. UTC
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.

Signed-off-by: Alex Elder <elder@linaro.org>
---
v4: Hopefully I included all the right addressees this time.
v3: Based on net-next/master; sending for inclusion in net-next.
v2: Based on linux-next/master.

An earlier version was sent with some DTS updates and was accepted
into the net-next/master branch, but later reverted.  Bjorn accepted
the re-sent DTS patches into the Qualcomm repository; this patch
should go (by itself) via the net-next repository.

					-Alex

 .../devicetree/bindings/net/qcom,ipa.yaml     | 24 ++++++++++++-------
 1 file changed, 16 insertions(+), 8 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 12, 2021, 10 p.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 11 Aug 2021 09:18:02 -0500 you wrote:
> 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.

> 

> Signed-off-by: Alex Elder <elder@linaro.org>

> 

> [...]


Here is the summary with links:
  - [net-next,v4] dt-bindings: net: qcom,ipa: make imem interconnect optional
    https://git.kernel.org/netdev/net-next/c/b769cf44ed55

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
index ed88ba4b94df5..b8a0b392b24ea 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
@@ -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