[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d26f9661-3e50-4a72-9097-fe63a27503f1@linaro.org>
Date: Mon, 22 Apr 2024 09:02:08 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Sumit Gupta <sumitg@...dia.com>, robh@...nel.org, conor+dt@...nel.org,
maz@...nel.org, mark.rutland@....com, treding@...dia.com,
jonathanh@...dia.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org, amhetre@...dia.com, bbasu@...dia.com
Subject: Re: [Patch v3 1/2] dt-bindings: make sid and broadcast reg optional
On 12/04/2024 15:05, Sumit Gupta wrote:
> MC SID and Broadbast channel register access is restricted for Guest VM.
Broadcast
> Make both the regions as optional for SoC's from Tegra186 onwards.
onward?
> 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.
>
> Suggested-by: Thierry Reding <treding@...dia.com>
> Signed-off-by: Sumit Gupta <sumitg@...dia.com>
> ---
> .../nvidia,tegra186-mc.yaml | 95 ++++++++++---------
> 1 file changed, 49 insertions(+), 46 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..e0bd013ecca3 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra186-mc.yaml
> @@ -34,11 +34,11 @@ properties:
> - nvidia,tegra234-mc
>
> reg:
> - minItems: 6
> + minItems: 4
> maxItems: 18
>
> reg-names:
> - minItems: 6
> + minItems: 4
> maxItems: 18
>
> interrupts:
> @@ -151,12 +151,13 @@ allOf:
>
> reg-names:
> items:
> - - const: sid
> - - const: broadcast
> - - const: ch0
> - - const: ch1
> - - const: ch2
> - - const: ch3
> + enum:
> + - sid
> + - broadcast
> + - ch0
> + - ch1
> + - ch2
> + - ch3
I understand why sid and broadcast are becoming optional, but why order
of the rest is now fully flexible?
This does not even make sid/broadcast optional, but ch0!
Best regards,
Krzysztof
Powered by blists - more mailing lists