dt-bindings: Use full path to other schemas
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 5 May 2024 08:46:18 +0000 (10:46 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 8 May 2024 19:13:46 +0000 (14:13 -0500)
When referencing other schema, it is preferred to use an absolute path
(/schemas/....), which allows also an seamless move of particular schema
out of Linux kernel to dtschema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20240505084618.135705-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml
Documentation/devicetree/bindings/media/amphion,vpu.yaml
Documentation/devicetree/bindings/mtd/mtd.yaml

index 5b1769c19b1735e3bd70db002581e0693498ec07..418c168b223b7cdfffbb3d6b12f3d88e079d33c1 100644 (file)
@@ -784,7 +784,7 @@ patternProperties:
       gpio-2: GPIO4
 
     allOf:
-      - $ref: ../pinctrl/pincfg-node.yaml#
+      - $ref: /schemas/pinctrl/pincfg-node.yaml#
 
     properties:
       drive-open-drain: true
index c0d83d7552399b960308a7d7054fc71d9e810a73..9801de3ed84e8edb62231db514f9aa21cb169754 100644 (file)
@@ -44,7 +44,7 @@ patternProperties:
     description:
       Each vpu encoder or decoder correspond a MU, which used for communication
       between driver and firmware. Implement via mailbox on driver.
-    $ref: ../mailbox/fsl,mu.yaml#
+    $ref: /schemas/mailbox/fsl,mu.yaml#
 
 
   "^vpu-core@[0-9a-f]+$":
index ee442ecb11cd9cbc9562777f7cb3c3225087c394..bbb56216a4e253aa40790d7afd02df8b54d6bc08 100644 (file)
@@ -48,8 +48,8 @@ patternProperties:
     type: object
 
     allOf:
-      - $ref: ../nvmem/nvmem.yaml#
-      - $ref: ../nvmem/nvmem-deprecated-cells.yaml#
+      - $ref: /schemas/nvmem/nvmem.yaml#
+      - $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#
 
     unevaluatedProperties: false