Messages in this thread Patch in this message | | | From | Sumit Gupta <> | Subject | [Patch v2 1/2] dt-bindings: make sid and broadcast reg optional | Date | Tue, 2 Apr 2024 18:56:25 +0530 |
| |
MC SID and Broadbast channel register access is restricted for Guest VM. Make both the regions as optional for SoC's from Tegra186 onwards. Tegra MC driver will skip access to the restricted registers from Guest if the respective regions are not present in the memory-controller node of Guest DT.
Signed-off-by: Sumit Gupta <sumitg@nvidia.com> --- .../memory-controllers/nvidia,tegra186-mc.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml index 935d63d181d9..c52c259f7ec5 100644 --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml @@ -146,17 +146,17 @@ allOf: then: properties: reg: - maxItems: 6 + maxItems: 4 description: 5 memory controller channels and 1 for stream-id registers reg-names: items: - - const: sid - - const: broadcast - const: ch0 - const: ch1 - const: ch2 - const: ch3 + - const: sid + - const: broadcast - if: properties: @@ -165,13 +165,11 @@ allOf: then: properties: reg: - minItems: 18 + minItems: 16 description: 17 memory controller channels and 1 for stream-id registers reg-names: items: - - const: sid - - const: broadcast - const: ch0 - const: ch1 - const: ch2 @@ -188,6 +186,8 @@ allOf: - const: ch13 - const: ch14 - const: ch15 + - const: sid + - const: broadcast - if: properties: @@ -196,13 +196,11 @@ allOf: then: properties: reg: - minItems: 18 + minItems: 16 description: 17 memory controller channels and 1 for stream-id registers reg-names: items: - - const: sid - - const: broadcast - const: ch0 - const: ch1 - const: ch2 @@ -219,6 +217,8 @@ allOf: - const: ch13 - const: ch14 - const: ch15 + - const: sid + - const: broadcast additionalProperties: false -- 2.17.1
| |