Commit 5bf7fa48 authored by Yong Wu's avatar Yong Wu Committed by Krzysztof Kozlowski
Browse files

dt-bindings: memory: mtk-smi: Rename clock to clocks



The property "clock" should be rename to "clocks", and delete the "items",
the minItems/maxItems should not be put under "items".

Fixes: 27bb0e42 ("dt-bindings: memory: mediatek: Convert SMI to DT schema")
Signed-off-by: default avatarYong Wu <yong.wu@mediatek.com>
Acked-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220113111057.29918-2-yong.wu@mediatek.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
parent e783362e
Loading
Loading
Loading
Loading
+12 −16
Original line number Diff line number Diff line
@@ -88,8 +88,7 @@ allOf:
              - mediatek,mt2701-smi-common
    then:
      properties:
        clock:
          items:
        clocks:
          minItems: 3
          maxItems: 3
        clock-names:
@@ -108,8 +107,7 @@ allOf:
      required:
        - mediatek,smi
      properties:
        clock:
          items:
        clocks:
          minItems: 3
          maxItems: 3
        clock-names:
@@ -133,8 +131,7 @@ allOf:

    then:
      properties:
        clock:
          items:
        clocks:
          minItems: 4
          maxItems: 4
        clock-names:
@@ -146,8 +143,7 @@ allOf:

    else:  # for gen2 HW that don't have gals
      properties:
        clock:
          items:
        clocks:
          minItems: 2
          maxItems: 2
        clock-names:
+6 −8
Original line number Diff line number Diff line
@@ -79,8 +79,7 @@ allOf:

    then:
      properties:
        clock:
          items:
        clocks:
          minItems: 3
          maxItems: 3
        clock-names:
@@ -91,8 +90,7 @@ allOf:

    else:
      properties:
        clock:
          items:
        clocks:
          minItems: 2
          maxItems: 2
        clock-names: