Commit dff9f3fb authored by André Draszik's avatar André Draszik Committed by Krzysztof Kozlowski
Browse files

dt-bindings: pinctrl: samsung: google,gs101-pinctrl needs a clock



The pin controller on Google Tensor gs101 requires a bus clock for
register access to work. Add it.

Signed-off-by: default avatarAndré Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20240426-samsung-pinctrl-busclock-v3-1-adb8664b8a7e@linaro.org


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 4184e491
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -73,6 +73,13 @@ properties:
    minItems: 1
    maxItems: 2

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: pclk

  wakeup-interrupt-controller:
    $ref: samsung,pinctrl-wakeup-interrupt.yaml

@@ -120,6 +127,20 @@ required:

allOf:
  - $ref: pinctrl.yaml#
  - if:
      properties:
        compatible:
          contains:
            const: google,gs101-pinctrl
    then:
      required:
        - clocks
        - clock-names
    else:
      properties:
        clocks: false
        clock-names: false

  - if:
      properties:
        compatible: