On 09/06/2024 20:20, Adam Skladowski wrote: > Add bindings for Qualcomm MSM8937 Network-On-Chip interconnect devices. > > Signed-off-by: Adam Skladowski <a39.skl@xxxxxxxxx> Since I expect resend, all trivial nits from patch #1 apply here as well. > --- > .../bindings/interconnect/qcom,msm8937.yaml | 81 ++++++++++++++++ > .../dt-bindings/interconnect/qcom,msm8937.h | 93 +++++++++++++++++++ > 2 files changed, 174 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,msm8937.yaml > create mode 100644 include/dt-bindings/interconnect/qcom,msm8937.h > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8937.yaml b/Documentation/devicetree/bindings/interconnect/qcom,msm8937.yaml > new file mode 100644 > index 000000000000..39a1ca441bb2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interconnect/qcom,msm8937.yaml > @@ -0,0 +1,81 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interconnect/qcom,msm8937.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm MSM8937 Network-On-Chip interconnect > + > +maintainers: > + - Konrad Dybcio <konradybcio@xxxxxxxxxx> > + > +description: | > + The Qualcomm MSM8937 interconnect providers support adjusting the > + bandwidth requirements between the various NoC fabrics. > + > +allOf: > + - $ref: qcom,rpm-common.yaml# > + > +properties: > + compatible: > + enum: > + - qcom,msm8937-bimc > + - qcom,msm8937-pcnoc > + - qcom,msm8937-snoc > + > + reg: > + maxItems: 1 > + > +patternProperties: > + '^interconnect-[a-z0-9\-]+$': > + type: object > + $ref: qcom,rpm-common.yaml# > + description: > + The interconnect providers do not have a separate QoS register space, > + but share parent's space. > + > + allOf: > + - $ref: qcom,rpm-common.yaml# > + > + properties: > + compatible: > + const: qcom,msm8937-snoc-mm > + > + required: > + - compatible > + > + unevaluatedProperties: false > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include <dt-bindings/clock/qcom,rpmcc.h> > + #include <dt-bindings/interconnect/qcom,rpm-icc.h> > + > + bimc: interconnect@400000 { > + compatible = "qcom,msm8937-bimc"; > + reg = <0x00400000 0x5a000>; > + #interconnect-cells = <2>; > + }; Drop node > + > + pcnoc: interconnect@500000 { > + compatible = "qcom,msm8937-pcnoc"; > + reg = <0x00500000 0x13080>; > + #interconnect-cells = <2>; > + }; Drop node > + Best regards, Krzysztof