mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
BACKPORT: 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". Bug: 254441685 Fixes:27bb0e4285("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> (cherry picked from commit5bf7fa4837) Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: I610038abd7ca76fa3950268a5ae870db5ea1025a
This commit is contained in:
committed by
Treehugger Robot
parent
851451819e
commit
33e4819112
@@ -82,10 +82,9 @@ allOf:
|
|||||||
- mediatek,mt2701-smi-common
|
- mediatek,mt2701-smi-common
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
clock:
|
clocks:
|
||||||
items:
|
minItems: 3
|
||||||
minItems: 3
|
maxItems: 3
|
||||||
maxItems: 3
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: apb
|
- const: apb
|
||||||
@@ -101,10 +100,9 @@ allOf:
|
|||||||
|
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
clock:
|
clocks:
|
||||||
items:
|
minItems: 4
|
||||||
minItems: 4
|
maxItems: 4
|
||||||
maxItems: 4
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: apb
|
- const: apb
|
||||||
@@ -114,10 +112,9 @@ allOf:
|
|||||||
|
|
||||||
else: # for gen2 HW that don't have gals
|
else: # for gen2 HW that don't have gals
|
||||||
properties:
|
properties:
|
||||||
clock:
|
clocks:
|
||||||
items:
|
minItems: 2
|
||||||
minItems: 2
|
maxItems: 2
|
||||||
maxItems: 2
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: apb
|
- const: apb
|
||||||
|
|||||||
@@ -77,10 +77,9 @@ allOf:
|
|||||||
|
|
||||||
then:
|
then:
|
||||||
properties:
|
properties:
|
||||||
clock:
|
clocks:
|
||||||
items:
|
minItems: 3
|
||||||
minItems: 3
|
maxItems: 3
|
||||||
maxItems: 3
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: apb
|
- const: apb
|
||||||
@@ -89,10 +88,9 @@ allOf:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
properties:
|
properties:
|
||||||
clock:
|
clocks:
|
||||||
items:
|
minItems: 2
|
||||||
minItems: 2
|
maxItems: 2
|
||||||
maxItems: 2
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: apb
|
- const: apb
|
||||||
|
|||||||
Reference in New Issue
Block a user