Message ID | 20230703-topic-8250_qup_icc-v2-1-9ba0a9460be2@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 6fed6f35940c088c4646afb29cce1ca680ce72ce |
Headers | show |
Series | Add interconnects to QUPs on SM8250 | expand |
On 03/07/2023 22:15, Konrad Dybcio wrote: > Document the QUP virtual bus on SM8250. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > + > +allOf: > + - $ref: qcom,rpmh-common.yaml# > + - if: > + not: > + properties: > + compatible: > + enum: > + - qcom,sm8250-qup-virt > + then: > + required: > + - reg > + > If there is going to be new version - drop stray blank line here. In any case: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml index 4d93ad415e0b..a46497af1fd8 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml @@ -18,9 +18,6 @@ description: | least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources. -allOf: - - $ref: qcom,rpmh-common.yaml# - properties: reg: maxItems: 1 @@ -91,6 +88,7 @@ properties: - qcom,sm8250-mc-virt - qcom,sm8250-mmss-noc - qcom,sm8250-npu-noc + - qcom,sm8250-qup-virt - qcom,sm8250-system-noc - qcom,sm8350-aggre1-noc - qcom,sm8350-aggre2-noc @@ -107,7 +105,19 @@ properties: required: - compatible - - reg + +allOf: + - $ref: qcom,rpmh-common.yaml# + - if: + not: + properties: + compatible: + enum: + - qcom,sm8250-qup-virt + then: + required: + - reg + unevaluatedProperties: false
Document the QUP virtual bus on SM8250. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- .../devicetree/bindings/interconnect/qcom,rpmh.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-)