From 0a4614fe85ef130ab3769afdf9d174cc9e645dea Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Fri, 30 Jan 2026 19:22:15 +0800 Subject: [PATCH] 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 Acked-by: Conor Dooley Reported-by: Conor Dooley Signed-off-by: Linus Walleij --- .../devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3