Skip to content

Commit e77f06b

Browse files
robherringlinusw
authored andcommitted
dt-bindings: pinctrl: Drop 'phandle' properties
'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>
1 parent cd40a1f commit e77f06b

13 files changed

+0
-38
lines changed

Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ additionalProperties:
135135
- $ref: pinmux-node.yaml#
136136

137137
properties:
138-
phandle: true
139138
function: true
140139
groups: true
141140
pins: true
@@ -147,16 +146,13 @@ additionalProperties:
147146
additionalProperties: false
148147

149148
- type: object
150-
properties:
151-
phandle: true
152149
additionalProperties:
153150
type: object
154151
allOf:
155152
- $ref: pincfg-node.yaml#
156153
- $ref: pinmux-node.yaml#
157154

158155
properties:
159-
phandle: true
160156
function: true
161157
groups: true
162158
pins: true

Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ properties:
2222
patternProperties:
2323
"^pinmux(-[a-z0-9-_]+)?$":
2424
type: object
25-
properties:
26-
phandle: true
2725

2826
# pin groups
2927
additionalProperties:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ properties:
3232
patternProperties:
3333
"^pinmux(-[a-z0-9-_]+)?$":
3434
type: object
35-
properties:
36-
phandle: true
3735

3836
# pin groups
3937
additionalProperties:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ properties:
2323
patternProperties:
2424
"^pinmux(-[a-z0-9-_]+)?$":
2525
type: object
26-
properties:
27-
phandle: true
2826

2927
# pin groups
3028
additionalProperties:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ properties:
2424
patternProperties:
2525
"^pinmux(-[a-z0-9-_]+)?$":
2626
type: object
27-
properties:
28-
phandle: true
2927

3028
# pin groups
3129
additionalProperties:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ properties:
2222
patternProperties:
2323
"^pinmux(-[a-z0-9-_]+)?$":
2424
type: object
25-
properties:
26-
phandle: true
2725

2826
# pin groups
2927
additionalProperties:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ properties:
2222
patternProperties:
2323
"^pinmux(-[a-z0-9-_]+)?$":
2424
type: object
25-
properties:
26-
phandle: true
2725

2826
# pin groups
2927
additionalProperties:

Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ additionalProperties:
107107
Client device subnodes use below standard properties.
108108

109109
properties:
110-
phandle: true
111110
function: true
112111
groups: true
113112
pins: true
@@ -127,9 +126,6 @@ additionalProperties:
127126
additionalProperties: false
128127

129128
- type: object
130-
properties:
131-
phandle: true
132-
133129
additionalProperties:
134130
$ref: "#/additionalProperties/anyOf/0"
135131

Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ additionalProperties:
108108
Integers values in "pinmux" argument list are assembled as:
109109
((PORT * 16 + PIN) | MUX_FUNC << 16)
110110
111-
phandle: true
112111
input-enable: true
113112
output-enable: true
114113

@@ -118,9 +117,6 @@ additionalProperties:
118117
additionalProperties: false
119118

120119
- type: object
121-
properties:
122-
phandle: true
123-
124120
additionalProperties:
125121
$ref: "#/additionalProperties/anyOf/0"
126122

Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ additionalProperties:
8383
Client device subnodes use below standard properties.
8484

8585
properties:
86-
phandle: true
8786
pinmux:
8887
description:
8988
Values are constructed from GPIO port number, pin number, and
@@ -106,9 +105,6 @@ additionalProperties:
106105
line-name: true
107106

108107
- type: object
109-
properties:
110-
phandle: true
111-
112108
additionalProperties:
113109
$ref: "#/additionalProperties/anyOf/0"
114110

0 commit comments

Comments
 (0)