Re: [PATCH v2 4/5] dt-bindings: memory: lpddr3-timings: convert to dtschema

From: Krzysztof Kozlowski
Date: Sun Feb 06 2022 - 06:33:46 EST


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.
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.

We could unify it with DDR2 by deprecating 'reg' and introducing
'max-freq', in separate commit. But you know, existing bindings are
already there...

Best regards,
Krzysztof