Commit c09acbc4 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Linus Walleij
Browse files

dt-bindings: pinctrl: use pinctrl.yaml



Also fix some examples to avoid warnings like:
brcm,ns-pinmux.example.dt.yaml: pin-controller@1800c1c0: $nodename:0: 'pin-controller@1800c1c0' does not match '^pinctrl|pinmux@[0-9a-f]+$'

Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211202063216.24439-1-zajec5@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1288cadc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -184,6 +184,9 @@ patternProperties:

    additionalProperties: false

allOf:
  - $ref: "pinctrl.yaml#"

required:
  - compatible
  - reg
+1 −0
Original line number Diff line number Diff line
@@ -147,6 +147,7 @@ allOf:
  # boards are defining it at the moment so it would generate a lot of
  # warnings.

  - $ref: "pinctrl.yaml#"
  - if:
      properties:
        compatible:
+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@ patternProperties:

    additionalProperties: false

allOf:
  - $ref: "pinctrl.yaml#"

required:
  - compatible
  - reg
+3 −0
Original line number Diff line number Diff line
@@ -50,6 +50,9 @@ patternProperties:
                  TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM,
                  VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2]

allOf:
  - $ref: "pinctrl.yaml#"

required:
  - compatible

+3 −0
Original line number Diff line number Diff line
@@ -62,6 +62,9 @@ patternProperties:
                  USB11BHID, USB2AD, USB2AH, USB2BD, USB2BH, USBCKI, VGABIOSROM, VGAHS,
                  VGAVS, VPI24, VPO, WDTRST1, WDTRST2]

allOf:
  - $ref: "pinctrl.yaml#"

required:
  - compatible
  - aspeed,external-nodes
Loading