dt-bindings: memory: tegra: Update validation for reg and reg-names
authorAshish Mhetre <amhetre@nvidia.com>
Tue, 26 Apr 2022 07:38:26 +0000 (13:08 +0530)
committerThierry Reding <treding@nvidia.com>
Fri, 29 Apr 2022 08:32:09 +0000 (10:32 +0200)
commite2ab93e59bc3c029b61a7091825f193f1a66a1a1
tree640184193fac40c320b47d0108e573eff7fd8a7a
parent3123109284176b1532874591f7c81f3837bbdc17
dt-bindings: memory: tegra: Update validation for reg and reg-names

From Tegra186 onwards, memory controller support multiple channels.
"reg" items are updated with address and size of these channels.
Tegra186 has overall 5 memory controller channels. Tegra194 and Tegra234
have overall 17 memory controller channels each.

There is one "reg" entry for memory controller stream-ID registers. So
update the "reg" property's "minItems" and "maxItems" accordingly in the
Tegra186 devicetree documentation.

Also update validation for "reg-names" added for these corresponding
"reg" items. ABI change due to new bindings is intended but backward
compatibility is preserved in driver.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml