[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5b24cc4c-3091-a044-612e-43024bc512a5@canonical.com>
Date: Wed, 6 Oct 2021 19:23:56 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Dmitry Osipenko <digetx@...il.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 v4 2/7] dt-bindings: memory: lpddr2: Convert to schema
On 06/10/2021 17:44, Dmitry Osipenko wrote:
> 06.10.2021 18:41, Dmitry Osipenko пишет:
>> 06.10.2021 13:57, Krzysztof Kozlowski пишет:
>>>> + density:
>>>> + description: |
>>>> + Density in megabits of SDRAM chip. Obtained from device datasheet.
>>> You need here a type/ref, so uint32.
>>>
>>
>> The type is uint32 by default. I can add it, but it's not really necessary.
>>
>
> You may grep bindings for 'enum: [' to see that nobody is specifying the
> type.
>
Just because everyone makes a mistake, is not a proof it should be done
like that. Please see example schema and vendor,int-property.
AFAIR, only properties defined by schema (directly or by unit suffix,
e.g. microvolt) do not need types.
Best regards,
Krzysztof
Powered by blists - more mailing lists