Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Yixun Lan and committed by
Linus Walleij
0a4614fe ea9975c2

+1 -1
+1 -1
Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml
··· 80 80 drive-strength: 81 81 description: 82 82 typical current (in mA) when the output at high level. 83 - oneOf: 83 + anyOf: 84 84 - enum: [ 11, 21, 32, 42 ] 85 85 description: For K1 SoC, 1.8V voltage output 86 86