Re: [PATCH v2 4/5] dt-bindings: memory: lpddr3-timings: convert to dtschema
From: Dmitry Osipenko
Date: Sun Feb 06 2022 - 06:53:13 EST
06.02.2022 14:20, Krzysztof Kozlowski пишет:
> On 05/02/2022 19:50, Dmitry Osipenko wrote:
>> 05.02.2022 15:00, Krzysztof Kozlowski пишет:
>>> + reg:
>>> + maxItems: 1
>>> + description: |
>>> + Maximum DDR clock frequency for the speed-bin, in Hz.
>>
>> Why max-freq is specified as a register? At minimum this is inconsistent
>> with the lpddr2 binding.
>
> First of all, this is a conversion, so the bindings already specified
> max-freq that way.
The conversion part looks okay to me.
> Second, I don't know. I think this was some Lukasz's workaround for
> device node without unit address, but I don't see the reason now why it
> was needed.
I see now that actually there is one exynos5422-odroid-core.dtsi that
uses the 'reg' property.
> We could unify it with DDR2 by deprecating 'reg' and introducing
> 'max-freq', in separate commit. But you know, existing bindings are
> already there...
Will be great if you could add another patch to deprecate the 'reg'.
This will prevent returning to this topic in the future if somebody will
be adding lpddr3 timings, it also will make bindings to look consistent.
Thank you!