Skip to content

Commit 49e9d01

Browse files
krzkrobherring
authored andcommitted
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 <[email protected]> Acked-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 28081eb commit 49e9d01

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ patternProperties:
784784
gpio-2: GPIO4
785785
786786
allOf:
787-
- $ref: ../pinctrl/pincfg-node.yaml#
787+
- $ref: /schemas/pinctrl/pincfg-node.yaml#
788788

789789
properties:
790790
drive-open-drain: true

Documentation/devicetree/bindings/media/amphion,vpu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ patternProperties:
4444
description:
4545
Each vpu encoder or decoder correspond a MU, which used for communication
4646
between driver and firmware. Implement via mailbox on driver.
47-
$ref: ../mailbox/fsl,mu.yaml#
47+
$ref: /schemas/mailbox/fsl,mu.yaml#
4848

4949

5050
"^vpu-core@[0-9a-f]+$":

Documentation/devicetree/bindings/mtd/mtd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ patternProperties:
4848
type: object
4949

5050
allOf:
51-
- $ref: ../nvmem/nvmem.yaml#
52-
- $ref: ../nvmem/nvmem-deprecated-cells.yaml#
51+
- $ref: /schemas/nvmem/nvmem.yaml#
52+
- $ref: /schemas/nvmem/nvmem-deprecated-cells.yaml#
5353

5454
unevaluatedProperties: false
5555

0 commit comments

Comments
 (0)