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

dt-bindings: pinctrl: spacemit: add K3 SoC support



Add new compatible string for SpacemiT K3 SoC, the pinctrl IP shares
almost same logic with previous K1 generation, but has different register
offset and pin configuration, for example the drive strength and
schmitter trigger settings has been changed.

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 c3efac05
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -11,7 +11,9 @@ maintainers:

properties:
  compatible:
    const: spacemit,k1-pinctrl
    enum:
      - spacemit,k1-pinctrl
      - spacemit,k3-pinctrl

  reg:
    items:
@@ -81,6 +83,12 @@ patternProperties:
              - enum: [ 7, 10, 13, 16, 19, 23, 26, 29 ]
                description: For K1 SoC, 3.3V voltage output

              - enum: [ 2, 4, 6, 7, 9, 11, 13, 14, 21, 23, 25, 26, 28, 30, 31, 33 ]
                description: For K3 SoC, 1.8V voltage output

              - enum: [ 3, 5, 7, 9, 11, 13, 15, 17, 25, 27, 29, 31, 33, 35, 37, 38 ]
                description: For K3 SoC, 1.8V voltage output

          input-schmitt:
            description: |
              typical threshold for schmitt trigger.