Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 1482489

Browse files
krzklag-linaro
authored andcommitted
dt-bindings: mfd: 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> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://lore.kernel.org/r/20240503072116.12430-1-krzysztof.kozlowski@linaro.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 53d3ff7 commit 1482489

29 files changed

+99
-99
lines changed

Documentation/devicetree/bindings/mfd/actions,atc260x.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: |
2121
regulators.
2222
2323
allOf:
24-
- $ref: ../input/input.yaml
24+
- $ref: /schemas/input/input.yaml
2525

2626
properties:
2727
compatible:
@@ -57,7 +57,7 @@ properties:
5757

5858
switchldo1:
5959
type: object
60-
$ref: ../regulator/regulator.yaml
60+
$ref: /schemas/regulator/regulator.yaml
6161

6262
properties:
6363
regulator-name: true
@@ -76,7 +76,7 @@ properties:
7676

7777
"^(dcdc[0-4]|ldo[0-9]|ldo1[1-2])$":
7878
type: object
79-
$ref: ../regulator/regulator.yaml
79+
$ref: /schemas/regulator/regulator.yaml
8080

8181
properties:
8282
regulator-name: true

Documentation/devicetree/bindings/mfd/brcm,cru.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ properties:
3434

3535
patternProperties:
3636
'^clock-controller@[a-f0-9]+$':
37-
$ref: ../clock/brcm,iproc-clocks.yaml
37+
$ref: /schemas/clock/brcm,iproc-clocks.yaml
3838

3939
'^phy@[a-f0-9]+$':
40-
$ref: ../phy/bcm-ns-usb2-phy.yaml
40+
$ref: /schemas/phy/bcm-ns-usb2-phy.yaml
4141

4242
'^pinctrl@[a-f0-9]+$':
43-
$ref: ../pinctrl/brcm,ns-pinmux.yaml
43+
$ref: /schemas/pinctrl/brcm,ns-pinmux.yaml
4444

4545
'^syscon@[a-f0-9]+$':
4646
$ref: syscon.yaml
4747

4848
'^thermal@[a-f0-9]+$':
49-
$ref: ../thermal/brcm,ns-thermal.yaml
49+
$ref: /schemas/thermal/brcm,ns-thermal.yaml
5050

5151
additionalProperties: false
5252

Documentation/devicetree/bindings/mfd/brcm,misc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ properties:
3333

3434
patternProperties:
3535
'^reset-controller@[a-f0-9]+$':
36-
$ref: ../reset/brcm,bcm4908-misc-pcie-reset.yaml
36+
$ref: /schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml
3737

3838
additionalProperties: false
3939

Documentation/devicetree/bindings/mfd/canaan,k210-sysctl.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ properties:
3636
clock-controller:
3737
# Child node
3838
type: object
39-
$ref: ../clock/canaan,k210-clk.yaml
39+
$ref: /schemas/clock/canaan,k210-clk.yaml
4040
description:
4141
Clock controller for the SoC clocks. This child node definition
4242
should follow the bindings specified in
@@ -45,7 +45,7 @@ properties:
4545
reset-controller:
4646
# Child node
4747
type: object
48-
$ref: ../reset/canaan,k210-rst.yaml
48+
$ref: /schemas/reset/canaan,k210-rst.yaml
4949
description:
5050
Reset controller for the SoC. This child node definition
5151
should follow the bindings specified in
@@ -54,7 +54,7 @@ properties:
5454
syscon-reboot:
5555
# Child node
5656
type: object
57-
$ref: ../power/reset/syscon-reboot.yaml
57+
$ref: /schemas/power/reset/syscon-reboot.yaml
5858
description:
5959
Reboot method for the SoC. This child node definition
6060
should follow the bindings specified in

Documentation/devicetree/bindings/mfd/delta,tn48m-cpld.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ required:
4242

4343
patternProperties:
4444
"^gpio(@[0-9a-f]+)?$":
45-
$ref: ../gpio/delta,tn48m-gpio.yaml
45+
$ref: /schemas/gpio/delta,tn48m-gpio.yaml
4646

4747
"^reset-controller?$":
48-
$ref: ../reset/delta,tn48m-reset.yaml
48+
$ref: /schemas/reset/delta,tn48m-reset.yaml
4949

5050
additionalProperties: false
5151

Documentation/devicetree/bindings/mfd/iqs62x.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ properties:
3838
device name with ".bin" as the extension (e.g. iqs620a.bin for IQS620A).
3939

4040
keys:
41-
$ref: ../input/iqs62x-keys.yaml
41+
$ref: /schemas/input/iqs62x-keys.yaml
4242

4343
pwm:
44-
$ref: ../pwm/iqs620a-pwm.yaml
44+
$ref: /schemas/pwm/iqs620a-pwm.yaml
4545

4646
required:
4747
- compatible

Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ properties:
3939

4040
patternProperties:
4141
"^gpio(@[0-9a-f]+)?$":
42-
$ref: ../gpio/kontron,sl28cpld-gpio.yaml
42+
$ref: /schemas/gpio/kontron,sl28cpld-gpio.yaml
4343

4444
"^hwmon(@[0-9a-f]+)?$":
45-
$ref: ../hwmon/kontron,sl28cpld-hwmon.yaml
45+
$ref: /schemas/hwmon/kontron,sl28cpld-hwmon.yaml
4646

4747
"^interrupt-controller(@[0-9a-f]+)?$":
48-
$ref: ../interrupt-controller/kontron,sl28cpld-intc.yaml
48+
$ref: /schemas/interrupt-controller/kontron,sl28cpld-intc.yaml
4949

5050
"^pwm(@[0-9a-f]+)?$":
51-
$ref: ../pwm/kontron,sl28cpld-pwm.yaml
51+
$ref: /schemas/pwm/kontron,sl28cpld-pwm.yaml
5252

5353
"^watchdog(@[0-9a-f]+)?$":
54-
$ref: ../watchdog/kontron,sl28cpld-wdt.yaml
54+
$ref: /schemas/watchdog/kontron,sl28cpld-wdt.yaml
5555

5656
required:
5757
- "#address-cells"

Documentation/devicetree/bindings/mfd/max77650.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ properties:
5353
Single string containing the name of the GPIO line.
5454

5555
regulators:
56-
$ref: ../regulator/max77650-regulator.yaml
56+
$ref: /schemas/regulator/max77650-regulator.yaml
5757

5858
charger:
59-
$ref: ../power/supply/max77650-charger.yaml
59+
$ref: /schemas/power/supply/max77650-charger.yaml
6060

6161
leds:
62-
$ref: ../leds/leds-max77650.yaml
62+
$ref: /schemas/leds/leds-max77650.yaml
6363

6464
onkey:
65-
$ref: ../input/max77650-onkey.yaml
65+
$ref: /schemas/input/max77650-onkey.yaml
6666

6767
required:
6868
- compatible

Documentation/devicetree/bindings/mfd/maxim,max77686.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ properties:
3535
maxItems: 1
3636

3737
voltage-regulators:
38-
$ref: ../regulator/maxim,max77686.yaml
38+
$ref: /schemas/regulator/maxim,max77686.yaml
3939
description:
4040
List of child nodes that specify the regulators.
4141

Documentation/devicetree/bindings/mfd/maxim,max77693.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ properties:
8181
- pwms
8282

8383
regulators:
84-
$ref: ../regulator/maxim,max77693.yaml
84+
$ref: /schemas/regulator/maxim,max77693.yaml
8585
description:
8686
List of child nodes that specify the regulators.
8787

0 commit comments

Comments
 (0)