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: c3efac0592 ("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>
This commit is contained in:
Yixun Lan 2026-01-30 19:22:15 +08:00 committed by Linus Walleij
parent ea9975c221
commit 0a4614fe85

View File

@ -80,7 +80,7 @@ patternProperties:
drive-strength:
description:
typical current (in mA) when the output at high level.
oneOf:
anyOf:
- enum: [ 11, 21, 32, 42 ]
description: For K1 SoC, 1.8V voltage output