From: Yixun Lan Date: Fri, 30 Jan 2026 11:22:15 +0000 (+0800) Subject: dt-bindings: pinctrl: spacemit: fix drive-strength check warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a4614fe85ef130ab3769afdf9d174cc9e645dea;p=thirdparty%2Flinux.git 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 --- 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