[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b638a15f-c824-0b00-bc9a-25759512b7db@gmail.com>
Date: Tue, 30 Mar 2021 18:25:51 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Rob Herring <robh+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH v1 4/6] dt-bindings: memory: tegra20: mc: Convert to
schema
30.03.2021 11:37, Krzysztof Kozlowski пишет:
>> +properties:
>> + compatible:
>> + const: nvidia,tegra20-mc-gart
>> +
>> + reg:
>> + minItems: 1
>> + maxItems: 2
> I think you always need two regs, don't you? If so, then better to use
> "description" like in
> Documentation/devicetree/bindings/example-schema.yaml to describe which
> set is for which range/purpose.
I did this because the original example from the txt binding was failing
with:
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.example.dt.yaml:
memory-controller@...0f000: reg: [[1879109632, 1024, 1476395008,
33554432]] is too short
But then I just corrected the example and forgot to change the reg
entry. I'll fix it in v2, thanks.
Powered by blists - more mailing lists