mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
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:
parent
ea9975c221
commit
0a4614fe85
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user