summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@kernel.org>2026-01-30 14:22:15 +0300
committerLinus Walleij <linusw@kernel.org>2026-02-03 03:04:51 +0300
commit0a4614fe85ef130ab3769afdf9d174cc9e645dea (patch)
tree91aae61764b0faac38f8c926e81103f92492810d
parentea9975c221151b9541458b2038593f5863889ee9 (diff)
downloadlinux-0a4614fe85ef130ab3769afdf9d174cc9e645dea.tar.xz
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: c3efac0592f8 ("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>
-rw-r--r--Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
index ebcbaf4d85bb..3e734aeb01cc 100644
--- a/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
@@ -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