Skip to content

Commit

Permalink
dt-bindings: memory: mtk-smi: Rename clock to clocks
Browse files Browse the repository at this point in the history
commit 5bf7fa4 upstream.

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

Fixes: 27bb0e4 ("dt-bindings: memory: mediatek: Convert SMI to DT schema")
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220113111057.29918-2-yong.wu@mediatek.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
YongWu-HF authored and gregkh committed Apr 8, 2022
1 parent 1d93e01 commit f5a5e67
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 24 deletions.
Expand Up @@ -88,10 +88,9 @@ allOf:
- mediatek,mt2701-smi-common
then:
properties:
clock:
items:
minItems: 3
maxItems: 3
clocks:
minItems: 3
maxItems: 3
clock-names:
items:
- const: apb
Expand All @@ -108,10 +107,9 @@ allOf:
required:
- mediatek,smi
properties:
clock:
items:
minItems: 3
maxItems: 3
clocks:
minItems: 3
maxItems: 3
clock-names:
items:
- const: apb
Expand All @@ -133,10 +131,9 @@ allOf:

then:
properties:
clock:
items:
minItems: 4
maxItems: 4
clocks:
minItems: 4
maxItems: 4
clock-names:
items:
- const: apb
Expand All @@ -146,10 +143,9 @@ allOf:

else: # for gen2 HW that don't have gals
properties:
clock:
items:
minItems: 2
maxItems: 2
clocks:
minItems: 2
maxItems: 2
clock-names:
items:
- const: apb
Expand Down
Expand Up @@ -79,10 +79,9 @@ allOf:

then:
properties:
clock:
items:
minItems: 3
maxItems: 3
clocks:
minItems: 3
maxItems: 3
clock-names:
items:
- const: apb
Expand All @@ -91,10 +90,9 @@ allOf:

else:
properties:
clock:
items:
minItems: 2
maxItems: 2
clocks:
minItems: 2
maxItems: 2
clock-names:
items:
- const: apb
Expand Down

0 comments on commit f5a5e67

Please sign in to comment.