Commit 0a4614fe authored by Yixun Lan's avatar Yixun Lan Committed by Linus Walleij
Browse files

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: c3efac05 ("dt-bindings: pinctrl: spacemit: convert drive strength to schema format")
Signed-off-by: default avatarYixun Lan <dlan@kernel.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reported-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarLinus Walleij <linusw@kernel.org>
parent ea9975c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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