]> www.infradead.org Git - linux.git/commitdiff
dt-bindings: interconnect: qcom: Do not require reg for sc8180x virt NoCs
authorGeorgi Djakov <djakov@kernel.org>
Tue, 30 Jul 2024 14:10:16 +0000 (17:10 +0300)
committerGeorgi Djakov <djakov@kernel.org>
Sun, 25 Aug 2024 22:35:50 +0000 (01:35 +0300)
The virtual interconnect providers do not have their own IO address space,
but this is not documented in the DT schema and the following warnings are
reported by dtbs_check:

sc8180x-lenovo-flex-5g.dtb: interconnect-camnoc-virt: 'reg' is a required property
sc8180x-lenovo-flex-5g.dtb: interconnect-mc-virt: 'reg' is a required property
sc8180x-lenovo-flex-5g.dtb: interconnect-qup-virt: 'reg' is a required property
sc8180x-primus.dtb: interconnect-camnoc-virt: 'reg' is a required property
sc8180x-primus.dtb: interconnect-mc-virt: 'reg' is a required property
sc8180x-primus.dtb: interconnect-qup-virt: 'reg' is a required property

Fix this by adding them to the list of compatibles that do not require
the reg property.

Link: https://lore.kernel.org/r/20240730141016.1142608-1-djakov@kernel.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml

index 0cb4f715484432ce7a45be0448e9259978ddce65..1b9164dc162f35e061a9e9048b33c0752548c05a 100644 (file)
@@ -113,6 +113,9 @@ allOf:
         properties:
           compatible:
             enum:
+              - qcom,sc8180x-camnoc-virt
+              - qcom,sc8180x-mc-virt
+              - qcom,sc8180x-qup-virt
               - qcom,sdx65-mc-virt
               - qcom,sm8250-qup-virt
     then: