Re: [PATCH v2 2/5] dt-bindings: arm: msm: Add bindings for multi channel DDR in LLCC

From: Krzysztof Kozlowski
Date: Thu Apr 06 2023 - 05:35:02 EST


On 06/04/2023 11:19, Komal Bajaj wrote:
>
>>>>
>>>> interrupts:
>>>> maxItems: 1
>>>>
>>>> + multi-ch-bit-off:
>>>> + items:
>>>> + - description: Specifies the offset in bits into the multi_channel_register
>>>> + and the number of bits used to decide which LLCC configuration
>>>> + to use
>>> There are here few issues.
>>> First, I don't fully understand the property. What is an LLCC
>>> configuration? Like some fused values?
>
> There are different configuration for LLCC based on the number of
> DDR channel it uses. Here, we are basically trying to get information
> about the same.
>
>>>
>>> Second, don't make it a register specific, it will not scale easily to
>>> any new version of this interface. Although how this should look like
>>> depends on what is it.
>
> LLCC driver can only get DDR channel information from the register.

And why would that exactly matter to DT? How does it solve my concern
that your approach does not scale?

Best regards,
Krzysztof