Skip to content

Commit 0a4614f

Browse files
Yixun Lanlinusw
authored andcommitted
dt-bindings: pinctrl: spacemit: fix drive-strength check warning
The problem is that one value from drive-strength may match to more than two different enum groups which lead to DT complaint, switch to use 'anyOf' to fix this kind warning. Fixes: c3efac0 ("dt-bindings: pinctrl: spacemit: convert drive strength to schema format") Signed-off-by: Yixun Lan <dlan@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reported-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent ea9975c commit 0a4614f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ patternProperties:
8080
drive-strength:
8181
description:
8282
typical current (in mA) when the output at high level.
83-
oneOf:
83+
anyOf:
8484
- enum: [ 11, 21, 32, 42 ]
8585
description: For K1 SoC, 1.8V voltage output
8686

0 commit comments

Comments
 (0)