diff options
| author | Yixun Lan <dlan@gentoo.org> | 2026-01-02 10:00:22 +0300 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-01-07 17:08:13 +0300 |
| commit | c3efac0592f88ab48c8eef028268e6514908be51 (patch) | |
| tree | 78211a0df844726efd91ffc5908f4b895bb94424 | |
| parent | 255b721c96046d4c57fa2268e4c72607868ce91f (diff) | |
| download | linux-c3efac0592f88ab48c8eef028268e6514908be51.tar.xz | |
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>
| -rw-r--r-- | Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml index d80e88aa07b4..609d7db97822 100644 --- a/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml @@ -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: | |
