Skip to content

Commit 66c00f5

Browse files
pcercueilinusw
authored andcommitted
dt-bindings: ingenic,pinctrl: Support pinmux/pinconf nodes
Add YAML to describe the pinmux/pinconf sub-nodes of the pinctrl IP on Ingenic SoCs. Signed-off-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 4234854 commit 66c00f5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,46 @@ required:
110110
- "#address-cells"
111111
- "#size-cells"
112112

113+
additionalProperties:
114+
anyOf:
115+
- type: object
116+
allOf:
117+
- $ref: pincfg-node.yaml#
118+
- $ref: pinmux-node.yaml#
119+
120+
properties:
121+
phandle: true
122+
function: true
123+
groups: true
124+
pins: true
125+
bias-disable: true
126+
bias-pull-up: true
127+
bias-pull-down: true
128+
output-low: true
129+
output-high: true
130+
additionalProperties: false
131+
132+
- type: object
133+
properties:
134+
phandle: true
135+
additionalProperties:
136+
type: object
137+
allOf:
138+
- $ref: pincfg-node.yaml#
139+
- $ref: pinmux-node.yaml#
140+
141+
properties:
142+
phandle: true
143+
function: true
144+
groups: true
145+
pins: true
146+
bias-disable: true
147+
bias-pull-up: true
148+
bias-pull-down: true
149+
output-low: true
150+
output-high: true
151+
additionalProperties: false
152+
113153
examples:
114154
- |
115155
pin-controller@10010000 {

0 commit comments

Comments
 (0)