Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 27bb0e42855a ("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>

authored by

Yong Wu and committed by
Krzysztof Kozlowski
5bf7fa48 e783362e

+18 -24
+12 -16
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml
··· 88 88 - mediatek,mt2701-smi-common 89 89 then: 90 90 properties: 91 - clock: 92 - items: 93 - minItems: 3 94 - maxItems: 3 91 + clocks: 92 + minItems: 3 93 + maxItems: 3 95 94 clock-names: 96 95 items: 97 96 - const: apb ··· 107 108 required: 108 109 - mediatek,smi 109 110 properties: 110 - clock: 111 - items: 112 - minItems: 3 113 - maxItems: 3 111 + clocks: 112 + minItems: 3 113 + maxItems: 3 114 114 clock-names: 115 115 items: 116 116 - const: apb ··· 131 133 132 134 then: 133 135 properties: 134 - clock: 135 - items: 136 - minItems: 4 137 - maxItems: 4 136 + clocks: 137 + minItems: 4 138 + maxItems: 4 138 139 clock-names: 139 140 items: 140 141 - const: apb ··· 143 146 144 147 else: # for gen2 HW that don't have gals 145 148 properties: 146 - clock: 147 - items: 148 - minItems: 2 149 - maxItems: 2 149 + clocks: 150 + minItems: 2 151 + maxItems: 2 150 152 clock-names: 151 153 items: 152 154 - const: apb
+6 -8
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml
··· 79 79 80 80 then: 81 81 properties: 82 - clock: 83 - items: 84 - minItems: 3 85 - maxItems: 3 82 + clocks: 83 + minItems: 3 84 + maxItems: 3 86 85 clock-names: 87 86 items: 88 87 - const: apb ··· 90 91 91 92 else: 92 93 properties: 93 - clock: 94 - items: 95 - minItems: 2 96 - maxItems: 2 94 + clocks: 95 + minItems: 2 96 + maxItems: 2 97 97 clock-names: 98 98 items: 99 99 - const: apb