Commit c3efac05 authored by Yixun Lan's avatar Yixun Lan Committed by Linus Walleij
Browse files

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: default avatarYixun Lan <dlan@gentoo.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: default avatarLinus Walleij <linusw@kernel.org>
parent 255b721c
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -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: |