Commit f3d96129 authored by Robert Marko's avatar Robert Marko Committed by Jassi Brar
Browse files

dt-bindings: mailbox: qcom: set correct #clock-cells



IPQ6018 and IPQ8074 require #clock-cells to be set to 1 as their APSS
clock driver provides multiple clock outputs.

So allow setting 1 as #clock-cells and check that its set to 1 for IPQ6018
and IPQ8074, check others for 0 as its currently.

Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 0d1aadfe
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ properties:
    const: 1

  '#clock-cells':
    const: 0
    enum: [0, 1]

  clock-names:
    minItems: 2
@@ -100,6 +100,21 @@ allOf:
      properties:
        clocks:
          maxItems: 3
  - if:
      properties:
        compatible:
          enum:
            - qcom,ipq6018-apcs-apps-global
            - qcom,ipq8074-apcs-apps-global
    then:
      properties:
        '#clock-cells':
          const: 1
    else:
      properties:
        '#clock-cells':
          const: 0

examples:

  # Example apcs with msm8996