]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: pinctrl: spacemit: fix drive-strength check warning
authorYixun Lan <dlan@kernel.org>
Fri, 30 Jan 2026 11:22:15 +0000 (19:22 +0800)
committerLinus Walleij <linusw@kernel.org>
Tue, 3 Feb 2026 00:04:51 +0000 (01:04 +0100)
commit0a4614fe85ef130ab3769afdf9d174cc9e645dea
tree91aae61764b0faac38f8c926e81103f92492810d
parentea9975c221151b9541458b2038593f5863889ee9
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>
Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml