[PATCH 3/3] dt-bindings: net: qcom: ethernet: Add interconnect properties

Sagar Cheluvegowda posted 3 patches 1 year, 7 months ago
[PATCH 3/3] dt-bindings: net: qcom: ethernet: Add interconnect properties
Posted by Sagar Cheluvegowda 1 year, 7 months ago
Add documentation for the interconnect and interconnect-names
properties required when voting for AHB and AXI buses.

Signed-off-by: Sagar Cheluvegowda <quic_scheluve@quicinc.com>
---
 Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
index 6672327358bc..bf2a197342a5 100644
--- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
@@ -63,6 +63,14 @@ properties:
 
   dma-coherent: true
 
+  interconnects:
+    maxItems: 2
+
+  interconnect-names:
+    items:
+      - const: axi_icc_path
+      - const: ahb_icc_path
+
   phys: true
 
   phy-names:

-- 
2.34.1
Re: [PATCH 3/3] dt-bindings: net: qcom: ethernet: Add interconnect properties
Posted by Krzysztof Kozlowski 1 year, 7 months ago
On 20/06/2024 00:41, Sagar Cheluvegowda wrote:
> Add documentation for the interconnect and interconnect-names
> properties required when voting for AHB and AXI buses.
> 
> Signed-off-by: Sagar Cheluvegowda <quic_scheluve@quicinc.com>
> ---
>  Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> index 6672327358bc..bf2a197342a5 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> @@ -63,6 +63,14 @@ properties:
>  
>    dma-coherent: true
>  
> +  interconnects:
> +    maxItems: 2
> +
> +  interconnect-names:
> +    items:
> +      - const: axi_icc_path
> +      - const: ahb_icc_path

Drop "_icc_path", redundant and instead describe it like other bindings.
Also, names use hyphens. Just open any Qualcomm DTS.


Best regards,
Krzysztof