Re: [PATCH v4 1/2] dt-bindings: interconnect: qcom: Add SM7250 RPMh NoC

From: Krzysztof Kozlowski

Date: Wed Oct 28 2026 - 03:59:31 EST


On Tue, Oct 27, 2026 at 12:42:21PM +0000, Ishu Brar wrote:
> Document the Network-On-Chip interconnect providers of the Qualcomm
> SM7250 SoC (Snapdragon 765/765G/768G), which are controlled through RPMh
> Bus Clock Managers, and add the header with the node and slave IDs.
>
> Signed-off-by: Ishu Brar <patches@xxxxxxx>
> ---
> .../bindings/interconnect/qcom,sm7250-rpmh.yaml | 105 +++++++++++++++
> .../dt-bindings/interconnect/qcom,sm7250-rpmh.h | 148 +++++++++++++++++++++
> 2 files changed, 253 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sm7250-rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sm7250-rpmh.yaml
> new file mode 100644
> index 000000000000..1ae1ebfc27e3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interconnect/qcom,sm7250-rpmh.yaml
> @@ -0,0 +1,105 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/interconnect/qcom,sm7250-rpmh.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm RPMh Network-On-Chip Interconnect on SM7250
> +
> +maintainers:
> + - Ishu Brar <patches@xxxxxxx>
> +
> +description: |
> + RPMh interconnect providers support system bandwidth requirements through
> + RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
> + able to communicate with the BCM through the Resource State Coordinator (RSC)
> + associated with each execution environment. Provider nodes must point to at
> + least one RPMh device child node pertaining to their RSC and each provider
> + can map to multiple RPMh resources.
> +
> + See also: include/dt-bindings/interconnect/qcom,sm7250-rpmh.h
> +
> +allOf:
> + - $ref: qcom,rpmh-common.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: qcom,sm7250-aggre1-noc
> + then:
> + required:
> + - clocks
> + else:
> + properties:
> + clocks: false

Entire allOf goes to the end, before unevaluatedProperties.

> +
> +properties:
> + compatible:
> + enum:
> + - qcom,sm7250-aggre1-noc
> + - qcom,sm7250-aggre2-noc
> + - qcom,sm7250-config-noc
> + - qcom,sm7250-dc-noc
> + - qcom,sm7250-gem-noc
> + - qcom,sm7250-mmss-noc
> + - qcom,sm7250-npu-noc
> + - qcom,sm7250-system-noc
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: aggre UFS PHY AXI clock
> + - description: aggre USB3 PRIM AXI clock
> +
> +patternProperties:
> + '^interconnect-[0-9]+$':

We actually do not need to enforce -0: '^interconnect(-[0-9]+)?$'

> + type: object
> + description:
> + The interconnect providers do not have a separate QoS register space,
> + but share parent's space.
> +
> + allOf:
> + - $ref: qcom,rpmh-common.yaml#

Best regards,
Krzysztof