Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20210811141802.2635424-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alex Elder and committed by
Jakub Kicinski
b769cf44 676eec8e

+16 -8
+16 -8
Documentation/devicetree/bindings/net/qcom,ipa.yaml
··· 87 87 - const: ipa-setup-ready 88 88 89 89 interconnects: 90 - items: 91 - - description: Interconnect path between IPA and main memory 92 - - description: Interconnect path between IPA and internal memory 93 - - description: Interconnect path between IPA and the AP subsystem 90 + oneOf: 91 + - items: 92 + - description: Path leading to system memory 93 + - description: Path between the AP and IPA config space 94 + - items: 95 + - description: Path leading to system memory 96 + - description: Path leading to internal memory 97 + - description: Path between the AP and IPA config space 94 98 95 99 interconnect-names: 96 - items: 97 - - const: memory 98 - - const: imem 99 - - const: config 100 + oneOf: 101 + - items: 102 + - const: memory 103 + - const: config 104 + - items: 105 + - const: memory 106 + - const: imem 107 + - const: config 100 108 101 109 qcom,smem-states: 102 110 $ref: /schemas/types.yaml#/definitions/phandle-array