dt-bindings: pinctrl: Drop 'phandle' properties
authorRob Herring <robh@kernel.org>
Sat, 19 Aug 2023 01:09:44 +0000 (20:09 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Aug 2023 10:30:23 +0000 (12:30 +0200)
'phandle' properties are implicitly supported on all nodes, so it
shouldn't be listed in schemas.

dtschema had a bug where 'phandle' and other implicit properties weren't
being added under 'additionalProperties' schemas. That was fixed in
v2023.07 release.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230819010946.916772-1-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 files changed:
Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml

index 35723966b70ac00d6596b786087e8cf1263d26f7..890961826c6f0716b1544912636a60dd06a4cae1 100644 (file)
@@ -135,7 +135,6 @@ additionalProperties:
         - $ref: pinmux-node.yaml#
 
       properties:
-        phandle: true
         function: true
         groups: true
         pins: true
@@ -147,8 +146,6 @@ additionalProperties:
       additionalProperties: false
 
     - type: object
-      properties:
-        phandle: true
       additionalProperties:
         type: object
         allOf:
@@ -156,7 +153,6 @@ additionalProperties:
           - $ref: pinmux-node.yaml#
 
         properties:
-          phandle: true
           function: true
           groups: true
           pins: true
index 065dedb3573a8747fb9006f3f286237c1159c158..1690c0ef553a7263dcb9452a864da59aea50b56a 100644 (file)
@@ -22,8 +22,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index f924652bef0dc4a44da8c63f61fa893a456767a8..9b7368bd3862ec4408c46496fb13d6cd89c284d4 100644 (file)
@@ -32,8 +32,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index 60a4bdf01bf27347097c63390288f830828fcf51..87b6f4f42f255427ed474570d2184a9d1edeaf97 100644 (file)
@@ -23,8 +23,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index 432ea40209a8175d0b2f5cec89487fb2edb183be..63cd743a30e002ab2f7cf4ce7030b0a71609a739 100644 (file)
@@ -24,8 +24,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index 28ae2e6d0cbc27b25e2ff1d1fa53d9aebd303f58..e99387a6da5ef8c9ec0486eac026c88e544f5ada 100644 (file)
@@ -22,8 +22,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index c0eda7848767ae58076c4ccc09b7f4815c257c77..36c8f3301a8f12c6eb7e0d4d196e83a06eb4c49f 100644 (file)
@@ -22,8 +22,6 @@ properties:
 patternProperties:
   "^pinmux(-[a-z0-9-_]+)?$":
     type: object
-    properties:
-      phandle: true
 
     # pin groups
     additionalProperties:
index 0fc3c0f52c191a44ae85bce1d526882f71260ebc..181cd1676c0a2a36d4792ef167b6af23b2dc7393 100644 (file)
@@ -107,7 +107,6 @@ additionalProperties:
         Client device subnodes use below standard properties.
 
       properties:
-        phandle: true
         function: true
         groups: true
         pins: true
@@ -127,9 +126,6 @@ additionalProperties:
       additionalProperties: false
 
     - type: object
-      properties:
-        phandle: true
-
       additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
index 83800fcf0ce484154a24dda8b9ead7c6f73db752..2bd7d47d0fdb97d91e38e1f167074af914df448f 100644 (file)
@@ -108,7 +108,6 @@ additionalProperties:
             Integers values in "pinmux" argument list are assembled as:
             ((PORT * 16 + PIN) | MUX_FUNC << 16)
 
-        phandle: true
         input-enable: true
         output-enable: true
 
@@ -118,9 +117,6 @@ additionalProperties:
       additionalProperties: false
 
     - type: object
-      properties:
-        phandle: true
-
       additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
index 9ce1a07fc015f7126a70ee6dbddb61bee5cdfcab..145c5442f268ca5977252ec327661951e443f162 100644 (file)
@@ -83,7 +83,6 @@ additionalProperties:
         Client device subnodes use below standard properties.
 
       properties:
-        phandle: true
         pinmux:
           description:
             Values are constructed from GPIO port number, pin number, and
@@ -106,9 +105,6 @@ additionalProperties:
         line-name: true
 
     - type: object
-      properties:
-        phandle: true
-
       additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
index 19d4d2facfb455b35121dbef824c4bdde3b44e95..816688580e334e0935790ad53bdeee296a78b570 100644 (file)
@@ -74,7 +74,6 @@ additionalProperties:
             offset by 10.  Additional identifiers are provided to specify the
             MDIO source peripheral.
 
-        phandle: true
         bias-disable: true
         bias-pull-up:
           description: Pull up the pin with 50 kOhm
@@ -91,9 +90,6 @@ additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
     - type: object
-      properties:
-        phandle: true
-
       additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
index c87161f2954fedd927dbe560c473cc98aee17401..cb81a17bd0b1f2294574af49db2a740fb66db86a 100644 (file)
@@ -63,7 +63,6 @@ additionalProperties:
         Client device subnodes use below standard properties.
 
       properties:
-        phandle: true
         pinmux:
           description:
             Values are constructed from GPIO port number, pin number, and
@@ -87,9 +86,6 @@ additionalProperties:
         line-name: true
 
     - type: object
-      properties:
-        phandle: true
-
       additionalProperties:
         $ref: "#/additionalProperties/anyOf/0"
 
index a6f34df82e90b1223bc1301e93af570fc78fc079..880da721a927797b6b895985cbdd1e475794b69a 100644 (file)
@@ -32,7 +32,6 @@ additionalProperties:
     - $ref: pinmux-node.yaml#
 
   properties:
-    phandle: true
     function: true
     groups: true
     pins: true
@@ -49,7 +48,6 @@ additionalProperties:
       - $ref: pinmux-node.yaml#
 
     properties:
-      phandle: true
       function: true
       groups: true
       pins: true