Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Linus Walleij
e77f06be cd40a1ff

-38
-4
Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.yaml
··· 135 135 - $ref: pinmux-node.yaml# 136 136 137 137 properties: 138 - phandle: true 139 138 function: true 140 139 groups: true 141 140 pins: true ··· 146 147 additionalProperties: false 147 148 148 149 - type: object 149 - properties: 150 - phandle: true 151 150 additionalProperties: 152 151 type: object 153 152 allOf: ··· 153 156 - $ref: pinmux-node.yaml# 154 157 155 158 properties: 156 - phandle: true 157 159 function: true 158 160 groups: true 159 161 pins: true
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml
··· 22 22 patternProperties: 23 23 "^pinmux(-[a-z0-9-_]+)?$": 24 24 type: object 25 - properties: 26 - phandle: true 27 25 28 26 # pin groups 29 27 additionalProperties:
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml
··· 32 32 patternProperties: 33 33 "^pinmux(-[a-z0-9-_]+)?$": 34 34 type: object 35 - properties: 36 - phandle: true 37 35 38 36 # pin groups 39 37 additionalProperties:
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml
··· 23 23 patternProperties: 24 24 "^pinmux(-[a-z0-9-_]+)?$": 25 25 type: object 26 - properties: 27 - phandle: true 28 26 29 27 # pin groups 30 28 additionalProperties:
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml
··· 24 24 patternProperties: 25 25 "^pinmux(-[a-z0-9-_]+)?$": 26 26 type: object 27 - properties: 28 - phandle: true 29 27 30 28 # pin groups 31 29 additionalProperties:
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml
··· 22 22 patternProperties: 23 23 "^pinmux(-[a-z0-9-_]+)?$": 24 24 type: object 25 - properties: 26 - phandle: true 27 25 28 26 # pin groups 29 27 additionalProperties:
-2
Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml
··· 22 22 patternProperties: 23 23 "^pinmux(-[a-z0-9-_]+)?$": 24 24 type: object 25 - properties: 26 - phandle: true 27 25 28 26 # pin groups 29 27 additionalProperties:
-4
Documentation/devicetree/bindings/pinctrl/renesas,pfc.yaml
··· 107 107 Client device subnodes use below standard properties. 108 108 109 109 properties: 110 - phandle: true 111 110 function: true 112 111 groups: true 113 112 pins: true ··· 126 127 additionalProperties: false 127 128 128 129 - type: object 129 - properties: 130 - phandle: true 131 - 132 130 additionalProperties: 133 131 $ref: "#/additionalProperties/anyOf/0" 134 132
-4
Documentation/devicetree/bindings/pinctrl/renesas,rza1-ports.yaml
··· 108 108 Integers values in "pinmux" argument list are assembled as: 109 109 ((PORT * 16 + PIN) | MUX_FUNC << 16) 110 110 111 - phandle: true 112 111 input-enable: true 113 112 output-enable: true 114 113 ··· 117 118 additionalProperties: false 118 119 119 120 - type: object 120 - properties: 121 - phandle: true 122 - 123 121 additionalProperties: 124 122 $ref: "#/additionalProperties/anyOf/0" 125 123
-4
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml
··· 83 83 Client device subnodes use below standard properties. 84 84 85 85 properties: 86 - phandle: true 87 86 pinmux: 88 87 description: 89 88 Values are constructed from GPIO port number, pin number, and ··· 105 106 line-name: true 106 107 107 108 - type: object 108 - properties: 109 - phandle: true 110 - 111 109 additionalProperties: 112 110 $ref: "#/additionalProperties/anyOf/0" 113 111
-4
Documentation/devicetree/bindings/pinctrl/renesas,rzn1-pinctrl.yaml
··· 74 74 offset by 10. Additional identifiers are provided to specify the 75 75 MDIO source peripheral. 76 76 77 - phandle: true 78 77 bias-disable: true 79 78 bias-pull-up: 80 79 description: Pull up the pin with 50 kOhm ··· 90 91 $ref: "#/additionalProperties/anyOf/0" 91 92 92 93 - type: object 93 - properties: 94 - phandle: true 95 - 96 94 additionalProperties: 97 95 $ref: "#/additionalProperties/anyOf/0" 98 96
-4
Documentation/devicetree/bindings/pinctrl/renesas,rzv2m-pinctrl.yaml
··· 63 63 Client device subnodes use below standard properties. 64 64 65 65 properties: 66 - phandle: true 67 66 pinmux: 68 67 description: 69 68 Values are constructed from GPIO port number, pin number, and ··· 86 87 line-name: true 87 88 88 89 - type: object 89 - properties: 90 - phandle: true 91 - 92 90 additionalProperties: 93 91 $ref: "#/additionalProperties/anyOf/0" 94 92
-2
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml
··· 32 32 - $ref: pinmux-node.yaml# 33 33 34 34 properties: 35 - phandle: true 36 35 function: true 37 36 groups: true 38 37 pins: true ··· 48 49 - $ref: pinmux-node.yaml# 49 50 50 51 properties: 51 - phandle: true 52 52 function: true 53 53 groups: true 54 54 pins: true