Commit 1482489b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: default avatarMatti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20240503072116.12430-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 53d3ff7b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ description: |
  regulators.

allOf:
  - $ref: ../input/input.yaml
  - $ref: /schemas/input/input.yaml

properties:
  compatible:
@@ -57,7 +57,7 @@ properties:

      switchldo1:
        type: object
        $ref: ../regulator/regulator.yaml
        $ref: /schemas/regulator/regulator.yaml

        properties:
          regulator-name: true
@@ -76,7 +76,7 @@ properties:

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

        properties:
          regulator-name: true
+4 −4
Original line number Diff line number Diff line
@@ -34,19 +34,19 @@ properties:

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

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

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

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

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

additionalProperties: false

+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ properties:

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

additionalProperties: false

+3 −3
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ properties:
  clock-controller:
    # Child node
    type: object
    $ref: ../clock/canaan,k210-clk.yaml
    $ref: /schemas/clock/canaan,k210-clk.yaml
    description:
      Clock controller for the SoC clocks. This child node definition
      should follow the bindings specified in
@@ -45,7 +45,7 @@ properties:
  reset-controller:
    # Child node
    type: object
    $ref: ../reset/canaan,k210-rst.yaml
    $ref: /schemas/reset/canaan,k210-rst.yaml
    description:
      Reset controller for the SoC. This child node definition
      should follow the bindings specified in
@@ -54,7 +54,7 @@ properties:
  syscon-reboot:
    # Child node
    type: object
    $ref: ../power/reset/syscon-reboot.yaml
    $ref: /schemas/power/reset/syscon-reboot.yaml
    description:
      Reboot method for the SoC. This child node definition
      should follow the bindings specified in
+2 −2
Original line number Diff line number Diff line
@@ -42,10 +42,10 @@ required:

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

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

additionalProperties: false

Loading