dt-bindings: pinctrl: spacemit: convert drive strength to schema format

In order to better extend the pinctrl support for future new SoC, convert
drive strength setting from free form text to more standard schema format.

Signed-off-by: Yixun Lan <dlan@gentoo.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Yixun Lan 2026-01-02 15:00:22 +08:00 committed by Linus Walleij
parent 255b721c96
commit c3efac0592

View File

@ -72,10 +72,14 @@ patternProperties:
enum: [ 0, 1 ] enum: [ 0, 1 ]
drive-strength: drive-strength:
description: | description:
typical current when output high level. typical current (in mA) when the output at high level.
1.8V output: 11, 21, 32, 42 (mA) oneOf:
3.3V output: 7, 10, 13, 16, 19, 23, 26, 29 (mA) - enum: [ 11, 21, 32, 42 ]
description: For K1 SoC, 1.8V voltage output
- enum: [ 7, 10, 13, 16, 19, 23, 26, 29 ]
description: For K1 SoC, 3.3V voltage output
input-schmitt: input-schmitt:
description: | description: |