dt-bindings: Use full path to other schemas

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>
This commit is contained in:
Krzysztof Kozlowski 2024-05-05 10:46:18 +02:00 committed by Rob Herring (Arm)
parent 28081ebd17
commit 49e9d01f66
3 changed files with 4 additions and 4 deletions

View 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

View 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]+$":

View 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