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>
master
Yixun Lan 2026-01-02 15:00:22 +08:00 committed by Linus Walleij
parent 255b721c96
commit c3efac0592
1 changed files with 8 additions and 4 deletions

View File

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